Go Premium for a chance to win a PS4. Enter to Win

x
?
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
Medium Priority
?
5,460 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 750 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

NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

Question has a verified solution.

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

Hi all, It is important and often overlooked to understand “Database properties”. Often we see questions about "log files" or "where is the database" and one of the easiest ways to get general information about your database is to use “Database p…
Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…

885 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