TOPIC: Unhandled Exception in 'CrystalDecisions.CrystalRe

Unhandled Exception in 'CrystalDecisions.CrystalRe 11 Dec 2012 16:53 #1246

  • dslonina
  • dslonina's Avatar
  • Offline
We use the free viewer here at the City of Somerville and it usually runs great. We have one machine that has stopped working with the viewer and we can't figure out what's wrong. Here's the dump.

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.TypeInitializationException: The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception. ---> System.Runtime.InteropServices.COMException (0x80040154): Retrieving the COM class factory for component with CLSID {059AC10F-0010-4C43-8876-1FC7BEAF218B} failed due to the following error: 80040154.
at CrystalDecisions.CrystalReports.Engine.ReportDocument..cctor()
--- End of inner exception stack trace ---
at CrystalDecisions.CrystalReports.Engine.ReportDocument..ctor()
at Logicity_Desktop.ViewerForm..ctor(Int32 recordNumber, Array actList, Array parmList, Array setList)
at Logicity_Desktop.ProgressForm.ProgressForm_Load(Object sender, EventArgs e)
at System.EventHandler.Invoke(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.3643 (GDR.050727-3600)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
Logicity Desktop
Assembly Version: 1.6.3832.26446
Win32 Version:
CodeBase: file:///C:/Program%20Files/SaberLogic/Logicity/Logicity%20Desktop.exe
Microsoft.VisualBasic
Assembly Version: 8.0.0.0
Win32 Version: 8.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3643 (GDR.050727-3600)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3637 (GDR.050727-3600)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3639 (GDR.050727-3600)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
System.Runtime.Remoting
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
Logicity.Common
Assembly Version: 1.6.0.0
Win32 Version: 1.6.0.0
CodeBase: file:///C:/Program%20Files/SaberLogic/Logicity/Logicity.Common.DLL
CrystalDecisions.CrystalReports.Engine
Assembly Version: 12.0.2000.0
Win32 Version: 12.3.2000.601
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/CrystalDecisions.CrystalReports.Engine/12.0.2000.0__692fbea5521e1304/CrystalDecisions.CrystalReports.Engine.dll
CrystalDecisions.Shared
Assembly Version: 12.0.2000.0
Win32 Version: 12.3.2000.601
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/CrystalDecisions.Shared/12.0.2000.0__692fbea5521e1304/CrystalDecisions.Shared.dll
CrystalDecisions.ReportAppServer.CommLayer
Assembly Version: 12.0.1100.0
Win32 Version: 12.3.1100.601
CodeBase: file:///C:/WINDOWS/assembly/GAC/CrystalDecisions.ReportAppServer.CommLayer/12.0.1100.0__692fbea5521e1304/CrystalDecisions.ReportAppServer.CommLayer.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.
The administrator has disabled public write access.

Unhandled Exception in 'CrystalDecisions.CrystalRe 13 Dec 2012 19:19 #1249

  • aellis
  • aellis's Avatar
  • Offline
Hello,

Sorry to not respond sooner. It is hard to say with certainty what this issue is based on that error message but here are a few suggestions:

1. Do you you get the same error message with different reports? It would be ideal to rule the report out as a problem.
2. Can you try re-installing Logicity and see if that helps? There is a newer version available but it should still work pretty much the same as the version you are running.
3. In the control panel can you verify that the Crystal Reports runtime is present?

-Adam
The administrator has disabled public write access.