ich Crystal Report verwenden und ich erhalte Fehler:Der maximale Bericht Verarbeitungsaufträge vom Systemadministrator konfigurierte Grenze wurde
The maximum report processing jobs limit configured by your system administrator has been reached
Ich habe gesucht und gefunden Stackoverflow 2 Thema:
- Crystal Reports Error: The Maximum Report Processing Jobs Limit
- Crystal Reports Exception: The maximum report processing jobs limit configured by your system administrator has been reached
Aber wenn ich tun, wie Thema 1, ändern PrintJobLimit = -1, der Fehler weiterhin auftreten.
Wenn ich als Thema 2 tun, habe ich noch nicht testen, weil mein Bericht zwischen den Seiten navigieren muss. So navigieren, muss ich Bericht in der Sitzung speichern:
ReportDocument reportDocument = null;
protected override void OnInit(EventArgs e)
{
if (IsPostBack && Session["reportDocument"] != null)
{
reportDocument = (ReportDocument)Session["reportDocument"];
crvReport.ReportSource = reportDocument;
}
}
protected void Page_Load(object sender, EventArgs e)
{
reportDocument = new ReportDocument();
Session["reportDocument"] = reportDocument;
crvReport.ReportSource = reportDocument;
reportDocument.Load(Server.MapPath("~/files/Users.rpt"));
reportDocument.SetDatabaseLogon("******", "******", "*.*.*.*", "*****");
reportDocument.VerifyDatabase();
crvReport.DataBind();
}
So kann ich nicht Report in Entlade entsorgen, da Session [ "Report"] Änderung
protected void crvReport_Unload(object sender, EventArgs e)
{
if (reportDocument != null)
{
reportDocument.Close();
reportDocument.Dispose();
reportDocument = null;
GC.Collect();
}
}
Also auf null, wie kann ich die Navigation zwischen Seiten im Bericht, aber ich erhalte den Fehler nicht?
Vielen Dank