Load report failed - document cannot be opened in the c++ stack

I am now receiving an error when trying to load a report into the report viewer. The error I am recieving is "Load report failed ... Unsupported operation. A document processed by the JRC engine cannot be opened in the C++ stack"
<br />
Here is the error stack:
<br /><br/ />
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
<br />
Exception Text **************
CrystalDecisions.Shared.CrystalReportsException: Load report failed. ---> System.Runtime.InteropServices.COMException (0x80041811): Unsupported Operation. A document processed by the JRC engine cannot be opened in the C++ stack.
   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 IPAM_Reporting.frmCrystalReport.frmCrystalReport_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.5444 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
IPAM_Reporting
    Assembly Version: 1.1.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft/IPAM%20Reporting%20System/IPAM_Reporting.exe
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
Infragistics2.Win.v10.3
    Assembly Version: 10.3.20103.1000
    Win32 Version: 10.3.20103.1000
    CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft/IPAM%20Reporting%20System/Infragistics2.Win.v10.3.DLL
System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
Infragistics2.Shared.v10.3
    Assembly Version: 10.3.20103.1000
    Win32 Version: 10.3.20103.1000
    CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft/IPAM%20Reporting%20System/Infragistics2.Shared.v10.3.DLL
Infragistics2.Win.UltraWinExplorerBar.v10.3
    Assembly Version: 10.3.20103.1000
    Win32 Version: 10.3.20103.1000
    CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft/IPAM%20Reporting%20System/Infragistics2.Win.UltraWinExplorerBar.v10.3.DLL
Infragistics2.Win.UltraWinToolbars.v10.3
    Assembly Version: 10.3.20103.1000
    Win32 Version: 10.3.20103.1000
    CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft/IPAM%20Reporting%20System/Infragistics2.Win.UltraWinToolbars.v10.3.DLL
Infragistics2.Win.UltraWinDock.v10.3
    Assembly Version: 10.3.20103.1000
    Win32 Version: 10.3.20103.1000
    CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft/IPAM%20Reporting%20System/Infragistics2.Win.UltraWinDock.v10.3.DLL
System.Configuration
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
Infragistics2.Win.Misc.v10.3
    Assembly Version: 10.3.20103.1000
    Win32 Version: 10.3.20103.1000
    CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft/IPAM%20Reporting%20System/Infragistics2.Win.Misc.v10.3.DLL
Accessibility
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
Infragistics2.Win.UltraWinEditors.v10.3
    Assembly Version: 10.3.20103.1000
    Win32 Version: 10.3.20103.1000
    CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft/IPAM%20Reporting%20System/Infragistics2.Win.UltraWinEditors.v10.3.DLL
SQLDatabaseConnectivity
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft/IPAM%20Reporting%20System/SQLDatabaseConnectivity.DLL
System.Data
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
System.Transactions
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_32/System.Transactions/2.0.0.0__b77a5c561934e089/System.Transactions.dll
System.EnterpriseServices
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_32/System.EnterpriseServices/2.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
System.Core
    Assembly Version: 3.5.0.0
    Win32 Version: 3.5.30729.5420 built by: Win7SP1
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll
CrystalDecisions.Windows.Forms
    Assembly Version: 13.0.2000.0
    Win32 Version: 13.0.0.99
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/CrystalDecisions.Windows.Forms/13.0.2000.0__692fbea5521e1304/CrystalDecisions.Windows.Forms.dll
CrystalDecisions.Shared
    Assembly Version: 13.0.2000.0
    Win32 Version: 13.0.0.99
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/CrystalDecisions.Shared/13.0.2000.0__692fbea5521e1304/CrystalDecisions.Shared.dll
CrystalDecisions.ReportSource
    Assembly Version: 13.0.2000.0
    Win32 Version: 13.0.0.99
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/CrystalDecisions.ReportSource/13.0.2000.0__692fbea5521e1304/CrystalDecisions.ReportSource.dll
log4net
    Assembly Version: 1.2.10.0
    Win32 Version: 1.2.10.0
    CodeBase: file:///C:/Windows/assembly/GAC_32/log4net/1.2.10.0__692fbea5521e1304/log4net.dll
System.Web
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_32/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll
CrystalDecisions.CrystalReports.Engine
    Assembly Version: 13.0.2000.0
    Win32 Version: 13.0.0.99
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/CrystalDecisions.CrystalReports.Engine/13.0.2000.0__692fbea5521e1304/CrystalDecisions.CrystalReports.Engine.dll
CrystalDecisions.ReportAppServer.CommLayer
    Assembly Version: 13.0.2000.0
    Win32 Version: 13.0.0.99
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/CrystalDecisions.ReportAppServer.CommLayer/13.0.2000.0__692fbea5521e1304/CrystalDecisions.ReportAppServer.CommLayer.dll
CrystalDecisions.ReportAppServer.ClientDoc
    Assembly Version: 13.0.2000.0
    Win32 Version: 13.0.0.99
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/CrystalDecisions.ReportAppServer.ClientDoc/13.0.2000.0__692fbea5521e1304/CrystalDecisions.ReportAppServer.ClientDoc.dll
CrystalDecisions.ReportAppServer.Controllers
    Assembly Version: 13.0.2000.0
    Win32 Version: 13.0.0.99
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/CrystalDecisions.ReportAppServer.Controllers/13.0.2000.0__692fbea5521e1304/CrystalDecisions.ReportAppServer.Controllers.dll
CrystalDecisions.ReportAppServer.DataDefModel
    Assembly Version: 13.0.2000.0
    Win32 Version: 13.0.0.99
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/CrystalDecisions.ReportAppServer.DataDefModel/13.0.2000.0__692fbea5521e1304/CrystalDecisions.ReportAppServer.DataDefModel.dll
CrystalDecisions.ReportAppServer.DataSetConversion
    Assembly Version: 13.0.2000.0
    Win32 Version: 13.0.0.99
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/CrystalDecisions.ReportAppServer.DataSetConversion/13.0.2000.0__692fbea5521e1304/CrystalDecisions.ReportAppServer.DataSetConversion.dll
CrystalDecisions.ReportAppServer.CubeDefModel
    Assembly Version: 13.0.2000.0
    Win32 Version: 13.0.0.99
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/CrystalDecisions.ReportAppServer.CubeDefModel/13.0.2000.0__692fbea5521e1304/CrystalDecisions.ReportAppServer.CubeDefModel.dll
CrystalDecisions.ReportAppServer.ReportDefModel
    Assembly Version: 13.0.2000.0
    Win32 Version: 13.0.0.99
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/CrystalDecisions.ReportAppServer.ReportDefModel/13.0.2000.0__692fbea5521e1304/CrystalDecisions.ReportAppServer.ReportDefModel.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.
<br /><br /><br /><br />
What could be the problem now.
Edited by: mcontri on Apr 15, 2011 6:49 PM
Edited by: mcontri on Apr 15, 2011 6:49 PM
Edited by: mcontri on Apr 15, 2011 6:51 PM

Hi Rama,
Please search, this issue has been discussed many times before.
For starter, see below doc.
Troubleshooting error: "Unsupported Operation. A document processed by the JRC engine cannot be opened in the C++ stack…
Thanks,
Bhushan

Similar Messages

  • A document processed by the JRC engine cannot be opened in the C++ stack.

    I keep getting this error message after I deploy a Visual Studio 2010 .net web application to my server.  The application works perfectly in the development environment but it will not work on my Win 2003 32bit IIS6.0 web server.  Below is also the error logged into the windows application log file.
    Event Type:     Warning
    Event Source:     ASP.NET 4.0.30319.0
    Event Category:     Web Event
    Event ID:     1309
    Date:          8/5/2011
    Time:          9:38:39 AM
    User:          N/A
    Computer:     IM-WEB1
    Description:
    Event code: 3005
    Event message: An unhandled exception has occurred.
    Event time: 8/5/2011 9:38:39 AM
    Event time (UTC): 8/5/2011 2:38:39 PM
    Event ID: f247f1c1b10745cabfad5864403ef15f
    Event sequence: 11
    Event occurrence: 1
    Event detail code: 0
    Application information:
        Application domain: /LM/W3SVC/1922464104/Root-2-129570287010549171
        Trust level: Full
        Application Virtual Path: /
        Application Path: E:\websites\enmarkscanning\
        Machine name: IM-WEB1
    Process information:
        Process ID: 8048
        Process name: w3wp.exe
        Account name: NT AUTHORITY\NETWORK SERVICE
    Exception information:
        Exception type: CrystalReportsException
        Exception message: Load report failed.
       at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
       at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.get_ProductLocaleID()
       at CrystalDecisions.ReportSource.CachedObjectReportSource.GetReport(RequestContext context, Boolean bAddToCacheWhenCreated)
       at CrystalDecisions.Web.CrystalReportSource.get_ReportDocument()
       at Reports_POD.Page_Load(Object sender, EventArgs e)
       at System.Web.UI.Control.OnLoad(EventArgs e)
       at System.Web.UI.Control.LoadRecursive()
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    Unsupported Operation. A document processed by the JRC engine cannot be opened in the C++ stack.
       at CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options)
       at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options)
       at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
    Request information:
        Request URL: http://scanning/Rpt_POD.aspx?ID=169663
        Request path: /Rpt_POD.aspx
        User host address: 10.69.11.3
        User: wills
        Is authenticated: True
        Authentication Type: Forms
        Thread account name: NT AUTHORITY\NETWORK SERVICE
    Thread information:
        Thread ID: 6
        Thread account name: NT AUTHORITY\NETWORK SERVICE
        Is impersonating: False
        Stack trace:    at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
       at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.get_ProductLocaleID()
       at CrystalDecisions.ReportSource.CachedObjectReportSource.GetReport(RequestContext context, Boolean bAddToCacheWhenCreated)
       at CrystalDecisions.Web.CrystalReportSource.get_ReportDocument()
       at Reports_POD.Page_Load(Object sender, EventArgs e)
       at System.Web.UI.Control.OnLoad(EventArgs e)
       at System.Web.UI.Control.LoadRecursive()
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    Edited by: Don Williams on Aug 5, 2011 12:35 PM

    Here is the error details in the web browser
    Unsupported Operation. A document processed by the JRC engine cannot be opened in the C++ stack.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    Exception Details: System.Runtime.InteropServices.COMException: Unsupported Operation. A document processed by the JRC engine cannot be opened in the C++ stack.
    Source Error:
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
    Stack Trace:
    [COMException (0x80041811): Unsupported Operation. A document processed by the JRC engine cannot be opened in the C++ stack.]
       CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options) +0
       CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options) +95
       CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +270
    [CrystalReportsException: Load report failed.]
       CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +333
       CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.get_ProductLocaleID() +31
       CrystalDecisions.ReportSource.CachedObjectReportSource.GetReport(RequestContext context, Boolean bAddToCacheWhenCreated) +438
       CrystalDecisions.Web.CrystalReportSource.get_ReportDocument() +201
       Reports_POD.Page_Load(Object sender, EventArgs e) +54
       System.Web.UI.Control.OnLoad(EventArgs e) +91
       System.Web.UI.Control.LoadRecursive() +74
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2207
    Any help is greatly appreciated.
    Thanks!

  • CR for VS2010 "Load report failed"

    like in "Load report failed" error with VS 2010 upgrade
    web application works fine on Dev but "Load report failed" when deployed to another server (Win2003 or Win2008r2 (fresh installs); latest CR redistributables; beta never existed on these servers).
    useLegacyV2RuntimeActivationPolicy set and full access (all the accounts and even to Everyone group now) granter to the Windows/Temp folder (temp report file is created under windows/temp).
    the Process Monitor show no "failed" access or something (worst is Name not Found)
    any suggestions where to look next?
    and just in case the exception (inner for the "load report failed"): "Unsupported Operation. A document processed by the JRC engine cannot be opened in the C++ stack.  clientdoc.dll"
    Edited by: Kirill.Y on Feb 21, 2011 2:25 PM

    finally identified where problem is:
    it happens if:
    1. project is Web Site
    2. you are trying to run web application from the "Published" code (all the checkboxes are unticked in the Publich dialog)
    3. code for the Report class is under App_Code folder
    4. report file (RPT) in subfolder, i.e. not under root
    P.S.: also: if embedRptInResource set to true, ResourceName from the class used to reference RPT file is ignored, i.e. RPT file generates code itself. So, the embedRptInResource must be set to false if you want to avoid such case
    In my case i just get rid of Report classes and moved RPT files into the App_Code folder (in one of subfolder under App_Code; and embedRptInResource=true).
    So, either keep everything under root or move RPT files into App_Code
    Btw, useLegacyV2RuntimeActivationPolicy is not required, i.e. in my case everything works just fine without it (.Net 4).
    Edited by: Kirill.Y on Feb 22, 2011 2:00 PM

  • Intermittent "Load Report Failed" error on IIS6 ASP 4.0

    I can run reports designed in Crystal 2011 and embedded in VS2010 designed web pages on a Windows 2003 SP2 server every day.  However, once every 2 - 3 days I get a "Load Report Failed - A document processed by the JRC engine cannot be opened in the C++ stack".  The first instance of this error causes all subsequent user access to Crystal Reports to fail with the same error.  When the ASP 4.0 application pool is recycled the error goes away.
    I was getting the "Load Report Failed" error due to "out of memory" I until made sure that the crystalreportviewer.dispose was run on exiting each report page. 
    Here is  how I run Crystal Reports:
       Protected Sub Page_Init(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Init
            If Not IsPostBack Then
                Dim myAL As New Hashtable
                myAL.Add("MO1", Request.QueryString("MONum1"))
                myAL.Add("MO2", Request.QueryString("MONum1"))
                Dim filename As String = ""
                filename = Server.MapPath("~/reports") + "\MfgPicklistByMO.rpt"
                Dim u As New CrystalUtilities
                Session("crViewer") = u.SetupReport(filename, myAL)
            End If
            CrystalReportViewer1.ReportSource = Session("crViewer")
        End Sub
       Public Function SetupReport(ByVal fileName As String, _
                     ByVal Params As Hashtable, Optional ByVal dbParam As Boolean = True) As   CrystalDecisions.CrystalReports.Engine.ReportDocument
            Dim objCrystalReportDocument As New CrystalDecisions.CrystalReports.Engine.ReportDocument
            objCrystalReportDocument.Load(fileName)
    .... logs onto a selected database, and loads paramters

    I have installed CrystalReportViewer1.Dispose() statements on all of the link events to navigate out of the pages with the CrystalViewer.  However, it turns out that several users are using the back arrow to navigate out of the page instead of the navigation links I have put on the page.
    I can't seem to find any event in ASPNET 4 that fires when the back arrow is pushed.  If I could find such an event I could put a CrystalReportViewer1.dispose statement there assuming CrystalReportViewer1 still has scope.    The Page_Disposed event does not fire when the back arrow is pushed.
    Environment:  VS2010, Crystall 2011, ASPNET 4.0

  • Error: A document processed by the JRC engine cannot be opened in the C++

    Hi,
    I developed a Web Application, wich have some Crystal Reports. I am using VS2010, C#, Framework 4 and I installed the last version of CR.
    The thing is that if I run the application with Visual Studio it works fine, it show the reportes without errors, but when I deploy it (in the same machine, just to try), I am getting the error:
    Unsupported Operation. A document processed by the JRC engine cannot be opened in the C++ stack
    [COMException (0x80041811): Unsupported Operation. A document processed by the JRC engine cannot be opened in the C+ stack+
       +CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options) 0
       +CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options) 147
       +CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() 422
    [CrystalReportsException: Could not load the report.]
       +CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() 549
       +CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob) 1613
       +CrystalDecisions.CrystalReports.Engine.ReportClass.Load(String reportName, OpenReportMethod openMethod, Int16 parentJob) 161
       +CrystalDecisions.CrystalReports.Engine.ReportDocument.EnsureLoadReport() 168
       +CrystalDecisions.CrystalReports.Engine.ReportDocument.get_ReportDefinition() 73
       +AplicacionWeb.Shared.PrintReports.ImprimirReservaEvento(Int32 idEvento, Int32 idTipoEvento, String rutaNombreReporte) 143
       +System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) 154
       +System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) 3707
    This is the portion of code that calls the report.
            protected void btnImprimirReserva_Click(object sender, EventArgs e)
            {            PrintReports printReports = new PrintReports();
                string ruta = string.Empty;
                int idEvento = int.Parse(hdnIdEvento.Value);
                int idTipoEvento= int.Parse(ddlTipoDeEvento.SelectedValue);
                    ruta = Server.MapPath("/Reportes
    rptEvento.rpt");
                    printReports.ImprimirReservaEvento(idEvento, idTipoEvento, ruta);
    public void ImprimirReservaEvento(int idEvento, int idTipoEvento, string rutaNombreReporte)
            {            int cantCopias = (idTipoEvento == TiposEvento.Egreso.GetHashCode() ? 3 : 2);
                TextObject originalDuplicado;
                rptEvento oReporte = new rptEvento();
                oReporte.FileName = rutaNombreReporte;
                originalDuplicado = (TextObject)oReporte.ReportDefinition.ReportObjects["txtOriginalDuplicado"];
                for (int i = 0; i < cantCopias; i++)
                    oReporte.SetParameterValue("@id_evento", idEvento);
                    if (i == 0)
                        originalDuplicado.Text = "Original";
                    if (i == 1)
                        originalDuplicado.Text = "Duplicado";
                    if (i==2)
                        originalDuplicado.Text = "Triplicado";   
                    oReporte.PrintToPrinter(1, false, 0, 0);
    I tried several things but I can not solve the problem. Could you please help me with that issue?
    Edited by: frangambino on Feb 15, 2012 4:20 AM

    Hi,
    Take a look at below threads where this issue is discussed,
    [http://forums.sdn.sap.com/thread.jspa?threadID=2011850|http://forums.sdn.sap.com/thread.jspa?threadID=2011850]
    [http://forums.sdn.sap.com/thread.jspa?threadID=1975259|http://forums.sdn.sap.com/thread.jspa?threadID=1975259]
    [http://forums.sdn.sap.com/thread.jspa?threadID=2031409|http://forums.sdn.sap.com/thread.jspa?threadID=2031409]\
    Also, is it a 64 bit machine? check the target platform of the application and set it accordingly.
    Few things to try
    - Check if the reports exist and are accessible by the application (permissions, filepath,)
    - Do not publish the report using the publish option, just as a test copy them manually.
    See if this helps,
    - Bhushan.

  • Crystal Report Error in Windows Server 2012 - Load Report Failed

    Badly needed help regarding the above topic. Thanks in advance for helping.
    We have a web application experiencing this error after deployment in WinServer 2012 IIS 8. Previously, the application was deployed in WinServer 2003 but we dont experience any errors like this. We tried searching the net for solutions and these are the following things we've try doing so far.
    - Installed Crystalreportsviewer13 64 bit in Server. After that, transferred the asp_net client folder in the IIS folder same level of our application.
    - We discovered that upon browsing the asp_net client in IIS itself, error 500.24 is appearing in the server. Checked the permission for folder asp_net client. Add IIS_USR permission read execute and write on the folder and still same Load Report Failed.
    - Next we tried integrating the crystalreportsviewer13 inside the application same Load Report Failed error.
    - Installed Service Pack 8 for CrystalReport but to no avail.
    Is there any way to get the real error behind the "Load Report Failed" error? Also, is there any other way to determine what else can be done to resolve this issue? Thanks in advance.

    Hi Jesse,
    Use a try/catch block and see if this gives you more info:
    catch (Exception ex)
        MessageBox.Show("ERROR: " + ex.Message + " ;" + ex.InnerException.Message);
    Response.write of course...
    Make sure you have permissions set for sharing the report folder also, could be simply a permission error on the report folder.
    Fiddler may give you more details also
    Don

  • Load Report Failed error sporadically shows up

    Hi all,
    I have written an asp.net web site (CR2008 sp2.5, .net3.5, VS2008, vb.net running on winServ2003 hitting an Oracle 10g database) that does nothing but dish out reports for users.  I built in the asp.net member/role security, which works fine, and different sections have a "frmReportViewer.aspx" file that has a crystal report viewer control in it. 
    Based on a querystring parameter, the report will load the correct rpt to the control on the page.
    here's the problem.:   sometimes when loading a report, it instantly comes back with "LOAD REPORT FAILED".  Sometimes, you can close the window, click the link again, and it will work fine.   Sometimes, if the report does load, then if i try to drill down into a group, it will tell me "no valid report source is available" in a little ajax-style dialog box in the report.
    My main question is....why does this work sometimes?  this instability will make this project go down the tubes (along with my job perhaps)....I showed my company what CAN be done, now i need to make it RUN LIKE IT SHOULD!
    THANKS IN ADVANCE!
    GEORGE
    Edited by: george hardy on Mar 25, 2010 7:58 PM

    Make sure you are disposing and closing the report object;
    repdoc.close
    repdoc.dispose
    once you are done with it.
    Also, search the kbase for the error:
    https://www.sdn.sap.com/irj/scn/advancedsearch?cat=sdn_ossnotes&query=&adv=true
    Kbases / Notes 1218766, 1217643 would be a sampling of what you'll find there.
    From your description, it is not clear if this occurs under heavier loads. If it is, increasing the allowed print job count may help. For more details see [this|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f053713e-3e3d-2c10-2a81-f79259e54023] article.
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup

  • Load Report failed when opening Report under IIS 5.1

    I recently upgraded to Crystal Reports 2008 (12) from Crystal Reports Basic 2008 (10.5).  I am using Visual Studio 2008 with the CrystalReportViewer.  Now when I run my reports from the website under IIS 5.1 (Windows XP SP3), I get a Load Report Failed.  The detailed exception follow:
    Error loading report (ConfigureCrystalReports)
    CrystalDecisions.Shared.CrystalReportsException: Load report failed. ---> System.Runtime.InteropServices.COMException (0x800001F5): The Report Application Server failed 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 ncspo.ReportViewer.ConfigureCrystalReports() in D:\Websites\NCSPO\FIS\ReportViewer.aspx.vb:line 43
    If I run the report using the ASP.Net Development Server, the reports run fine.  It only fails under IIS.  From other posts, I understand that i need to grant the Network Service and IIS_WPG group read/write permissions to the windows\temp folder.  I have done this for the Network Service, but the IIS_WPG group was not introduced until IIS 6.0.  Any ideas on how I can get this working under IIS 5.1?
    Here is the code behind page:
    Private Sub ConfigureCrystalReports()
                Try
                    rpt = New ReportDocument
                    Dim strReportFilename As String
                    If Len(Request.QueryString("ReportFilename")) > 0 Then
                        strReportFilename = Request.QueryString("ReportFilename")
                    Else
                        strReportFilename = System.Configuration.ConfigurationManager.AppSettings("cr404Page")
                    End If
                    Dim strReportPath As String = System.Configuration.ConfigurationManager.AppSettings("ReportPath")
                    Dim strReportFilePath As String = strReportPath & strReportFilename
                    Dim strReportFilePath_Full As String = Server.MapPath(strReportFilePath)
                    rpt.Load(strReportFilePath_Full)    <--- Exception occurs on this line
                Catch ex As Exception
                    lblStatus.Text = "Error loading report (ConfigureCrystalReports)"
                    lblStatus.Text &= "<BR>" & ex.ToString()
                    ncspo.clsMisc.LogError(ex, Me)
                End Try
            End Sub

    Am I correct in reading the following 2 documents that IIS 5.1 is not supported?
    If you check this document.  It shows IIS6 and 7 no support on 5.  See page 6
    [https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f05523e4-35c4-2b10-2c89-9fcf64b0dd22]
    This document also on page 5
    [https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/50a87366-da1d-2b10-e1b4-a37ab37a2dea]
    Thanks.

  • Load Report Failed : The System cannot find the path specified

    Hi,
    I have a .Net windows application and I'm using crystal report in that. Application is published in CITRIX. If I login as Administrator user, reports are generating fine.
    But for any other user i'm getting following error while trying to open crystal report
    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 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.Load(String filename)
       at castlegate.frmFormB.frmFormB_Load(Object sender, EventArgs e) in C:\MyFolder\My Projects\castlegate_with_setup\castlegate\frmFormB.vb:line 401
       at System.Windows.Forms.Form.OnLoad(EventArgs e)
       at System.Windows.Forms.Form.SetVisibleCore(Boolean value)
       at System.Windows.Forms.Control.set_Visible(Boolean value)
       at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
       at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
       at System.Windows.Forms.Application.RunDialog(Form form)
       at System.Windows.Forms.Form.ShowDialog(IWin32Window owner)
       at System.Windows.Forms.Form.ShowDialog()
       at castlegate.frmViewEnquiry.btnPrint_Click(Object sender, EventArgs e) in C:\MyFolder\My Projects\castlegate_with_setup\castlegate\frmViewEnquiry.vb:line 340
       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.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)
    Expecting solution to above issue
    Regards
    NistPS

    Hi,
    See the [Rules of Engagement|https://wiki.sdn.sap.com/wiki/display/HOME/Rules%20of%20Engagement]
    What version of Crystal Reports are you using?
    Visual studio version you have?
    Have you applied any servcie pack?
    Is this on your development computer or on a deployed computer?
    If on a deployed system, how was the CR runtime installed to that system?
    Regards,
    Shweta

  • Load report Failed, COMExpection: System cannot find the path specified

    Interesting problem:
    I have an application that runs on a web server (currently running it as simple test application to make solving this easier). We use a BO XI report to load data from the DB via a stored proc, then run an ExportToStream to get CSV data to return to the caller.
    It all works well as long as I run the application under the NT Account logged into the Box (W2k3, R2). But when using a different account (it's a domain admin account), it fails with the following error:
    System.Exception: Load report Failed. ---> System.Runtime.InteropServices.COMException (0x80004005): The system cannot find the path specified.
    at CrystalDecisions.ReportAppServer.ClienDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options)
    at CyrstalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod).
    The report is located on a file drive the openMethod is OpenReportByTempCopy. The Temp directory for the user (landes) exists on the box, all things seem to be in place.
    Anybody know that path is specified and how to overcome this?
    Thanks

    Will it be possible to check this registry key: HKEY_LOCAL_MACINE\SOFTWARE\Suite 11or11.5\Report Application Server\InprocServer\LocalConnectionMgr and verify if the ConnectionDirectoryPath is set to something like C:\ ?
    If not, set to C:\ and see how it goes after running your app.
    Cheers
    Alphonse

  • Crystal Reports with VS2005 - Load Report failed Error....

    Post Author: rajeshvijayan
    CA Forum: Older Products
    Hi,
    I am running Crystal Reports viewer on IIS6.0 and windows server 2003, which was installed using the redistributable package that comes along with Visual Studio 2005. We open these reports through a web based application 1 which is run on a different application pool on IIS. We have about 3 to 4 other web applications runing on the same IIS. All the other Web applications are working fine.
    This  web application 1 has 2 parts - one is the normal data display quiries from the back end SQL server 2005 and the other is the Crystal Reports which also quires data from SQL Server 2005. At times i find that these reports all of them throw an error - Load Report Failed. At the same time the Part 1 of this application does work fine in showing the data that is queried from the database. Moreover at this stage, I dont find any errors in the Event viewer. If i restart this application pool alone, the reports starts working fine again.
    I had gone through a few of the news groups and have made all the necessary permission related changes like the TEMP Folder, ASP.NET temporary folder, the folder in which the crystal reports is placed etc but still the same error throws up after some point in time. Wanted to know if there is any special configuration required on the Application pool when it comes to Crystal Reports. We have bout 10 to 15 users using this application for testing and it only throws this error at times and not always.
    Looking forward to any kind of solution from your side.
    Regards
    Rajesh

    Post Author: mikeeby
    CA Forum: Deployment
    Yes I too have been fighting this problem. I was using a XML Data file and schema file for my u201Cdatabase templateu201D in the report. I would then run my query using the .NET SQLClient then fill the report with my dataset table using the SetDataSource method from the ReportDocument object.
    I tried both embedded and runtime loaded reports all worked fine on my development machine but would NOT work on my production server. I use all the server installs, played with user rights, registering DLLu2019s still nothing.  I went as far as creating a winform app to fix the problem. I then had exactly the same problem, I was catching the error and it originated from the viewer control in both winform and webforms.
    What finally worked for me was to attach to the database using OLE DB instead of XML/schema (xml/xsd) datasource then pasting my SQL Query into the database connection command this gave me the fields to build the report. I actually used the u201CSet Database Locationu201D Dialog in Crystal Reports so I didnu2019t have to redesign my report. This dialog works very weird but I managed to figure it out. I then used an embedded report and all seem to be well. I think there is a problem with the Crystal Reports .NET Server Install and Merge Modules used with .NET with XML files, but I cannot be sure, all I know is this worked for me.
    I am concerned that if my database server is moved or renamed my report might break because the server connection is embedded in the report, but for right now it is working. I thought that was the reason for using the xsd file was to eliminate the dependence on a server connection in the report.
    Good luck and I hope this helps you fix your problem too. If it does please let me know I have see so many reports of people asking questions about this problem and it seems like most are left hanging.
    Mike

  • Load report failed(crystal report) in client pc.

    Hi,
    we are getting error in crystal report
    1.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 **************
    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)
    Loaded Assemblies **************
    mscorlib
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
        CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
    SAP_CR
        Assembly Version: 2.0.0.6
        Win32 Version: 2.0.0.6
        CodeBase: file:///C:/Program%20Files/SAP/SAP%20Business%20One/AddOns/SAP_CR/SAP_CR.exe
    Interop.SAPbouiCOM
        Assembly Version: 8.0.0.0
        Win32 Version: 8.0.0.0
        CodeBase: file:///C:/Program%20Files/SAP/SAP%20Business%20One/AddOns/SAP_CR/Interop.SAPbouiCOM.DLL
    System.Windows.Forms
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    System
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    System.Drawing
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    CustomMarshalers
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_32/CustomMarshalers/2.0.0.0__b03f5f7f11d50a3a/CustomMarshalers.dll
    Interop.CR_Crypto
        Assembly Version: 6.0.0.0
        Win32 Version: 6.0.0.0
        CodeBase: file:///C:/Program%20Files/SAP/SAP%20Business%20One/AddOns/SAP_CR/Interop.CR_Crypto.DLL
    System.Data
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
    System.Configuration
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
    System.Xml
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
    System.Transactions
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Transactions/2.0.0.0__b77a5c561934e089/System.Transactions.dll
    System.EnterpriseServices
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.EnterpriseServices/2.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
    CrystalDecisions.Windows.Forms
        Assembly Version: 12.0.2000.0
        Win32 Version: 12.0.2000.683
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/CrystalDecisions.Windows.Forms/12.0.2000.0__692fbea5521e1304/CrystalDecisions.Windows.Forms.dll
    CrystalDecisions.Shared
        Assembly Version: 12.0.2000.0
        Win32 Version: 12.0.2000.683
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/CrystalDecisions.Shared/12.0.2000.0__692fbea5521e1304/CrystalDecisions.Shared.dll
    CrystalDecisions.ReportSource
        Assembly Version: 12.0.2000.0
        Win32 Version: 12.0.2000.683
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/CrystalDecisions.ReportSource/12.0.2000.0__692fbea5521e1304/CrystalDecisions.ReportSource.dll
    CrystalDecisions.CrystalReports.Engine
        Assembly Version: 12.0.2000.0
        Win32 Version: 12.0.2000.683
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/CrystalDecisions.CrystalReports.Engine/12.0.2000.0__692fbea5521e1304/CrystalDecisions.CrystalReports.Engine.dll
    System.Web
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll
    CrystalDecisions.ReportAppServer.CommLayer
        Assembly Version: 12.0.1100.0
        Win32 Version: 12.0.1100.683
        CodeBase: file:///C:/WINDOWS/assembly/GAC/CrystalDecisions.ReportAppServer.CommLayer/12.0.1100.0__692fbea5521e1304/CrystalDecisions.ReportAppServer.CommLayer.dll
    CrystalDecisions.ReportAppServer.ClientDoc
        Assembly Version: 12.0.1100.0
        Win32 Version: 12.0.1100.683
        CodeBase: file:///C:/WINDOWS/assembly/GAC/CrystalDecisions.ReportAppServer.ClientDoc/12.0.1100.0__692fbea5521e1304/CrystalDecisions.ReportAppServer.ClientDoc.dll
    CrystalDecisions.ReportAppServer.DataSetConversion
        Assembly Version: 12.0.2000.0
        Win32 Version: 12.0.2000.683
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/CrystalDecisions.ReportAppServer.DataSetConversion/12.0.2000.0__692fbea5521e1304/CrystalDecisions.ReportAppServer.DataSetConversion.dll
    CrystalDecisions.ReportAppServer.DataDefModel
        Assembly Version: 12.0.1100.0
        Win32 Version: 12.0.1100.683
        CodeBase: file:///C:/WINDOWS/assembly/GAC/CrystalDecisions.ReportAppServer.DataDefModel/12.0.1100.0__692fbea5521e1304/CrystalDecisions.ReportAppServer.DataDefModel.dll
    CrystalDecisions.ReportAppServer.Controllers
        Assembly Version: 12.0.1100.0
        Win32 Version: 12.0.1100.683
        CodeBase: file:///C:/WINDOWS/assembly/GAC/CrystalDecisions.ReportAppServer.Controllers/12.0.1100.0__692fbea5521e1304/CrystalDecisions.ReportAppServer.Controllers.dll
    CrystalDecisions.ReportAppServer.CubeDefModel
        Assembly Version: 12.0.1100.0
        Win32 Version: 12.0.1100.683
        CodeBase: file:///C:/WINDOWS/assembly/GAC/CrystalDecisions.ReportAppServer.CubeDefModel/12.0.1100.0__692fbea5521e1304/CrystalDecisions.ReportAppServer.CubeDefModel.dll
    CrystalDecisions.ReportAppServer.ReportDefModel
        Assembly Version: 12.0.1100.0
        Win32 Version: 12.0.1100.683
        CodeBase: file:///C:/WINDOWS/assembly/GAC/CrystalDecisions.ReportAppServer.ReportDefModel/12.0.1100.0__692fbea5521e1304/CrystalDecisions.ReportAppServer.ReportDefModel.dll
    BusinessObjects.Licensing.KeycodeDecoder
        Assembly Version: 12.0.1100.0
        Win32 Version: 12.0.0.683
        CodeBase: file:///C:/WINDOWS/assembly/GAC/BusinessObjects.Licensing.KeycodeDecoder/12.0.1100.0__692fbea5521e1304/BusinessObjects.Licensing.KeycodeDecoder.dll
    CrystalDecisions.ReportAppServer.XmlSerialize
        Assembly Version: 12.0.1100.0
        Win32 Version: 12.0.1100.683
        CodeBase: file:///C:/WINDOWS/assembly/GAC/CrystalDecisions.ReportAppServer.XmlSerialize/12.0.1100.0__692fbea5521e1304/CrystalDecisions.ReportAppServer.XmlSerialize.dll
    System.Web.Services
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Web.Services/2.0.0.0__b03f5f7f11d50a3a/System.Web.Services.dll
    CrystalDecisions.Enterprise.Framework
        Assembly Version: 12.0.1100.0
        Win32 Version: 12.0.0.683
        CodeBase: file:///C:/WINDOWS/assembly/GAC/CrystalDecisions.Enterprise.Framework/12.0.1100.0__692fbea5521e1304/CrystalDecisions.Enterprise.Framework.dll
    CrystalDecisions.Enterprise.InfoStore
        Assembly Version: 12.0.1100.0
        Win32 Version: 12.0.0.683
        CodeBase: file:///C:/WINDOWS/assembly/GAC/CrystalDecisions.Enterprise.InfoStore/12.0.1100.0__692fbea5521e1304/CrystalDecisions.Enterprise.InfoStore.dll
    CrystalDecisions.Enterprise.Viewing.ReportSource
        Assembly Version: 12.0.1100.0
        Win32 Version: 12.0.1100.683
        CodeBase: file:///C:/WINDOWS/assembly/GAC/CrystalDecisions.Enterprise.Viewing.ReportSource/12.0.1100.0__692fbea5521e1304/CrystalDecisions.Enterprise.Viewing.ReportSource.dll
    CrystalDecisions.Web
        Assembly Version: 12.0.2000.0
        Win32 Version: 12.0.2000.683
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/CrystalDecisions.Web/12.0.2000.0__692fbea5521e1304/CrystalDecisions.Web.dll
    CrystalDecisions.ReportAppServer.Prompting
        Assembly Version: 12.0.1100.0
        Win32 Version: 12.0.1100.683
        CodeBase: file:///C:/WINDOWS/assembly/GAC/CrystalDecisions.ReportAppServer.Prompting/12.0.1100.0__692fbea5521e1304/CrystalDecisions.ReportAppServer.Prompting.dll
    Accessibility
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.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.
    2.Error:could not load file or assemble crystal decisions.windows.forms,version=12.0.2000.0,culture=natural,public key token=692fbea5521ea1304' or one of it's dependencies.the system cannot find the file specified please help me solve this problem.some client pc there is no problem we installed all related to Crystal reports and merge modules and 2.8 managed files.
    regds,
    sampath.

    Hi Sampath,
    did you have this error only on clients pc or also on the server when you launch the report from Sab Business One? If only on clients did it occur on all clients?
    Iris

  • "Load Report Failed" Error after upgrading to CR XI R2 and VS 2005

    Previously I had visual studio 2003 and crystal report XI and on my website project and I have this function where users can download their monthly statement. and it was working fine. here is my code of the function...
    Private Sub cmdStatement_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdStatement.Click
            Dim pReport As New ReportDocument
            pReport = New ReportDocument()
            Try
                'Dim pTable As Table
                pReport.Load(Server.MapPath(".") & "\reports\MonthlyStatement.rpt")
                pReport.SetDatabaseLogon(dbUser, dbPassword, dbServer, dbDatabase)
                pReport.RecordSelectionFormula = "{CCMSC.CID}='" & mCID & "'"
                Dim pArray() As String =
                DataAccess.SqlPublic.ExecuteDataset(cnString, "webDownloadEStatement", pArray)
                Response.ClearContent()
                Response.ClearHeaders()
                Response.ContentType = "application/pdf"
                pReport.ExportToHttpResponse(CrystalDecisions.[Shared].ExportFormatType.PortableDocFormat, Response, True, "DebtHelper_" & mCID & "_MonthlyStatement")
                pReport.Dispose()
            Catch ex As Exception
                divMessage.Visible = True
                lblMessage.Text = ex.Message
            Finally
                pReport.Dispose()
            End Try
        End Sub
    Now, recently I upgraded my crystal to CR XI Release 2 SP6 and also upgraded my web project to Visual Studio 2005 with .NET 2.0. and now it gives me "report load failed" error on the very first line pReport.Load(......)
    The project has updated the references related to crystal reports to the 11.5 version from 11.0. Not sure what am I missing here.
    I have also opened the report file in the new crystal and saved it. I also opened it in Visual Studio itself and saved it.
    I would appreciate any help possible.
    Thanks
    Raj

    Hi! Ludek,
    I have tried to hard code the path. I checked the win/temp folder and the aspnet account already has the read/write permissions.
    Below is the detailed error message:
    Error Message: Load report failed.
    Page Error Occurred: /MyDebthelper/reports.aspx
    ExceptionType: System.Exception
    Inner Exception: System.Runtime.InteropServices.COMException (0x800001F5): The Report Application Server failed at CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options) at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options) at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
    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 MyDebthelper.reports.cmdStatement_Click(Object sender, EventArgs e) in C:\Documents and Settings\RBhavsar\My Documents\Visual Studio 2005\Projects\MyDebtHelper\MyDebthelper\reports.aspx.vb:line 83 at System.Web.UI.WebControls.Button.OnClick(EventArgs e) at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    Thanks
    Raj
    Edited by: debthelper on Apr 30, 2010 5:21 PM

  • Reproducible error when loading many reports (Load report failed - Not enough memory for operation)

    Environment:
    Win 7 SP 1
    Visual Studio Pro 2012 Update 4
    Crystal Reports for Visual Studios Service Pack 10 (13.0.10.1385)
    Report created in Crystal Reports XI Release 2 (11.5.8.826)
    Targeting x86 .NET 4.0
    Scenario:
    We have a program that runs and creates a large number of reports before the process is ended. When running after many hours we'd get a Load report failed/Not enough memory of operation exception. I kept removing code and found i could reproduce just using the report.Load call. I simplified the report to a completely blank report to make sure it was nothing specific to a report I was loading. (Opened Crystal Reports XI Release 2, Save As, "Blank.rpt".). I then created, loaded, and disposed of this report in a loop. I was able to cause the same exception after 32,764 iterations on my machine. I also tried using .NET 3.5 same result. I added a counter to our main program and it also went through 32,764 report loads before the same exception was thrown. Main program uses 15 or so different reports with a variable number of subreports in each.
    Sample Code to illustrate the problem:
    I did this as a WinForms project since our main program is using winforms.
    References added:
    CrystalDecisions.CrystalReports.Engine
    CrystalDecisions.ReportSource
    CrystalDecisions.Shared
    CrystalDecisions.Windows.Forms
    using System;
    using System.Windows.Forms;
    using CrystalDecisions.CrystalReports.Engine;
    namespace CrystalTest
        public partial class Form1 : Form
            public Form1()
                InitializeComponent();
                int i = 0;
                try
                    while (true)
                        i++;
                        ReportDocument report = new ReportDocument();
                        report.Load("Blank.rpt");
                        report.Close();
                        report.Dispose();
                catch(Exception ex)
                    MessageBox.Show(i.ToString() + ex.Message);
    Exception:
    CrystalDecisions.Shared.CrystalReportsException: Load report failed. ---> System.Runtime.InteropServices.COMException (0x80041004):
    Not enough memory for operation.
       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 CrystalTest.Form1..ctor() in c:\Test Projects\CrystalTest\CrystalTest\Form1.cs:line 27

    int = Int32. No it's not the "counter" that's causing the problem. The max size of an int32 is far far larger than 32764.
    I am disposing and cleaning up the datasets in the main app. That is why I didn't include them in this test; they aren't relevant.
    I'm unsure why this test program is completely irrelevant. It throws the same exception, at the same count, as the main program. It does it in substantially less lines of code than our main program. I spent days running long tests to figure out exactly what I needed to make the problem appear so I could post a clean and precise post on these forums. I then created the test program to illustrate that.
    The "real" code as I said does stuff in sections and in a certain order.
    For each report I need to export based on rows in a table
    1. Creates a new Report Document
    2. Loads the report document with the report
    3. Creates a dataset of the data to display
    4. Calls SetDataSource
    5. Calls Report.ExportToDisk
    6. Disposes DataSets
    7. Closes/Disposes Reports
    To help isolate the problem I first took out the export to disk part (Step 5). The problem still occurred. I then took out everything related to our data. (Step 3, Step 4, Step 6). The problem still occurred. And yes I commented out this code in our main real program. This left me with:
    1. Creates a new Report Document
    2. Loads the report document with the report
    7. Closes/Disposes Reports
    At this point i had to prove it was not dependent on the report. This makes sure it's not a database connection, or pulling too much data into the report. The most efficient test for this is a blank report.
    So my order of operations becomes...
    1. Creates a new Report Document
    2. Loads the report document with a blank report
    7. Closes/Disposes Reports
    So you'll see this is exactly why I wrote this test the way that I did.
    I've had a run where it error on iteration 32761. My last runs have errored on 32764. I have had many runs over many weeks that all error with the same exception.
    There are no temp files left behind, With a test running you can see the temp files being added but they are immediately removed.

  • CR Locks on Database Expert existing rpt / Load report failed on new  rpt

    Visual Studio 2010 SP1 / CR 2010 13.0.1.220
    1) Have a CR (VB) that has been working fine in development for over two weeks and suddenly locks up when attempting to open Database Expert. I right click it to select Expert ... and then nothing. I have to terminate the task.
    2) Loaded a Backup of this project to attempt to save the work on the report...same thing...locks up when attempting to open Database Expert. This report will compile and bring data (from XML) into the viewer but I cannot add additional information from the XML using Database Expert.
    3) Went to create a totally new crystal report...bombs at the point when the CReport tries to load with error: "Load report failed"
    4) From threads on this forum...tried suggestion of downloading and converting "vbnet_win_SimplePreviewReport" from VS2002 to VS2010 ... still receive error "load report failed" when it tries to find "World Sales Report.rpt" even though this report is in this directory: C:\Crystal\CRNET\vbnet_win_SimplePreviewReport\vbnet_win_SimplePreviewReport
    I need some assistance to resolve these errors.

    See KB [KB 1540637 - Error: External component has thrown an exception. Launching the Database Expert in the embedded Crystal Reports designer in Visual Studio|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333533343330333633333337%7D.do]
    For more info, search the forums.
    Repair of VS2010 and CRVS2010 should also be considered.
    - Ludek
    Edited by: Ludek Uher on Apr 28, 2011 7:11 AM

Maybe you are looking for

  • MN: SG119 Calculated conversion rate 8.500.000,00000- is too big

    Dear All, While creating a PR we are getting the subject mentioned error. I checked OB08 where exchange rate is maintained correctly. While creating the PR its aksing me commitment item, after i putting commitment item its showing me the subject ment

  • Connecting Crystal Reports to unicerse

    I am trying to connect to a SAP universe through Crystal Reports 2008. The connection to the universe is made and all the universes in the repository are seen. But when objects are selected to form a query it shows a error message called 'logon faile

  • Won't import, all album artwork gone

    Hair being pulled out as we speak. For some reason when recently opening ITunes, every single tune had been copied. The copy did not play but instead said it could not locate the tune. So I went thru the entire list and deleted each of the "bad" copi

  • Can't drag & drop thumbnails in grid view

    Version 1.2: While in Grid view, I am unable to drag and drop thumbnails to manually sort. I am grabbing from the center of the thumbnail and the thumbnail turns to the dotted rectangle. However, when I drag, nothing happens. Has anybody encountered

  • How to keep applet's JFrame alive as browser's closed or, goes to other URL

    My applet has a JFrame that pops up when the applet is downloaded. Right now, if the browser goes to a different page or, if it is closed, the frame disappears. I would like to know how to keep the frame alive. Thanks.