简体   繁体   English

如何增加IIS7中水晶报表的最大处理任务数?

[英]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.我的所有代码都工作正常,但一段时间后它显示错误,即超出 Crystal Report 最大处理作业限制。 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任何机构都可以帮助我解决这个问题

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.您可以调整 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.最好使用 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.我希望它能帮助你。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM