I have recently run into the problem with the error message, "The maximum report processing jobs limit configured by your system administrator has been reached."
I have tried to implement the Close and Dispose methods of the ReportDocument but I have a big problem. The Close method takes a long time, 30-60 seconds to execute.
I did the following to isolate the problem:
1) Created a new, blank windows application
2) Created added a new, blank crystal report to the solution
3) Put the following code in a button click event:
Does anyone know of a different way to clean up?
Is this happening to anyone else?
Any thoughts are appreciated!
I have tried to implement the Close and Dispose methods of the ReportDocument but I have a big problem. The Close method takes a long time, 30-60 seconds to execute.
I did the following to isolate the problem:
1) Created a new, blank windows application
2) Created added a new, blank crystal report to the solution
3) Put the following code in a button click event:
Code:
CrystalReport1 rpt = new CrystalReport1();
//This is necessary to load the crystal report
rpt.SetParameterValue("Test", "Test");
//This is the recommended cleanup
//If you omit these steps, you will get an exception
//after you click this button more than 75 times
rpt.Close(); //This method takes 30-60 seconds to execute
rpt.Dispose();
Does anyone know of a different way to clean up?
Is this happening to anyone else?
Any thoughts are appreciated!