Solved

SQL Server 2008 Reporting Services client rendering error: Object reference not set to an instance of an object.

Posted on 2008-10-24
4
5,440 Views
Last Modified: 2010-08-05
I have just installed Windows Server 2008, SQL Server 2008 and VisualStudio Team Suite 2008, applied all updates, including hot fix KB956717.  When I try to render any Reporting Services report via the /ReportServer URL or via the preview in the Business Intelligence/Visual Studio, I get:
"An error occurred during client rendering. Object reference not set to an instance of an object."
When I try to run a report via the /Reports (Report Manager) URL, I get:
"An error occurred during client rendering.
An error has occurred during report processing.
Could not load file or assembly 'Microsoft.ReportingServices.Modeling, Version=10.0.0.0, Culture=neutral, PublicKeyToken=xxxxxxxxxxxxxxxx' or one of its dependencies. Access is denied."
0
Comment
Question by:MAGLOCLEN
  • 3
4 Comments
 
LVL 3

Accepted Solution

by:
richard_crist earned 250 total points
ID: 22813481
This is an educated guess on my part based on my experience with .NET and Windows development, which is not extensive.  It sounds like you have a directory or file permissions problem where you do not have access to the directory or files (I'll take the slap for obviousness now to get it out of the way).  What login or user account did you use to install the software and what login or user account are you using to run the reports?  When using the URL I would suppose that the IIS web server "username" is doing the work.  This may be the same case in the Visual Studio environment if it is also using the URL access method by default.  I would check permissions of the directories and/or files where the assemblies are stored and see if any obvious permissions settings conflicts show up with regards to whatever username is running the reports, whether it be your username or an IIS login account.

A Windows expert may be able to answer this just by seeing the error you mention above.
0
 

Author Comment

by:MAGLOCLEN
ID: 22851126
I already suspected a security problem and fixed it by reinstalling everything again from scratch, being careful not to change the accounts used for anything, once I specified them during the installation process.
0
 

Author Comment

by:MAGLOCLEN
ID: 22851187
By the way, Reporting Services 2008 uses its own limited web server, not IIS, which was used for Reporting Services 2005.  This has caused a number of related problems, other than the one I posted, that Microsoft needs to fix.
0
 

Author Closing Comment

by:MAGLOCLEN
ID: 31509805
See the comments I added to the problem.
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Error Creating Foreign Keys in SQL Database 7 45
Help  needed 3 36
SQL 2008 R2 syntax 11 36
TSQL Challenge... 7 37
There have been several questions about Large Transaction Log Files in SQL Server 2008, and how to get rid of them when disk space has become critical. This article will explain how to disable full recovery and implement simple recovery that carries…
How to leverage one TLS certificate to encrypt Microsoft SQL traffic and Remote Desktop Services, versus creating multiple tickets for the same server.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question