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

I had this exact problem. I came up with the following solution. Please note: if someone has a better one please tell me! This works, but it doesn't mean it's the best.

First, in my code behind I was declaring an object to 'be' the report in a sub-routine. I had to stop doing that. Instead I declared a generic object which would (later) become an instance of my report. (in my case I have a number of reports and which gets displayed is decided through code. If your page only ever shows one report then you can declare your report instead of a generic object.)

I declared mine above my Page_Load like this:

<code>
   Private myReport As Object
</code>

Then, where I used to create my instance of the report I do this instead:

<code>
myReport = New crTextResponsesBTW
</code>

That ensures that the myReport object is now an instance of the correct report.

Then everything else is the same except I added the following section to my page:

<code>

Private

Sub Page_Unload( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Unload

myReport.close()
myReport.dispose()

 

End Sub

</code>

I found that I could not put the myReport.Close and .dispose in the functions or subs. It had to be in the Page_Unload. It worked.

I don't like declaring generic objects early (I like to create specific obects late) but I couldn't come up with a better way.

 

am also trapped in this problem.It may be restricted by adding a counter to report generation event that may be button click or page load and then displaying message before max limit. i.e 75 

The print job limit is controlled by the following reg key:
HKEY_LOCAL_MACHINE/SOFTWARE/CRYSTAL DECISIONS/10.0/REPORT APPLICATION SERVER/SERVER/PrintJobLimit
 
You can try increasing this number to stop the error from happening.  This may stop the error from occurring temporarily but as load increases, you find this error will start to occur again.  You are better to look at scaling your application by adding more hardware to the system.

*Do not increase it more than necessary since it can degrade the machines performance.

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值