WEB下的水晶报表在正常运行一段时间后,出现以下错误:

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

后来发现,水晶报表会在注册表中注册,并限制了打印数量为75,更改以下注册表内容:

Software\Business Objects\Suite 11.0\Report Application Server\ImProcServer\PrintJobLimit

将PrintJobLimit由75改为0,然后重启动计算机后,故障排除

根本的解決方法是做好释放物件的动作。例如可在Page_Unload時,執行以下程式:
    Protected Sub Page_Unload(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Unload
        If TypeOf CrystalReportViewer1.ReportSource Is ReportDocument Then
            Dim report As ReportDocument
            report = CrystalReportViewer1.ReportSource
            If report IsNot Nothing Then
                report.Close()
                report.Dispose()
            End If
  End If
    End Sub

希望对遇到同样问题的朋友一个解决方法。

posted on 2008-05-30 11:04  王朝东  阅读(989)  评论(0编辑  收藏  举报