Ayyappan Anbalagan
Ayyappan Anbalagan

Reputation: 11312

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

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

how to solve this issue??.

Upvotes: 0

Views: 868

Answers (2)

Khalid Farhan
Khalid Farhan

Reputation: 475

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();
}

Upvotes: 2

ACP
ACP

Reputation: 35264

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

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

Upvotes: 1

Related Questions