I got the problem in Crystal Report- Error Messsage:Load report failed

蓝咒 提交于 2020-01-06 06:57:32

问题


I got the problem in Crystal Report- Error Messsage:Load report failed.

how to solve this issue??.


回答1:


If your report is running for awhile and then falls over make sure you Dispose it.......

if(myReport != null)
{
    myReport .Close();
    myReport .Dispose();
}



回答2:


You can call show data on report in DataBinding and Navigate methods.

protected void CrystalReportViewer1_DataBinding(object sender, EventArgs e)
{
    this.ShowReportData();
}  

protected void CrystalReportViewer1_Navigate(object source,  CrystalDecisions.Web.NavigateEventArgs e)
{
    this.ShowReportData();
}


来源:https://stackoverflow.com/questions/2916343/i-got-the-problem-in-crystal-report-error-messsageload-report-failed

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!