水晶报表老师莫名奇妙的不能打印了,代码没问题,查资料,说是,VS2005自带的水晶报表有使用次数的限制?是吗?如何解决 啊,

解决方案 »

  1.   

    解决办法:
    更改注册表
    具体为修改下面两个键的值。
    HKEY_LOCAL_MACHINE;SOFTWARE;Crystal Decisions;10.0;Report Application
    Server;InprocServer;PrintJobLimit修改为1000
    还有一个HKEY_LOCAL_MACHINE;SOFTWARE;Crystal Decisions;10.0;Report Application
    Server;Server;PrintJobLimit 
    也修改为1000 
    我现在用的就是VS2005自带的水晶报表,很好用。
      

  2.   

    解决vs2005自带水晶报表次数的限制的次数 
    已达到系统管理员配置的最大报表处理作业数限制。解决办法:
    具体为修改下面两个键的值。
    HKEY_LOCAL_MACHINE\SOFTWARE\Crystal Decisions\10.0\Report Application
    Server\InprocServer\PrintJobLimit修改为1000
    还有一个HKEY_LOCAL_MACHINE\SOFTWARE\Crystal Decisions\10.0\Report Application
    Server\Server\PrintJobLimit 也修改为1000
      

  3.   

    在页面关闭时释放报表资源。
    private ReportDocument CommonReport=new ReportDocument(); 
            private void Page_Unload(object sender, EventArgs e)
            {
                CommonReport.Close();
                CommonReport.Dispose();
            }