How to increase maximum processing jobs of crystal report in IIS7?

The maximum report processing jobs limit configured by your system administrator has been reached.

My all code works fine but after some time it shows the error that Crystal Report maximum processing jobs limit exceeded. How i can increase this to unlimited or a greater number of processing limit? so that it will not show this error again and again. It works fine on my system(local) but when i deploy this application on server then this error will arise after some time. any body can help me to resolve this issue

Answers


Can you post your code?

Ensure you are doing:

ReportDocument.Close();
ReportDocument.Dispose();

You can adjust the registry entry under HKLM\SOFTWARE\Business Objects[Version#]\Report Application Server\InProcServer\PrintJobLimit. Be careful when changing it on the server as this determines the amount of resources that can be used. I would suggest checking your code to make sure you are disposing the report objects properly as you should not need to increase the limit unless you have a large number of concurrent users generating reports.


It is better if you use try..catch..finally. It helps on disposing:

try

    {
        //your code
    }

catch (Exception ex)

    {
        Response.Write(ex.Message);
    }

finally

    {
        ReportDocument.Close();
        ReportDocument.Dispose();
    }

I hope it helps you.


Need Your Help

Do I need to include #!/usr/bin/perl line in Perl script on Windows?

perl

I just installed ActivePerl on Windows and have begun to learn Perl. In the book that I'm reading, the first code example is this: