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,431 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
See the comments I added to the problem.
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

762 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

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now