Solved

Subreport error SSRS 2008

Posted on 2009-05-11
2
1,135 Views
Last Modified: 2012-05-06
Hi Experts,

I have a main report with two subreports. I have code that hides a subreport if no data is present. There will never be data for both subreports at any one time. The report works perfectly if one or other subreports are on the main report, but returns an error if both are present. Both share the same parent record from the main form as a single parameter.

Error message is:

"An error occurred during local report processing.
Object reference not set to an instance of an object."

What is the issue here?


Kelvin
0
Comment
Question by:Kelvin Sparks
2 Comments
 
LVL 46

Expert Comment

by:tbsgadi
ID: 24353542
Might be something to do with the cache data setting.
0
 
LVL 22

Accepted Solution

by:
Kelvin Sparks earned 0 total points
ID: 24363012
Ended up being an issue with an expression to determine which was hidden.
0

Featured Post

Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

Question has a verified solution.

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

Suggested Solutions

Everyone has problem when going to load data into Data warehouse (EDW). They all need to confirm that data quality is good but they don't no how to proceed. Microsoft has provided new task within SSIS 2008 called "Data Profiler Task". It solve th…
Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

820 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