Have Crystal Enterprise 9.0 Crystal Reports 9.0
CE Viewer set to DHMTL.
Crystal Report 1 published on CE as crystal report format.
Crystal report 2 piblished on CE as PDF format.
In ePortfolio report 1 displays in crystal report format,
when printed it loads as pdf to acrobat adobe going through several steps to get to print.
Report 2 displays in PDF format And when printed to print
without the loading procedure. This is all fine.
Here is the problem. We developed a web portal using .csp that better meets our requirements.
Report 1 works the same as in ePortfolio - ok.
Report 2 gets this error message.
CrystalReportViewer
The object you are trying to access (ID = 15847) has type CrystalEnterprise.Pdf.
The Page Server only supports objects of type . Please select a different object
Here is code to setup viewer.
(code)
' Create the viewer and its report source.
Dim viewer1, rptFactory, rptSource
Set rptFactory = iStore.EnterpriseSession.Service("", "PSReportFactory")
Set rptSource = rptFactory.OpenReportSource(CInt(id))
Set viewer1 = Server.CreateObject( "CrystalReports.CrystalReportViewer" )
' Set the viewer's properties to prepare it for viewing.
With viewer1
.ReportSource = rptSource
.EnterpriseLogon = iStore.EnterpriseSession
.HasPrintButton = true
.isownform = true
.isownpage = true
.URI = CStr( Request.ServerVariables.Item("PATH_INFO") & "?" & Request.ServerVariables.Item("QUERY_STRING"))
End With
'Process the request and launch the viewer.
viewer1.ProcessHttpRequest Request, Response, Session
(/code)
I am unable to find in the crystal viewer object something to change to cause the pdf viewer to be used Or how to assign a different viewer. I am new to this project so any help is appreciated and thanks in advance.
frankbs
CE Viewer set to DHMTL.
Crystal Report 1 published on CE as crystal report format.
Crystal report 2 piblished on CE as PDF format.
In ePortfolio report 1 displays in crystal report format,
when printed it loads as pdf to acrobat adobe going through several steps to get to print.
Report 2 displays in PDF format And when printed to print
without the loading procedure. This is all fine.
Here is the problem. We developed a web portal using .csp that better meets our requirements.
Report 1 works the same as in ePortfolio - ok.
Report 2 gets this error message.
CrystalReportViewer
The object you are trying to access (ID = 15847) has type CrystalEnterprise.Pdf.
The Page Server only supports objects of type . Please select a different object
Here is code to setup viewer.
(code)
' Create the viewer and its report source.
Dim viewer1, rptFactory, rptSource
Set rptFactory = iStore.EnterpriseSession.Service("", "PSReportFactory")
Set rptSource = rptFactory.OpenReportSource(CInt(id))
Set viewer1 = Server.CreateObject( "CrystalReports.CrystalReportViewer" )
' Set the viewer's properties to prepare it for viewing.
With viewer1
.ReportSource = rptSource
.EnterpriseLogon = iStore.EnterpriseSession
.HasPrintButton = true
.isownform = true
.isownpage = true
.URI = CStr( Request.ServerVariables.Item("PATH_INFO") & "?" & Request.ServerVariables.Item("QUERY_STRING"))
End With
'Process the request and launch the viewer.
viewer1.ProcessHttpRequest Request, Response, Session
(/code)
I am unable to find in the crystal viewer object something to change to cause the pdf viewer to be used Or how to assign a different viewer. I am new to this project so any help is appreciated and thanks in advance.
frankbs