| gharing@gmail.com 2006-01-20, 7:11 pm |
| I am running into an issue that my .NET application is always running
the report using the RAS Server rather than the Page Server. Because
of this, the report takes at least twice as long to render than if I
run it in the CMC with the page server.
I would like to try and force it to run on the page server but the only
code I have seen do this is in CE 10 using the
CrystalDecisions.Enterprise.Viewing library which does not exist in CE
9.
Essentially, I just need to know what type of object the Page Server
report factory should be. The only report factory I am aware of is the
ReportAppFactory which is strictly for RAS. There has to be a way to
use the page server.
rptSrcFactory = myInfoStore.EnterpriseSession.GetService("",
"PSReportFactory")
myCrystalReportViewer1.EnterpriseLogon = myEnterpriseSession
myCrystalReportViewer1.ReportSource =
rptSrcFactory.openreportsource(reportID)
What type should rptSrcFactory be?
|