Hi,
I am using ASP.Net 1.1, Crystal Report 10 with Oracle 10 as database.
I have created several crystal reports from its IDE and stored under 'Reports' folder which is located under my web app's root folder. I have NOT added report to my project.
Project does have reference to CrystalDecisions.CrystalReports.Engine and CrystalDecisions.Shared assemblies.
Below is part of the code
''Imports
Imports CrystalDecisions.CrystalReports.Engine
Imports CrystalDecisions.Shared
''Declaration
Dim crReportDocument as ReportDocument
Dim crDatabase as Database
Dim crTables as Tables
Dim crTable as Table
Dim crtableLogOnInfo as TableLogOnInfo
Dim crConnectionInfo as ConnectionInfo
''Code (Partial)
sPath = Server.MapPath("reports/MyTestReport.rpt")
crReportDocument = New ReportDocument
crReportDocument.Load(sPath) ''''This is the error line
crConnectionInfo = New ConnectionInfo
With crConnectionInfo
.ServerName = "CRServerName"
.UserID = "MyCRUserID"
.Password = "MYCRPwd"
End With
crDatabase = crReportDocument.Database
crTables = crDatabase.Tables
For Each crtable in crTables
crTableLogOnInfo = crTables.LogOnInfo
crTableLogOnInfo.ConnectionInfo = crConnectionInfo
crTable.ApplyLogOnInfo(crtableLogOnInfo)
Next
Me.CrystalReportviewer1.ReportSource = crReportDocument
================================================== =============
I am getting error - The system cannot find the file specified.
at crReportDocument.Load(sPath) line.

Exception Details: System.Runtime.InteropServices.COMException:The system cannot find the file specified.
I checked, the file is physically there and I gone into debug mode also to verify.
Any Help will be appreciated.
KD