Topic: CR 9 versus CR XI Posted: 11 Jul 2008 at 2:23am
I have a problem in redirect.asp and activexviewer.asp in Crystal Report Server 9 for development server.But in Production is using Crystal Report Server XI.Is any body knows what is the different between those two CR.
'Create an instance of the object factory. It is used to create
'report objects more efficiently.
Dim objectFactory
Set objectFactory = Server.CreateObject("CrystalReports.ObjectFactory")
'Check to see if the report has been opened
If Not IsObject(Session("oClientDoc")) Then
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
'Open the report
clientDocument.Open(reportname)
Call CheckForError
End if
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum