We are running Crystal Server XI.
We have an app which displays Crystal reports. We were using URL encoded string to log into the Server and then display the report - like:
However,I have encountered lots of problems with this. Especially page server errors (crystal looking into this)
+ slow.
What I have opted to do it use the RAS instead (from previous experience I found this to be a lot more robust) - and so viewing the reports direct - by-passing the Server.
QUESTION IS: Does this use the other CCM services such as the page and cache server? I want to avoid using the page server.
I am using a CE10 sample app to display the reports. uses classic asp:
Pageviewer.asp =
Option Explicit
Response.ContentType = "text/html; charset=utf-8"
Dim objectFactory
Set objectFactory = CreateObject("CrystalReports11.ObjectFactory.1")
Response.ExpiresAbsolute = Now() - 1
Dim viewer
Set viewer = objectFactory.CreateObject("CrystalReports.CrystalReportViewer")
viewer.Name = "page"
viewer.IsOwnForm = true
viewer.IsOwnPage = true
Dim theReportName
theReportName = Request.QueryString("ReportName")
viewer.URI = "pageViewer.asp?ReportName=" + Server.URLEncode(theReportName)
if theReportName <> "" then viewer.ReportSource = theReportName
viewer.ProcessHttpRequest Request, Response, Session
%>
We have an app which displays Crystal reports. We were using URL encoded string to log into the Server and then display the report - like:
However,I have encountered lots of problems with this. Especially page server errors (crystal looking into this)
+ slow.
What I have opted to do it use the RAS instead (from previous experience I found this to be a lot more robust) - and so viewing the reports direct - by-passing the Server.
QUESTION IS: Does this use the other CCM services such as the page and cache server? I want to avoid using the page server.
I am using a CE10 sample app to display the reports. uses classic asp:
Pageviewer.asp =
Option Explicit
Response.ContentType = "text/html; charset=utf-8"
Dim objectFactory
Set objectFactory = CreateObject("CrystalReports11.ObjectFactory.1")
Response.ExpiresAbsolute = Now() - 1
Dim viewer
Set viewer = objectFactory.CreateObject("CrystalReports.CrystalReportViewer")
viewer.Name = "page"
viewer.IsOwnForm = true
viewer.IsOwnPage = true
Dim theReportName
theReportName = Request.QueryString("ReportName")
viewer.URI = "pageViewer.asp?ReportName=" + Server.URLEncode(theReportName)
if theReportName <> "" then viewer.ReportSource = theReportName
viewer.ProcessHttpRequest Request, Response, Session
%>