Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Feb 24, 2013 05:05 PM by mickymouse
Feb 20, 2013 07:38 PM|LINK
Currently trying to use the report viewer tool but keep getting an error
"An error occurred during local report processing. The report definition for report 'Report1' has not been specified. Object reference not set to an instance of an object."
Checked the report properties that the build action is; embeded Resource.
Using Visual Studio 2012 with an SQL database.
Any help would be great
Feb 20, 2013 08:55 PM|LINK
Make sure you are assigning the report propertly. It should look like this since you are compiling it into an embedded resource:
// Assuming you called your project in VS 2012 MyCoolProject
ReportViewer1.LocalReport.ReportEmbeddedResource = MyCoolProject.Report1.rdlc
Feb 21, 2013 05:07 PM|LINK
Where about would that go? In the asp page or in the c# page
Feb 21, 2013 05:46 PM|LINK
I've also been getting the same error message when debugging the site, however, I've checked the report is embedded correctly and I'm still receiving the same error message.
Any help is much appreciated.
Feb 24, 2013 05:05 PM|LINK
Does anyone have any suggestions on how to solve this issue?