Load Report Failed (Invalid Report File Path) RRS feed

  • Question

  • 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?


    Here's the snippet of my code:

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

    Friday, November 22, 2019 2:12 AM

All replies

  • Consider asking at https://forums.asp.net/

    Please remember to mark the replies as answers if they help and unmarked them if they provide no help, this will help others who are looking for solutions to the same or similar problem. Contact via my Twitter (Karen Payne) or Facebook (Karen Payne) via my MSDN profile but will not answer coding question on either.

    NuGet BaseConnectionLibrary for database connections.

    profile for Karen Payne on Stack Exchange

    Friday, November 22, 2019 2:44 AM