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,448 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

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

I have written a PowerShell script to "walk" the security structure of each SQL instance to find:         Each Login (Windows or SQL)             * Its Server Roles             * Every database to which the login is mapped             * The associated "Database User" for this …
After restoring a Microsoft SQL Server database (.bak) from backup or attaching .mdf file, you may run into "Error '15023' User or role already exists in the current database" when you use the "User Mapping" SQL Management Studio functionality to al…
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…

617 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