Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# ASP.NET Windows Forms
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 12-May-13 3:10am
hrlp252
Edited 12-May-13 3:12am
v2

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

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
 
	  
protected void crptViewer_Unload(object sender, EventArgs e)
{
    if (_reportDoc != null)
    {
       _reportDoc.Close();
       _reportDoc.Dispose();
    }
}
 
Hope this helps,
Thanks - Nilesh
  Permalink  

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

  Print Answers RSS
0 OriginalGriff 365
1 Sergey Alexandrovich Kryukov 319
2 CPallini 275
3 DamithSL 214
4 Maciej Los 185
0 OriginalGriff 5,455
1 DamithSL 4,457
2 Maciej Los 3,885
3 Kornfeld Eliyahu Peter 3,480
4 Sergey Alexandrovich Kryukov 3,115


Advertise | Privacy | Mobile
Web04 | 2.8.141216.1 | Last Updated 22 May 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100