Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Crystal Report: LoadSaveReportException: Load Report Error 1

Status
Not open for further replies.

George168

Programmer
Mar 14, 2005
2
US
I have a web system which will display a crystal report for clients. It is written in Visual Studio 2003,VB.Net and Crystal Report which comes with VS2003, running on Windows 2000. It works very well. Now we moved to Windows XP and I cannot run the report again at design time. There is no change to my code. I got the following error: The LoadSaveReportException: Load Report Error. I searched all answers through the web. It seems that the LoadSaveReportException is thrown when the report engine cannot open the report file. Is there any difference between Windows 2000 and Windows XP? How to resolve it?

Thanks.

Bing Chen

 
mdwyer;

One thing I need to clarify is that the error happends right after the Me.crystalReport11 = New TestPasReport.CrystalReport1. It has not gone that far to reach the exported file yet. Please see the portion of the code below.


#Region " Web Form Designer Generated Code "

'This call is required by the Web Form Designer.
<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
Me.crystalReport11 = New TestPasReport.CrystalReport1
'
'crystalReport11
'
Me.crystalReport11.PrintOptions.PaperOrientation = CrystalDecisions.Shared.PaperOrientation.DefaultPaperOrientation
Me.crystalReport11.PrintOptions.PaperSize = CrystalDecisions.Shared.PaperSize.DefaultPaperSize
Me.crystalReport11.PrintOptions.PaperSource = CrystalDecisions.Shared.PaperSource.Upper
Me.crystalReport11.PrintOptions.PrinterDuplex = CrystalDecisions.Shared.PrinterDuplex.Default

End Sub
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top