cancel
Showing results for 
Search instead for 
Did you mean: 

Load Report Error

Former Member
0 Kudos

Hi Experts,

I have a customer who is receiving this error when trying to install Crystal Reports version 2.0.6. This is the error that he receives everytime.

CrystalDecisions.Shared.CrystalReportsException: Load report failed. ---> System.Runtime.InteropServices.COMException (0x80004005): The system cannot find the path specified.

at CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options)

at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options)

at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()

--- End of inner exception stack trace ---

at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()

at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob)

at CrystalDecisions.CrystalReports.Engine.ReportDocument.EnsureLoadReport()

at CrystalDecisions.CrystalReports.Engine.ReportDocument.get_Database()

at SAP_CR.MyForms.frmReportViewer.ConfigureCrystalReports()

at SAP_CR.MyForms.frmReportViewer.frmReportViewer_Load(Object sender, EventArgs e)

at System.Windows.Forms.Form.OnLoad(EventArgs e)

at System.Windows.Forms.Form.OnCreateControl()

at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)

at System.Windows.Forms.Control.CreateControl()

at System.Windows.Forms.Control.WmShowWindow(Message& m)

at System.Windows.Forms.Control.WndProc(Message& m)

at System.Windows.Forms.ScrollableControl.WndProc(Message& m)

at System.Windows.Forms.ContainerControl.WndProc(Message& m)

at System.Windows.Forms.Form.WmShowWindow(Message& m)

at System.Windows.Forms.Form.WndProc(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)

at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Accepted Solutions (1)

Accepted Solutions (1)

former_member183750
Active Contributor
0 Kudos

I've never heard of Crystal Reports version 2.0.6 (well, not since about 1994 anyhow). Can you please check on that? Alternatively, see the version of the CR assemblies referenced in the project?

The error typically means one of two things;

1) You ran out of temp space

2) The report objects are not being disposed correctly (use .close and .Dispose on every report object once you are done with it)

If correctly disposing of the report object does not help, what Database are you connecting to and what method are you using (OLEDB, ODBC, etc.)?

Ludek

Former Member
0 Kudos

Ludek,

Could the version be just 2.6? Also, how would I have my customer check on the second thing that you thought could be the issue?

[2) The report objects are not being disposed correctly (use .close and .Dispose on every report object once you are done with it)]

Jeff

Support One

Former Member
0 Kudos

Hi, Jeff;

No, no version 2.6 of CR ever existed. It is likely one of the bundled versions you are using.

In you .NET project, what versions do you show for the Crystal assemblies?

The .Close and .Dispose methods would be in your code, have you used them at all?

Regards,

Jonathan

Former Member
0 Kudos

The version in question is "SAP Business One Crsytal Reports 2.0.0.6". This is the Crystal Integration software for SAP Business One.

Former Member
0 Kudos

This should have been posted in our Business One forum.

Please see the following thread for some tips. If that does not help, please repost your question to that forum.

Regards,

Jonathan

Answers (1)

Answers (1)

Former Member
0 Kudos

He also is receiving this in the process monitor:

Time of Day Process Name PID Operation Path Result Detail

56:02.8 SAP_CR.exe 1328 CreateFile C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\CONFIG\security.config.cch.1328.349725078 NAME NOT FOUND Desired Access: Read Attributes, Delete, Disposition: Open, Options: Non-Directory File, Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a

56:02.8 SAP_CR.exe 1328 CreateFile C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\CONFIG\enterprisesec.config.cch.1328.349725093 NAME NOT FOUND Desired Access: Read Attributes, Delete, Disposition: Open, Options: Non-Directory File, Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a

Any help would be appreciated. Thanks!

Best Regards,

Jeff Haldeman

Support One