Aqeel
Aqeel

Reputation: 689

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

Upvotes: 0

Views: 4423

Answers (3)

user2218360
user2218360

Reputation: 1

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.

Upvotes: 0

Lee Tickett
Lee Tickett

Reputation: 6057

Can you post your code?

Ensure you are doing:

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

Upvotes: 1

Justin
Justin

Reputation: 2103

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.

Upvotes: 0

Related Questions