Load Report Failed (Invalid Report File Path)

  • Thread starter Thread starter Jerzon Barbacena
  • Start date Start date
J

Jerzon Barbacena

Guest
I have old Asp.net web application (Visual Studio 2005) deployed in Windows Server 2012 and it runs for years. Now, we are encountering "Load report failed - Invalid Report File Path" error. Then I checked the code if the .rpt file has correct path and the actual .rpt file is already in the web server and yet, it was there. Ever since we are encountering this error, we just recycling the App pool of the application in IIS and the app runs smoothly again.

Any ideas on how this issue prevent from recurring?

Thanks.

Here's the snippet of my code:

reportPath = Server.MapPath("~\crm-DailyActualSalesCompressed.rpt")
pReportDoc.Load(reportPath)
pReportDoc.SetDatabaseLogon(myConInfo.UserID, myConInfo.Password, myConInfo.ServerName,
myConInfo.DatabaseName)

Continue reading...
 
Back
Top