Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

A problem to open Crystal 10 from VS.NET - RAS

Status
Not open for further replies.

Plato2

Programmer
Dec 6, 2002
192
US
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?
 
Did you set the "APPL_PHYSICAL_PATH" wathever that might be as the RAS Folder in the Crystal Configuration Manager?

Mo
 
you might need to grant "ASP.NET" with proper permissions to that folder.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top