【发布时间】:2014-11-11 05:51:02
【问题描述】:
我正在使用水晶报表。使用水晶报告,我已经完成了一些没有。的历史记录。现在只想加载 1139 条记录来显示,我收到了类似上面的错误:
Server Error in '/EasyWeb' Application.
The maximum report processing jobs limit configured by your system administrator has been reached.
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: The maximum report processing jobs limit configured by your system administrator has been reached.
Source Error:
Line 807: dt.Rows.Add(dr);
Line 808: ReportDocument reportdocument = new ReportDocument();
Line 809: reportdocument.Load(Server.MapPath(@"~/Admin/UserReport.rpt"));
Line 810: reportdocument.SetDataSource(myDataSet);
Line 811: reportdocument.SetDatabaseLogon("user", "user123");
Source File: f:\EasyWeb\Admin\User_Management.aspx.cs Line: 809
Stack Trace:
[COMException (0x80041016): The maximum report processing jobs limit configured by your system administrator has been reached.]
CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options) +0
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options) +144
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +526
[CrystalReportsException: Load report failed.]
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +621
CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob) +1969
CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename) +186
Admin_User_Management.lbut_print_Click(Object sender, EventArgs e) in f:\EasyWeb\Admin\User_Management.aspx.cs:809
System.Web.UI.WebControls.LinkButton.OnClick(EventArgs e) +111
System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) +79
System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +175
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565
Version Information: Microsoft .NET Framework Version:2.0.50727.3053; ASP.NET Version:2.0.50727.3053
-------------------------已更新------ -----------------------------------------
reportdocument.Load(Server.MapPath(@"~/Admin/PostHistoryReport.rpt"));
reportdocument.SetDataSource(myDataSet);
reportdocument.SetDatabaseLogon("user", "user123");
CrystalReportViewer1.ReportSource = reportdocument;
reportdocument.Clone();
reportdocument.Dispose();
GC.Collect();
但它在加载时给了我错误,我将它的屏幕截图包含在摘要中。
【问题讨论】:
-
您在哪里看到此错误?在 CR 中或通过在 BO CMC 等服务器中上传 CR
标签: crystal-reports asp.net-3.5