Crystal报告加载报告失败 [英] Crystal report Load Report Failed
本文介绍了Crystal报告加载报告失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
每当我尝试使用Visual Studio .NET 2005中内置的Crystal Report Viewer查看Crystal Report时,我都会收到一个未处理的异常,说"加载报告失败。"。
在2008 Windows服务器我得到负载报告失败后这个异常,如果我重新启动服务器它的工作正常一段时间,究竟是什么问题?,如何解决这个问题?
Whenever I try to view a Crystal Report using the Crystal Report Viewer built in to Visual Studio .NET 2005, I get an unhandled exception saying the "Load Report Failed.".
In 2008 windows server i am getting Load Report Failed after this exception,if i restart the the server its working fine for some time,what is exact problem ?, how to fix this problem ?
推荐答案
hi,
将此行放入ur crystl应用程序并尝试使用,所有.CrystalReportViewer1 .Dispose();
this.CrystalReportViewer1 = null;
rpt.Close();
rpt.Dispose();
GC.Collect();
<希望,它可以帮助你。
Put this line in to ur crystl application and try it,
this.CrystalReportViewer1.Dispose();
this.CrystalReportViewer1 = null;
rpt.Close();
rpt.Dispose();
GC.Collect();
Hope, its helps you.
这篇关于Crystal报告加载报告失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文