首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >无法为SAP Crystal Server 2013评估加载报告

无法为SAP Crystal Server 2013评估加载报告
EN

Stack Overflow用户
提问于 2013-11-15 16:10:37
回答 1查看 660关注 0票数 0

总之,我遵循了Here和tring的指导,将SAP Crystal Reports for EnterpriseSAP Crystal Server 2013 SP1 Client Tools集成在一起工作。所有这些安装都没有问题。但是我从Sap Crystal Reports for Enterprise构建的每个报告都不能加载到我的测试vs2010 web项目中。

所以我想知道这两者是否能很好地合作。因为我的测试代码非常简单。但不幸的是,它失败了。我已经研究了几天了。但并不能让它正常工作。下面的代码和异常显示在.Please帮助中,用于检查它。

代码语言:javascript
复制
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!!!");

    }

异常是这样的:

代码语言:javascript
复制
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)

我是不是错过了什么或者做错了什么?如果有的话,请告诉我。谢谢。

EN

回答 1

Stack Overflow用户

发布于 2013-11-15 22:12:54

我会尝试安装Crystal Reports for Visual Studio运行时,然后再尝试。可在此处下载:http://downloads.businessobjects.com/akdlm/cr4vs2010/CRforVS_13_0_7.exe

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/19996380

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档