SAP Knowledge Base Article - Preview

2796627 - Using images from DB blob fields in a RPTR generates a error: Load report failed: The Report Application Server failed

Symptom

We plan to configure RPT crystal report files and then export them to the RPTR format (read-only). In our integration of the viewer - using the Crystal Engine/Runtime object model - we will set values to report parameters and then let the runtime load data based on this. Now, we want to display images in such an RPTR report. We have the image data source stored in database in BLOB fields.

I have seen that using BLOB as image source works when it’s used in a RPT file (drag/drop blob from field explorer in the report), the template loads without errors and the image is displayed.

Problem: After exporting such a RTP template to RPTR, this doesn’t work anymore as the template can’t be loaded. When calling CrystalDecisions.CrystalReports.Engine.ReportDocument -> Load method, we get CrystalDecisions.Shared.CrystalReportsException: Load report failed. ---> System.Runtime.InteropServices.COMException: 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, OpenReportMethod openMethod)


Read more...

Environment

Crystal Reports Developer, for Visual Studio

Product

SAP Crystal Reports 2011 ; SAP Crystal Reports 2013 ; SAP Crystal Reports, developer version for Microsoft Visual Studio

Keywords

rptr, CR for VS, Load report failed: The Report Application Server failed , KBA , BI-DEV-NET , BI Software Development Kits (SDKs) - .NET or Other , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.