Error: CrystalDecisions.Shared.CrystalReportsException: Load report failed. —> System.Runtime.InteropServices.COMException: Unsupported Operation. A document processed by the JRC engine cannot be opened in the C++ stack

Error:
Unable to display report in report viewer.

InitalizeReportViewer()
CrystalDecisions.Shared.CrystalReportsException: Load report failed. ---> System.Runtime.InteropServices.COMException: 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 RocktonReportEngine.ReportForms.CrystalReport.InitalizeReportViewer(String fileName)

Resolutions:

Resolution 1
Most commonly, this error indicates that you probably have the Crystal Report open in the Business Objects Crystal Designer. It simply needs to be closed.

Resolution 2
It could also be an issue with File Level Security for the report in question. The user needs to have READ access to the file even if it is accessed through DRM.  

Resolution 3
There could be an issue with the Print Job Limit. Try changing the PrintJobLimit from 75 to -1 in. 

  1. Go to your Star | Run.
  2. Type REGEDIT and then click OK.
  3. Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Crystal Decisions\10.2\Report Application Server\Server\PrintJobLimit. Your path may be slightly different, not sure.
  4. Once you find the PrintJobLimit, change it to -1.

If the error continues, please review the information at these two links for further recommendations.
Starting on page 3, there is information for troubleshooting this error by SAP, the owner of the Crystal Viewer included with DRM. 
Note: Like GP, DRM requires an ODBC (RDO) connection. It does not support ADO.)
     
www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d02f7cd3-f18b-2d10-55ad-dab2200f68fc?QuickLink=index&overridelayout=true&53240414858625  
 
If the link above did not provide a solution, please take a look at the recommendations at this link. It could be because the computer does not have a C:.
www.jasonwebber.com/2008/07/27/crystal-reports-10-runtime-and-citrix/ 

 

Related Content