Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

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,450 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 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

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

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

     When we have to pass multiple rows of data to SQL Server, the developers either have to send one row at a time or come up with other workarounds to meet requirements like using XML to pass data, which is complex and tedious to use. There is a …
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…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

715 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