User1140095199 posted
Hi,
so i simply give the path of my rdlc file into reprotViewer Control properties under LocalReprot ReportEmeddedResource mysolution.TestFolder.Test.rdls
when i run this web page it shows me always this error
- An error occurred during local report processing.
- The report definition for report 'mysolution.TestFolder.Test.rdls' has not been specified
I reproduced the Error. It is occuring because the ReportPath has not been specified.
<rsweb:ReportViewer ID="ReportViewer1" runat="server" Font-Names="Verdana" Font-Size="8pt" WaitMessageFont-Names="Verdana" WaitMessageFont-Size="14pt" Width="549px" Height="560px" OnDrillthrough="ReportViewer1_Drillthrough">
<LocalReport ReportEmbeddedResource="TryOuts.Report1.rdlc" ReportPath="Report1.rdlc">
<DataSources>
<rsweb:ReportDataSource DataSourceId="ObjectDataSource2" Name="DataSet1" />
</DataSources>
</LocalReport>
</rsweb:ReportViewer>
Specify the ReportPath attribute. Refer the above Code. In my case it is.
ReportPath="Report1.rdlc
3: my rdlc file is located in my solution\reports\test.rdlc
In your case I suppose it will be :
ReportPath="reports\test.rdlc"
Best Regards!