Forum Moderators: open
[LoadSaveReportException: Load report failed.]
.F(String , EngineExceptionErrorID
)
.B(String , Int32 )
CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String reportName, OpenReportMethod openMethod, Int16 parentJob)
CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String reportName)
EC_MachineC.CrystalForm.Page_Load(Object sender, EventArgs e) in C:\Inetpub\wwwroot\EC_MachineC\CrystalForm.aspx.vb:57
System.Web.UI.Control.OnLoad(EventArgs e)
System.Web.UI.Control.LoadRecursive()
System.Web.UI.Page.ProcessRequestMain()
And it get's thrown when I make the following call:
crReportDocument.Load("c:\Reports\6106c.rpt")
This worked about 2 weeks ago, and then I was forced to move my files to a new system, and now it throws this error every time. I have also tried the path thusly: c:\\Reports\\610c.rpt but that is no better than the first attempt.
If you have any idea what to do, please reply.
Before you suggested file.exists, I already had this line of code, and the line was working...
Dim sr As StreamReader = New StreamReader("file path")
still get the same error for the original problem. Any other ideas?