Crystal Reports 13.0.2000.0 - Invalid report file path. - Windows 7 - Only when published RRS feed

  • Question

  • User-53824557 posted

    Hi All

    I have ported a vs2008 ASP.net project to vs2010 and my target .Net framework is 4

    When trying to view a report when the project is published I get a:-

    Server Error in '/***' Application.
    Invalid report file path. 
      Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 
     Exception Details: CrystalDecisions.CrystalReports.Engine.LoadSaveReportException: Invalid report file path.
    Source Error: 
    [No relevant source lines]
     Source File:  c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\****\789757cd\86c3df62\App_Web_lrg53oyw.1.cs    Line:  0 
    Stack Trace: 
    [LoadSaveReportException: Invalid report file path.]
       CrystalDecisions.CrystalReports.Engine.EngineExceptionUtils.DoThrowException(String message, EngineExceptionErrorID id) +40
       CrystalDecisions.CrystalReports.Engine.ExceptionThrower.ThrowEngineException(String messageID, EngineExceptionErrorID id) +164
       CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob) +143
       CrystalDecisions.CrystalReports.Engine.ReportDocument.EnsureLoadReport() +107
       CrystalDecisions.CrystalReports.Engine.ReportDocument.get_ReportDefinition() +51
       ns_SharedMethods.SharedMethods.Close_This_Report(ReportDocument reportDocument) +36
       ns_SharedMethods.SharedMethods.Close_Report(ReportDocument MyReport, CrystalReportViewer CrystalReportViewer1) +15
       Mala_Orders.Master_Page.Orders_Associated_Users.Page_Unload(Object sender, EventArgs e) +18
       System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +51
       System.Web.UI.Control.OnUnload(EventArgs e) +9584962
       System.Web.UI.Control.UnloadRecursive(Boolean dispose) +227
       System.Web.UI.Page.UnloadRecursive(Boolean dispose) +23
       System.Web.UI.Page.ProcessRequestCleanup() +56
       System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +245
       System.Web.UI.Page.ProcessRequest() +72
       System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +21
       System.Web.UI.Page.ProcessRequest(HttpContext context) +58
       ASP.web_pages_orders_associated_users_aspx.ProcessRequest(HttpContext context) in c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\mala_orders\789757cd\86c3df62\App_Web_lrg53oyw.1.cs:0
       System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +341
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +69
    Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.18446 

    Everything is working when in the VS2010 environment (design time) 

    This error only occurs on my Windows 7 development pc.

    The error doesn't occur when the project has been published on my Windows Vista pc (using exactly the same installer).

    Both Windows 7 and Windows Vista pc's have VS2008 and VS2010 installed.

    Any ideas why when using the same installer, do I get a "Invalid report file path" error on the Windows 7 and not on the Windows Vista when trying to view a report

    on a published web site?

    Hope that makes sense.


    Wednesday, September 3, 2014 4:56 AM


  • User-53824557 posted

    Having experienced so many problems with Crystal Reports 13.0.2000.0 and Visual Studio 2010 my advice is to use visual Studio 2008 and Crystal Reports 


    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, September 8, 2014 4:20 AM