cancel
Showing results for 
Search instead for 
Did you mean: 

Error in Preview and Print in Crystal Report Viewer 2.0.0.7 in Workstation

Former Member
0 Kudos

Hi Guys,

I am encountering a problem when clicking preview and print in Crystal Report Viewer 2.0.0.7. It returns an error

Unhandled exception has occurred in your application. If you click Continue the application will ignore and attempt to continue. If you click quit, the application will close immediately. Load report failed.

I already install the runtime crruntime_120_mlb, . net framework 3.5 sp1 and the add-on itself. The viewer is working properly in SAP Server. My version of SAP is SBO 2007 A SP00 PL10.

Regards,

Michael

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

here's the detailed error

See the end of this message for details on invoking

just-in-time (JIT) debugging instead of this dialog box.

Exception Text

CrystalDecisions.Shared.CrystalReportsException Load report failed. --- System.Runtime.InteropServices.COMException (0x80004005) The device is not ready.

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)

Loaded Assemblies

mscorlib

Assembly Version 2.0.0.0

Win32 Version 2.0.50727.3620 (GDR.050727-3600)

CodeBase fileCWINDOWSMicrosoft.NETFrameworkv2.0.50727mscorlib.dll

-


SAP_CR

Assembly Version 2.0.0.7

Win32 Version 2.0.0.7

CodeBase fileCProgram%20FilesSAPSAP%20Business%20OneAddOnsSAP_CRSAP_CR.exe

-


Interop.SAPbouiCOM

Assembly Version 8.0.0.0

Win32 Version 8.0.0.0

CodeBase fileCProgram%20FilesSAPSAP%20Business%20OneAddOnsSAP_CRInterop.SAPbouiCOM.DLL

-


System.Windows.Forms

Assembly Version 2.0.0.0

Win32 Version 2.0.50727.3053 (netfxsp.050727-3000)

CodeBase fileCWINDOWSassemblyGAC_MSILSystem.Windows.Forms2.0.0.0__b77a5c561934e089System.Windows.Forms.dll

-


System

Assembly Version 2.0.0.0

Win32 Version 2.0.50727.3614 (GDR.050727-3600)

CodeBase fileCWINDOWSassemblyGAC_MSILSystem2.0.0.0__b77a5c561934e089System.dll

-


System.Drawing

Assembly Version 2.0.0.0

Win32 Version 2.0.50727.3053 (netfxsp.050727-3000)

CodeBase fileCWINDOWSassemblyGAC_MSILSystem.Drawing2.0.0.0__b03f5f7f11d50a3aSystem.Drawing.dll

-


CustomMarshalers

Assembly Version 2.0.0.0

Win32 Version 2.0.50727.3053 (netfxsp.050727-3000)

CodeBase fileCWINDOWSassemblyGAC_32CustomMarshalers2.0.0.0__b03f5f7f11d50a3aCustomMarshalers.dll

-


Interop.CR_Crypto

Assembly Version 6.0.0.0

Win32 Version 6.0.0.0

CodeBase fileCProgram%20FilesSAPSAP%20Business%20OneAddOnsSAP_CRInterop.CR_Crypto.DLL

-


System.Data

Assembly Version 2.0.0.0

Win32 Version 2.0.50727.3053 (netfxsp.050727-3000)

CodeBase fileCWINDOWSassemblyGAC_32System.Data2.0.0.0__b77a5c561934e089System.Data.dll

-


System.Configuration

Assembly Version 2.0.0.0

Win32 Version 2.0.50727.3053 (netfxsp.050727-3000)

CodeBase fileCWINDOWSassemblyGAC_MSILSystem.Configuration2.0.0.0__b03f5f7f11d50a3aSystem.Configuration.dll

-


System.Xml

Assembly Version 2.0.0.0

Win32 Version 2.0.50727.3082 (QFE.050727-3000)

CodeBase fileCWINDOWSassemblyGAC_MSILSystem.Xml2.0.0.0__b77a5c561934e089System.Xml.dll

-


System.Transactions

Assembly Version 2.0.0.0

Win32 Version 2.0.50727.3053 (netfxsp.050727-3000)

CodeBase fileCWINDOWSassemblyGAC_32System.Transactions2.0.0.0__b77a5c561934e089System.Transactions.dll

-


System.EnterpriseServices

Assembly Version 2.0.0.0

Win32 Version 2.0.50727.3053 (netfxsp.050727-3000)

CodeBase fileCWINDOWSassemblyGAC_32System.EnterpriseServices2.0.0.0__b03f5f7f11d50a3aSystem.EnterpriseServices.dll

-


CrystalDecisions.Windows.Forms

Assembly Version 12.0.2000.0

Win32 Version 12.0.2000.840

CodeBase fileCWINDOWSassemblyGAC_MSILCrystalDecisions.Windows.Forms12.0.2000.0__692fbea5521e1304CrystalDecisions.Windows.Forms.dll

-


CrystalDecisions.Shared

Assembly Version 12.0.2000.0

Win32 Version 12.0.2000.840

CodeBase fileCWINDOWSassemblyGAC_MSILCrystalDecisions.Shared12.0.2000.0__692fbea5521e1304CrystalDecisions.Shared.dll

-


CrystalDecisions.ReportSource

Assembly Version 12.0.2000.0

Win32 Version 12.0.2000.840

CodeBase fileCWINDOWSassemblyGAC_MSILCrystalDecisions.ReportSource12.0.2000.0__692fbea5521e1304CrystalDecisions.ReportSource.dll

-


CrystalDecisions.CrystalReports.Engine

Assembly Version 12.0.2000.0

Win32 Version 12.0.2000.840

CodeBase fileCWINDOWSassemblyGAC_MSILCrystalDecisions.CrystalReports.Engine12.0.2000.0__692fbea5521e1304CrystalDecisions.CrystalReports.Engine.dll

-


System.Web

Assembly Version 2.0.0.0

Win32 Version 2.0.50727.3618 (GDR.050727-3600)

CodeBase fileCWINDOWSassemblyGAC_32System.Web2.0.0.0__b03f5f7f11d50a3aSystem.Web.dll

-


CrystalDecisions.ReportAppServer.CommLayer

Assembly Version 12.0.1100.0

Win32 Version 12.0.1100.840

CodeBase fileCWINDOWSassemblyGACCrystalDecisions.ReportAppServer.CommLayer12.0.1100.0__692fbea5521e1304CrystalDecisions.ReportAppServer.CommLayer.dll

-


CrystalDecisions.ReportAppServer.ClientDoc

Assembly Version 12.0.1100.0

Win32 Version 12.0.1100.840

CodeBase fileCWINDOWSassemblyGACCrystalDecisions.ReportAppServer.ClientDoc12.0.1100.0__692fbea5521e1304CrystalDecisions.ReportAppServer.ClientDoc.dll

-


CrystalDecisions.ReportAppServer.DataSetConversion

Assembly Version 12.0.2000.0

Win32 Version 12.0.2000.840

CodeBase fileCWINDOWSassemblyGAC_MSILCrystalDecisions.ReportAppServer.DataSetConversion12.0.2000.0__692fbea5521e1304CrystalDecisions.ReportAppServer.DataSetConversion.dll

-


CrystalDecisions.ReportAppServer.DataDefModel

Assembly Version 12.0.1100.0

Win32 Version 12.0.1100.840

CodeBase fileCWINDOWSassemblyGACCrystalDecisions.ReportAppServer.DataDefModel12.0.1100.0__692fbea5521e1304CrystalDecisions.ReportAppServer.DataDefModel.dll

-


CrystalDecisions.ReportAppServer.Controllers

Assembly Version 12.0.1100.0

Win32 Version 12.0.1100.840

CodeBase fileCWINDOWSassemblyGACCrystalDecisions.ReportAppServer.Controllers12.0.1100.0__692fbea5521e1304CrystalDecisions.ReportAppServer.Controllers.dll

-


CrystalDecisions.ReportAppServer.CubeDefModel

Assembly Version 12.0.1100.0

Win32 Version 12.0.1100.840

CodeBase fileCWINDOWSassemblyGACCrystalDecisions.ReportAppServer.CubeDefModel12.0.1100.0__692fbea5521e1304CrystalDecisions.ReportAppServer.CubeDefModel.dll

-


CrystalDecisions.ReportAppServer.ReportDefModel

Assembly Version 12.0.1100.0

Win32 Version 12.0.1100.840

CodeBase fileCWINDOWSassemblyGACCrystalDecisions.ReportAppServer.ReportDefModel12.0.1100.0__692fbea5521e1304CrystalDecisions.ReportAppServer.ReportDefModel.dll

-


BusinessObjects.Licensing.KeycodeDecoder

Assembly Version 12.0.1100.0

Win32 Version 12.0.0.840

CodeBase fileCWINDOWSassemblyGACBusinessObjects.Licensing.KeycodeDecoder12.0.1100.0__692fbea5521e1304BusinessObjects.Licensing.KeycodeDecoder.dll

-


JIT Debugging

To enable just-in-time (JIT) debugging, the .config file for this

application or computer (machine.config) must have the

jitDebugging value set in the system.windows.forms section.

The application must also be compiled with debugging

enabled.

For example

configuration

system.windows.forms jitDebugging=true

configuration

When JIT debugging is enabled, any unhandled exception

will be sent to the JIT debugger registered on the computer

rather than be handled by this dialog box.

Former Member
0 Kudos

Please help me on this guys. thank you!

former_member209699
Contributor
0 Kudos

Hi,

Are you running this report via Code ?

regards:

Sandy