I have developed a C#, WINFORMS application that uses Report Viewer. When I run it locally from within Visual Studio, it runs fine.
When I deploy and run the .EXE from my PC, I get the following error:
************** Exception Text **************
Microsoft.Reporting.WinFor
ms.LocalPr
ocessingEx
ception: An error occurred during local report processing. ---> System.ApplicationExceptio
n: The report definition for report 'C:\Program Files\Inventory\VersionCon
trol\..\..
\Staging_R
eport.rdlc
' has not been specified ---> System.IO.FileNotFoundExce
ption: Could not find file 'C:\Program Files\Staging_Report.rdlc'
.
File name: 'C:\Program Files\Staging_Report.rdlc'
Staging_Report.rdlc is included in C:\Program Files\Inventory, with the application EXE and DLL's.
HOW DO I CORRECT THIS?
Start Free Trial