I'm trying to open Crystal Reports 10(Advanced version) from ASP.NET. I get the following error: Access denied. Please check directory setting for files you can access.
-----------------------------------------------------
Public Sub CreateReport()
' create an instance or Report Client Document
rcDoc = New ReportClientDocument()
rcDoc.ReportAppServer = "127.0.0.1"
Dim rast As New TESTRAS
rcDoc.Open(Request.ServerVariables ("APPL_PHYSICAL_PATH") + "TESTRAS.rpt")
' view the report
CrystalReportViewer1.ReportSource = rcDoc
End Sub
----------------------------------------------------
How can I solve this problem?
-----------------------------------------------------
Public Sub CreateReport()
' create an instance or Report Client Document
rcDoc = New ReportClientDocument()
rcDoc.ReportAppServer = "127.0.0.1"
Dim rast As New TESTRAS
rcDoc.Open(Request.ServerVariables ("APPL_PHYSICAL_PATH") + "TESTRAS.rpt")
' view the report
CrystalReportViewer1.ReportSource = rcDoc
End Sub
----------------------------------------------------
How can I solve this problem?