Server Error in '/report' Application.

The system cannot find the path specified.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Runtime.InteropServices.COMException: The system cannot find the path specified.

Source Error:


Line 46:             //ERROR:E:\Reports\test.rpt is a physical path, but a virtual path was expected..
Line 47:             //REASON: cant find report file
Line 48:             theReport.Load(reportPath);
Line 49:             CrystalReportViewer1.ReportSource = theReport;
Line 50: 

Source File: E:\report\viewer.aspx.cs    Line: 48

Stack Trace:


[COMException (0x80004005): The system cannot find the path specified.
]
   CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options) +0
   CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options) +129
   CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +335

[CrystalReportsException: Load report failed.]
   CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +523
   CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob) +1498
   CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename) +99
   viewer.viewer.Page_Init(Object sender, EventArgs e) in E:\report\viewer.aspx.cs:48
   System.Web.UI.Control.OnInit(EventArgs e) +108
   System.Web.UI.Page.OnInit(EventArgs e) +17
   System.Web.UI.Control.InitRecursive(Control namingContainer) +173
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +491


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4700.0