我 运行程序时候,调用水晶报表5,6次 ,(我用crystalreportview控件)可以正常显示报表信息,但是运行多了,就发生如下的错误,请问高手怎么解决啊,
错误如下:
The maximum report processing jobs limit configured by your system administrator has been reachedDescription: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Runtime.InteropServices.COMException: The maximum report processing jobs limit configured by your system administrator has been reached.Source Error: Line 45:                 ReportDocument rpt = new ReportDocument();
Line 46:                 string path = Server.MapPath("XiaoZhangFaPiaoRecord.rpt");
Line 47:                 rpt.Load(path);          
Line 48: 
Line 49:      
请教高手了,急啊

解决方案 »

  1.   

    可能是对象没有释放
    你用using看看
      

  2.   

    比如说, 在 a.aspx 有  按扭 a  ,  点击它  调用 b.aspx  ,   b.aspx有 crystalreportview控件  ,和 一个按扭b(按这个按扭将返回到a.aspx),         我现在按 
    a.aspx的  按扭 a  显示 b.aspx中的  水晶报表数据,  然后  按b.aspx的 按扭b,返回到a.aspx,   这样 5,6次  没问题,但是  多 了就出现 上述问题了   请高手 帮帮忙,是什么原因啊,谢谢了
      

  3.   

    注册表中 找到 PrintJobLimit 设置为 0