Skip to Content
0
Former Member
Jun 29, 2009 at 07:31 AM

Deploying Crystal Reports in the Client Machine

200 Views

Dear All,

Good Wishes,

I was able to deploy the exe file of the dot net program successfully and the DB integration is also quiet alright. But, none of the reports are working. It throws the following error.

....

-


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): COM object with CLSID {F0A36D7F-4068-44B5-809D-9E91AE74FBDB} is either not valid or not registered.

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

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

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

at MAP.frmReports..ctor()

at MAP.mdlReports.LoadReport(String pReportName)

at MAP.fadMain.mnuMonthlyAdvertisements_Click(Object sender, EventArgs e)

at System.Windows.Forms.MenuItem.OnClick(EventArgs e)

at System.Windows.Forms.MenuItemData.Execute()

at System.Windows.Forms.Command.Invoke()

at System.Windows.Forms.Control.WmCommand(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.WndProc(Message& m)

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

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

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

  • Loaded Assemblies **************

mscorlib

Assembly Version: 1.0.5000.0

Win32 Version: 1.1.4322.2032

CodeBase: file:///c:/winnt/microsoft.net/framework/v1.1.4322/mscorlib.dll

-


NMAP

Assembly Version: 1.0.3467.16166

Win32 Version: 1.0.3467.16166

CodeBase: file://Circulation/Umap/MAP.exe

-


System.Windows.Forms

Assembly Version: 1.0.5000.0

Win32 Version: 1.1.4322.2032

CodeBase: file:///c:/winnt/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c561934e089/system.windows.forms.dll

-


System

Assembly Version: 1.0.5000.0

Win32 Version: 1.1.4322.2032

CodeBase: file:///c:/winnt/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll

-


System.Drawing

Assembly Version: 1.0.5000.0

Win32 Version: 1.1.4322.2032

CodeBase: file:///c:/winnt/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll

-


Microsoft.VisualBasic

Assembly Version: 7.0.5000.0

Win32 Version: 7.10.6001.4

CodeBase: file:///c:/winnt/assembly/gac/microsoft.visualbasic/7.0.5000.0__b03f5f7f11d50a3a/microsoft.visualbasic.dll

-


System.Data

Assembly Version: 1.0.5000.0

Win32 Version: 1.1.4322.2032

CodeBase: file:///c:/winnt/assembly/gac/system.data/1.0.5000.0__b77a5c561934e089/system.data.dll

-


System.EnterpriseServices

Assembly Version: 1.0.5000.0

Win32 Version: 1.1.4322.2032

CodeBase: file:///c:/winnt/assembly/gac/system.enterpriseservices/1.0.5000.0__b03f5f7f11d50a3a/system.enterpriseservices.dll

-


System.Xml

Assembly Version: 1.0.5000.0

Win32 Version: 1.1.4322.2032

CodeBase: file:///c:/winnt/assembly/gac/system.xml/1.0.5000.0__b77a5c561934e089/system.xml.dll

-


CrystalDecisions.CrystalReports.Engine

Assembly Version: 11.0.3300.0

Win32 Version: 11.0.9500.50

CodeBase: file://Circulation/Umap/CrystalDecisions.CrystalReports.Engine.DLL

-


CrystalDecisions.Shared

Assembly Version: 11.0.3300.0

Win32 Version: 11.0.9500.50

CodeBase: file://Circulation/Umap/CrystalDecisions.Shared.DLL

-


CrystalDecisions.ReportAppServer.CommLayer

Assembly Version: 11.0.3300.0

Win32 Version: 11.0.9500.50

CodeBase: file://Circulation/Umap/CrystalDecisions.ReportAppServer.CommLayer.DLL

-


  • JIT Debugging **************

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

application or machine (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 machine

rather than being handled by this dialog.