1685081 - Error : "Unsupported Operation. A document processed by the JRC engine cannot be opened in the C++ stack".

SAP Knowledge Base Article - Public

1685081 - Error : "Unsupported Operation. A document processed by the JRC engine cannot be opened in the C++ stack".

Symptom

  •  A Crystal Reports .NET web application to view a report throws below error on web server.

Error :  "Unsupported Operation. A document processed by the JRC engine cannot be opened in the C++ stack"

  • Application works fine in the development environment.
  • The application and Crystal reports (.rpt files) are deployed using Visual Studio 'Publish' option.

Environment

  • Visual Studio 2010
  • Crystal Reports for Visual Studio 2010 SP2

Cause

  • The .rpt files are not properly deployed or contents of the .rpt files are not intact.
  • While deploying the application and Crystal reports through Visual Studio 'Publish' option, the reports were not completely deployed on the web server.
  • To determine the cause of the issue, compare the file sizes of the Crystal reports from web server to the reports on the development machine.
  • Deploying the application with Crystal reports through Visual Studio 'Publish' option to the web server reduces size of the .rpt files to 1 kb.

Resolution

Make sure that the reports are properly getting deployed along with the content.

Or

Manually copy the Crystal reports on the web server at the specified location.

See Also

1245654 - A Crystal Reports.NET web application deployed using the Visual Studio 'Publish' option, throws "Load Report Failed" error.

1648595 - ReportDocument.Load() throws "Unsupported Operation. A document processed by the JRC engine cannot be opened in the C++ stack" error

Keywords

KBA , BI-DEV-NET-SDK , .NET SDK / COM SDK , Problem

Product

SAP Crystal Reports, developer version for Microsoft Visual Studio