本文介绍了Crystal Report提供异常“操作内存不足。”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在加载水晶报告时,我得到的操作内存不足。例外。
以下代码:
Hi,
While loading a crystal report I am getting "Not enough memory for operation." exception.
at below code:
crystalReport1.Load(Server.MapPath("..\Reports\Report.rpt"), OpenReportMethod.OpenReportByDefault)
StackTrace我有:
$ b在CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename,OpenReportMethod openMethod,Int16 parentJob)
StackTrace I have is :
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)
at Web_AllTenantReport.GenerateReport() in C:\Report.aspx.vb:line 175
at Web_AllTenantReport.Page_Load(Object sender, EventArgs e) in C:\Report.aspx.vb:line 94
at System.Web.UI.Control.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
请帮助摆脱这个异常。请帮忙。
Please help to get rid of this exception. Please help.
推荐答案
这篇关于Crystal Report提供异常“操作内存不足。”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!