I'm a bit rusty on reports. I'm currently running VS2012. I've created a C# Asp.Net web project. I've been trying to do an absolutely basic report as a test.
I've created an xsd dataset from NorthWind (and the select query runs. No problem with the database.) I've created the report with the report wizard. But when I try to run the report I get:
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.
The report itself is defined as follows:
<LocalReport ReportEmbeddedResource="ReportTest1.Report1.rdlc">
<DataSources>
<rsweb:ReportDataSource DataSourceId="ObjectDataSource1" Name="DataSet1" DataMember="Customers" />
</DataSources>
</LocalReport>
When I try to go into the report and 'Choose datasources' it will not allow me to choose a report instance, even though they're visible in the dropdown.
Suggestions?
I may have found the solution to my problem. In addition to all that the tutorials and the wizard require, you have to go into the ReportViewer's LocalReport.ReportPath and set it manually.