Business Intelligence Question Forum

Do you have questions about SQL Server, Power BI, Azure, or anything else business intelligence related?  You can use this forum to ask technical questions and receive responses from members of the BIDN community.  As you post you gain the permissions to vote up or down, vote on questions or answers and moderate the direction of the forums.

Note: SPAMMING or advertising is strictly prohibited and will result in your account being terminated and your IP address banned. SPAM is taken seriously and is immediately removed by administrators.

SSRS 'PageName' is giving 'Object reference...' error


I am using Local report processing with RDLC files and I am able to break the tablix into different sheets using 'PageBreak'.
But the sheet names are coming as 'Sheet 1', 'Sheet 2', ...

The initial tag of my RDLC file is as below:

When I set the 'PageName', then the tag is changing to

If the report is saved as excel from the 'Preview' section, then the sheet names are coming correctly. But when the same report is rendered through my application
'Object reference not set to an instance of object' exception is coming.

For designing the reports I am using the SQL Server Business Intelligence Stuido of version 2008. The referenced dll for client processing is 'Microsoft.ReportViewer.WebForms.dll' of version ''.

Please let me know if I missed something.

asked 2/14/2017

0 Answers

Your Answer

In order to provide an answer to this question, you must Login

I am flagging this question because...

10 inform moderator flags remaining

I am deleting this question because...

I am flagging this answer because...

10 inform moderator flags remaining

Flagging a Post

You have already flagged this post. Clicking "Remove Flag" below will remove your flag, thus reducing the count by one as well.

I am deleting this answer because...