The one stop shop for FIXING your Reporting Service's Issues

Here you can find most of the details regarding the reporting service troubleshooting on different scenarios.

Report definition not specified error with RDLC report

Report definition not specified error with RDLC report

  • Comments 1

You’ve a visual studio 2012 or 2013 web application project that uses report viewer control with local mode reports (RDLC).

You’ve created the RDLC report and the report path has been chosen from the Report Viewer web control as shown below.

image

Under these circumstances, when you run the project from Visual studio, you get the following error message.

  • An error occurred during local report processing.
    • The report definition for report 'Report3' has not been specified
      • Object reference not set to an instance of an object.

 

To mitigate this problem, go to the properties page of the Report viewer (Not the properties dialog box) as shown below and locate the LocalReport property.

image

 

Expand the property and in the ReportPath specify just the name of the report. It is case sensitive. In our case it is: Report3.rdlc

Please note: If the report is stored with in any folder, make sure the folder names are included with the report name.

For e.g: If the report is with in Reports folder then, Reports/Report3.rdlc

Save the project and run it. Your report should appear fine as expected.

 

HTH!

Selva.

[All the posts are AS-IS with no warranty]

Leave a Comment
  • Please add 4 and 8 and type the answer here:
  • Post
  • the answer is very helpful for me.

Page 1 of 1 (1 items)