This problem occurs when developing Crystal Reports.
1.The maximum number of report processing jobs configured by the system administrator has been reached.
This problem I previously published only need to modify the registry can be. http://www.cnblogs.com/daxia/archive/2006/11/25/571886.html
2. An error occurred while using the crystal report.
At the beginning, the user was very normal, but when using the report for one day (the user used the report frequently), "Report loading failed" would occur, and then the user restarted the server, for more information, see the screenshot.
I found that there are a large number of crystal report files in the temporary file c: \ windows \ Temp. Several files are generated every time you use them, if the computer is not restarted, it will not be deleted, but a large number of useless files will appear, I searched Google and found that some people encountered such a situation, but the answer was vague. I just said that I would close the file loaded with the crystal report, it can be seen from this that such errors should be made by programmers.
The solution is as follows:
1. The reportdocumen instance must be a class member.
Private ReportDocument prtp = New ReportDocument ();
2. After using the crystal report, you must close the file so that it will not be generated in the temporary file of windows.
Private Void Page_unload ( Object Sender, eventargs E)
{
Prtp. Dispose ();
}
Page_unloadThe event is run when the page is fully displayed.