水晶报表报错----Not enough memory for operation.
Server Error in '/' Application.
--------------------------------------------------------------------------------
Not enough memory for operation.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Runtime.InteropServices.COMException: Not enough memory for operation.
Source Error:
Line 174: ReportDocument report = new ReportDocument();
Line 175: string reportPath = Server.MapPath("R_s_moveinfo.rpt");
Line 176: report.Load(reportPath);
Line 177: report.SetDataSource(ds); CrystalReportViewer1.ReportSource = report;
Line 178: CrystalReportViewer1.DataBind();
Source File: e:\WEB\epqc2\front\RS_moveinfo.aspx.cs Line: 176
Stack Trace:
[COMException (0x80041004): Not enough memory for operation.]
CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options) +0
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options) +87
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +366
[CrystalReportsException: Load report failed.]
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +429
CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob) +871
CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename) +73
front_RS_moveinfo.Page_Init(Object sender, EventArgs e) in e:\WEB\epqc2\front\RS_moveinfo.aspx.cs:176
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +15
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +33
System.Web.UI.Control.OnInit(EventArgs e) +99
System.Web.UI.Page.OnInit(EventArgs e) +9
System.Web.UI.Control.InitRecursive(Control namingContainer) +321
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +834
有人知道是什么原因吗??我是在第一次点击成功,但是后来点击就会出错了,过了一段时间又好了,但是经常会出现这样的问题,麻烦各位了,给我想想则、、、、