Click here to Skip to main content
15,939,065 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
i m doing a project in asp.net with c#,it is a windows form single user application,my project was running fine but suddenly this error "load report fail" occurred when i had done debugging.
after going through the code i found this message "the maximum report processing jobs limit configured by your system administrator has been reached"
error is in some relation with report resource.
and it is an inner exception
hresult is -2146232832
please help!
how to get my project back to it's working state
Posted
Updated 12-May-13 2:12am
v2

1 solution

Hi,
By default, the print job limit is set to 75 print jobs. When it reaches the limit you will get this error. Print job limit is set by the following registry entry ==>
HKEY_LOCAL_MACHINE\SOFTWARE\CRYSTAL DECISIONS\10.0\REPORT APPLICATION SERVER\SERVER\PrintJobLimit

1. You can manually change the PrintJobLimit, I would not recommend doing that since you are directly altering the registry. If one is comfortable can do that

2. Delete the .tmp files from %systemroot\Windows\temp – You might have lot of crystal report temporary file created with GUID as a file name, delete them. Crystal always creates them when you view the report in ASP.NET

3. You would like to add a code to unload and flush the report when page in unloaded, please have a look at the following code to get the idea

C#
protected void crptViewer_Unload(object sender, EventArgs e)
{
    if (_reportDoc != null)
    {
       _reportDoc.Close();
       _reportDoc.Dispose();
    }
}


Hope this helps,
Thanks - Nilesh
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900