Hi All,
Please i need some help, i've hosted my web application and everyother works fine except the crystal report bringing this error of invalid report file path.
It works fine on the development machine, but on hosting, it does not.
This is the error its bringing online:
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:
Line 98:
Line 99: Private Sub SetDBLogonForReport(ByVal myConnectionInfo As ConnectionInfo, ByVal myReportDocument As ReportDocument)Line 100: Dim myTables As Tables = myReportDocument.Database.Tables Line 101: For Each myTable As CrystalDecisions.CrystalReports.Engine.Table In myTables
Line 102: Dim myTableLogonInfo As TableLogOnInfo = myTable.LogOnInfo |
Source
File: E:\HostingSpaces\atfadbti\mmsbip.com.ng\wwwroot\App_Code\ApplicationGlobalConstants.vb Line:100
Stack Trace:
[LoadSaveReportException: Invalid report file path.] CrystalDecisions.CrystalReports.Engine.EngineExceptionUtils.DoThrowException(String message, EngineExceptionErrorID id) +60 CrystalDecisions.CrystalReports.Engine.ExceptionThrower.ThrowEngineException(String messageID, EngineExceptionErrorID id) +294 CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob) +291 CrystalDecisions.CrystalReports.Engine.ReportDocument.EnsureLoadReport() +157 CrystalDecisions.CrystalReports.Engine.ReportDocument.get_Database() +77 ApplicationGlobalConstants.SetDBLogonForReport(ConnectionInfo myConnectionInfo, ReportDocument myReportDocument) in E:\HostingSpaces\atfadbti\mmsbip.com.ng\wwwroot\App_Code\ApplicationGlobalConstants.vb:100 ApplicationGlobalConstants.GetReportConnection(ReportDocument objReports) in E:\HostingSpaces\atfadbti\mmsbip.com.ng\wwwroot\App_Code\ApplicationGlobalConstants.vb:95 ReportDialogs_WatchDog_Default.Page_Load(Object sender, EventArgs e) in E:\HostingSpaces\atfadbti\mmsbip.com.ng\wwwroot\ReportDialogs\WatchDog\Default.aspx.vb:248 System.Web.UI.Control.OnLoad(EventArgs e) +132 System.Web.UI.Control.LoadRecursive() +66 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2428 Please what can i do. Thanks Tim |