Dear Friends,
I am using Dot Net (Frame work 1.1) and Crystal Reports XI in my Windows Application Project. The backend is SQL server 2000.
I have created some crystal reports and they work very nicely in the machine where I developed them. I merged them with the Windows Application as per the guidance given in the following URL:
http://www.codeproject.com/KB/dotnet...eployment.aspxI installed the setup file in the other machines to deploy the Crystal Report. To my surprise, I am getting "Load Report Failed" error. The details of the error is:
Code:
Load Report Failed
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.Exception: Load report failed. ---> System.Runtime.InteropServices.COMException (0x80004005): The system cannot find the file specified.RR
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.Load(String filename)
at MAP.frmReports.btnRefresh_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.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
----------------------------------------
MAP
Assembly Version: 1.0.3480.19338
Win32 Version: 1.0.3480.19338
CodeBase: file:///D:/MAP/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:///c:/winnt/assembly/gac/crystaldecisions.crystalreports.engine/11.0.3300.0__692fbea5521e1304/crystaldecisions.crystalreports.engine.dll
----------------------------------------
CrystalDecisions.Shared
Assembly Version: 11.0.3300.0
Win32 Version: 11.0.9500.50
CodeBase: file:///c:/winnt/assembly/gac/crystaldecisions.shared/11.0.3300.0__692fbea5521e1304/crystaldecisions.shared.dll
----------------------------------------
CrystalDecisions.ReportAppServer.CommLayer
Assembly Version: 11.0.3300.0
Win32 Version: 11.0.9500.50
CodeBase: file:///c:/winnt/assembly/gac/crystaldecisions.reportappserver.commlayer/11.0.3300.0__692fbea5521e1304/crystaldecisions.reportappserver.commlayer.dll
----------------------------------------
CrystalDecisions.ReportAppServer.ClientDoc
Assembly Version: 11.0.3300.0
Win32 Version: 11.0.9500.50
CodeBase: file:///c:/winnt/assembly/gac/crystaldecisions.reportappserver.clientdoc/11.0.3300.0__692fbea5521e1304/crystaldecisions.reportappserver.clientdoc.dll
----------------------------------------
CrystalDecisions.ReportAppServer.DataSetConversion
Assembly Version: 11.0.3300.0
Win32 Version: 11.0.9500.50
CodeBase: file:///c:/winnt/assembly/gac/crystaldecisions.reportappserver.datasetconversion/11.0.3300.0__692fbea5521e1304/crystaldecisions.reportappserver.datasetconversion.dll
----------------------------------------
CrystalDecisions.ReportAppServer.CubeDefModel
Assembly Version: 11.0.3300.0
Win32 Version: 11.0.9500.50
CodeBase: file:///c:/winnt/assembly/gac/crystaldecisions.reportappserver.cubedefmodel/11.0.3300.0__692fbea5521e1304/crystaldecisions.reportappserver.cubedefmodel.dll
----------------------------------------
CrystalDecisions.ReportAppServer.Controllers
Assembly Version: 11.0.3300.0
Win32 Version: 11.0.9500.50
CodeBase: file:///c:/winnt/assembly/gac/crystaldecisions.reportappserver.controllers/11.0.3300.0__692fbea5521e1304/crystaldecisions.reportappserver.controllers.dll
----------------------------------------
CrystalDecisions.ReportAppServer.DataDefModel
Assembly Version: 11.0.3300.0
Win32 Version: 11.0.9500.50
CodeBase: file:///c:/winnt/assembly/gac/crystaldecisions.reportappserver.datadefmodel/11.0.3300.0__692fbea5521e1304/crystaldecisions.reportappserver.datadefmodel.dll
----------------------------------------
CrystalDecisions.ReportAppServer.ReportDefModel
Assembly Version: 11.0.3300.0
Win32 Version: 11.0.9500.50
CodeBase: file:///c:/winnt/assembly/gac/crystaldecisions.reportappserver.reportdefmodel/11.0.3300.0__692fbea5521e1304/crystaldecisions.reportappserver.reportdefmodel.dll
----------------------------------------
CrystalDecisions.KeyCode
Assembly Version: 11.0.3300.0
Win32 Version: 11.0.9500.50
CodeBase: file:///c:/winnt/assembly/gac/crystaldecisions.keycode/11.0.3300.0__692fbea5521e1304/crystaldecisions.keycode.dll
----------------------------------------
System.Web
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///c:/winnt/assembly/gac/system.web/1.0.5000.0__b03f5f7f11d50a3a/system.web.dll
----------------------------------------
CrystalDecisions.Windows.Forms
Assembly Version: 11.0.3300.0
Win32 Version: 11.0.9500.50
CodeBase: file:///c:/winnt/assembly/gac/crystaldecisions.windows.forms/11.0.3300.0__692fbea5521e1304/crystaldecisions.windows.forms.dll
----------------------------------------
CrystalDecisions.ReportSource
Assembly Version: 11.0.3300.0
Win32 Version: 11.0.9500.50
CodeBase: file:///c:/winnt/assembly/gac/crystaldecisions.reportsource/11.0.3300.0__692fbea5521e1304/crystaldecisions.reportsource.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.
Can anyone help me out of the problem?
Thanks,
Naren.