Forum Moderators: open

Message Too Old, No Replies

VB.net LoadSaveReportException

         

fsc1999

10:08 pm on Feb 6, 2004 (gmt 0)

10+ Year Member



This is my error:

[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.

wardbekker

10:20 pm on Feb 6, 2004 (gmt 0)

10+ Year Member



Did you check if the system also thinks the file exists? You can check with file.exists(path). Can it be a right issue?

fsc1999

5:09 pm on Feb 9, 2004 (gmt 0)

10+ Year Member



File.exists(path) throws a true, and my permissions on the folder are set to "everyone = full". This is why I'm so confused.

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?