使用水晶报告在iis中生成报告但是抛出错误消息? [英] Using crystal report to generate report in iis but throwing errror message?
问题描述
我去了这个错误
CrystalDecisions.Shared.CrystalReportsException:加载报告失败。 ---> System.Runtime.InteropServices.COMException:不支持的操作。由JRC引擎处理的文档无法在C ++堆栈中打开。 CrystalDecisions的CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object&DocumentPath,Int32 Options)中的CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object&DocumentPath,Int32 Options)在CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()---内部异常堆栈的结束trace ---在CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename,OpenReportMethod openMethod,Int16 parentJob)的CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()处于LedgerMgmt的CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename) .Controllers.GenericReportViewerController.ShowGenericRpt()在D:\\\ tidgermgmt \LedgerMgmt \Controllers \GenericReportViewerController.cs:第45行
如何解决这个问题?
I go this 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. 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 LedgerMgmt.Controllers.GenericReportViewerController.ShowGenericRpt() in D:\ledgermgmt\LedgerMgmt\Controllers\GenericReportViewerController.cs:line 45
how to solve this problem?
推荐答案
Crystal Reports:修复加载报告失败错误。 [ ^ ]
这篇关于使用水晶报告在iis中生成报告但是抛出错误消息?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!