cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

____________________________________________________________________________________________

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!

0 Kudos

How are you deploy the CR runtime?

And have you searched here for other posts?

Don

Former Member
0 Kudos

I have installed CRRuntime_32bit_13_0_1.msi on the webserver. I also searched other posts and was unable to get a clear answer.

Thanks.

Edited by: wstoner on Aug 5, 2011 9:47 PM

Former Member
0 Kudos

I was just having that exact error and my problem was that the Path I was giving Report.Load method was invalid. Make sure your path is actually pointing to your report file and see if that helps. Not sure if our problems are the same but it is easy enough to check.

Former Member
0 Kudos

Thank you for your response. I do not have a report.load event for this report. Here is the code for the page that accesses the report in question:

====================================================================================

Imports CrystalDecisions.CrystalReports.Engine

Imports CrystalDecisions.ReportSource

Imports CrystalDecisions.Shared

Imports CrystalDecisions.Web

Partial Class Reports_POD

Inherits System.Web.UI.Page

Public Overridable Sub SetDatabaseLogon(ByVal user As String, ByVal password As String)

End Sub

Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load

Me.CrystalReportViewer1.ParameterFieldInfo.Clear()

CrystalReportSource1.ReportDocument.SetDatabaseLogon("username", "password")

CrystalReportSource1.ReportDocument.SetParameterValue(0, Request.QueryString("ord"))

End Sub

End Class

====================================================================================

Please let me know if this helps.

former_member183750
Active Contributor
0 Kudos

If you do not load the report, how are you going to work with it?

Ludek

Answers (0)