Forum Moderators: open
My code....
Dim isItThere As Boolean = File.Exists("c:\\Reports\\OracleCopy\\6106c.rpt")
crReportDocument.Load("c:\\report.rpt", OpenReportMethod.OpenReportByTempCopy)
Load report failed. at .F(String , EngineExceptionErrorID
)
at .B(String , Int32 )
at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String
reportName, OpenReportMethod openMethod, Int16 parentJob)
at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String
reportName, OpenReportMethod openMethod)
at EC_MachineC.CrystalForm.Page_Load(Object sender, EventArgs e) in
C:\Inetpub\wwwroot\EC_MachineC\CrystalForm.aspx.vb:line 55
I've tried doing the path as c:\report.rpt AND as c:\\report.rpt
If you have ANY suggestions, please send them my way!
My references were referring to the Crystal Reports 1.0 library instead of the 2.0.
The following references were pointing to the 9.1.5000.0 version of themselves. The correct versions were the 9.2.3300.0 versions.
CrystalDecisions.CrystalReporty.Engine
CrystalDecisions.Enterprise.Desktop.Report
CrystalDecisions.Enterprise.Framework
CrystalDecisions.Enterprise.InfoStore
CrystalDecisions.ReportSource
CrystalDecisions.Shared
CrystalDecisions.Web
Hope this helps anyone how had that error.