Quantcast
Channel: Crystal Reports
Viewing all articles
Browse latest Browse all 1507

Crystal Report Viewer error - "A report name was not Specified"

$
0
0

Hi,

I've got an Error from Crystal Report (RAS 9) "A report name was not specified".

Tools used:

1) Report Application Server (RAS) v9.0

2) IIS v6.0

3) ActivexViewer.asp

4) rptserver.asp (cannot specify the report name)

                     

Dim clientDocument
Set clientDocument = objectFactory.CreateObject("CrystalClientDoc.ReportClientDocument")
Call CheckForError

'Store the client document in the session for subsequent requests
Set Session("oClientDoc") = clientDocument

'Support passing the report name in the session or in the URL
Dim reportName
reportName = Session("ReportName")

If reportName = "" Then
reportName = Request.QueryString("rpt")
End If

If reportName = "" Then
SetEMFError 1, "A report name was not specified"
Session.Abandon
Response.End
End If

Thanks


Viewing all articles
Browse latest Browse all 1507

Trending Articles