zoukankan      html  css  js  c++  java
  • 水晶报表连续打印

    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

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

  • 相关阅读:
    居中
    <script type="text/javascript"></script>
    移动端获取全文高度
    video
    transition animation
    移动端隐藏overflow:auto滚轮
    Vue将组件data内的数据重置
    文字刚刚刚刚刚好的居中
    小程序总结(不断更新)
    vue组件之间的传值
  • 原文地址:https://www.cnblogs.com/chaodongwang/p/1210542.html
Copyright © 2011-2022 走看看