Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

The report can not be loaded for SAP Crystal Server 2013 Evaluation

All , I was following the guide from  http://global12.sap.com/campaign/ne/free_trial/crystal_reports_server_2013/wty_int_crystal_reports_server_2013.epx?Level=1&FormResultID=60f087d7-4ab0-4efd-a30f-05933dac83ac&ContinueURL=%2fcampaign%2fne%2ffree_trial%2fcrystal_reports_server_2013%2findex.ep and try to integrate the SAP Crystal Reports for Enterprise and SAP Crystal Server 2013 SP1 Client Tools to work together. all of them are installed without problem. But every reports I build from Sap Crystal Reports for Enterprise can not be loaded in my test vs2010 project .

So I wondered if these two can work together well. because my test code is very simple. But unfortunatedly it failed. I have been working on it for couple of days. But does't get it work.  the code and exception shows below .Please review it .

protected void Page_Load(object sender, EventArgs e)
    {
        ReportDocument rpt = new ReportDocument();
        rpt.Load(Server.MapPath("~/test123.rpt")); // This line failed.
        System.Console.Write("ok!!!");

    }

the exception says :

Load report failed.

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

Source: CrystalDecisions.CrystalReports.Engine

   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 _Default.Page_Load(Object sender, EventArgs e) in f:\Study\VS2010\WebSite3\Default.aspx.cs:line 16

   at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)

   at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(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)

Did I miss something or do something wrong ? Please help me . thanks.

Tags:
Former Member
replied

Correct, CR for Enterprise Reports can NOT be open using either of the SDK's, .NET or Java.

I have to get clarification what the info in the Wiki means:

There is no Java or .NET SDK to create standalone 2 tier applications or to create applications that create or modify SAP Crystal Reports for Enterprise, however applications can be created with the SAP BusinessObjects BI 4.0 SDK  to use the BI4.0 platform servers to manage, schedule and view reports for both SAP Crystal Reports 2011 and  SAP Crystal Reports for Enterprise.

My question is can you view a successful instance of a scheduled report???? without opening the report...

I'll get back to you with this...

Don

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question