For Programmers: Free Programming Magazines  


Home > Archive > Visual Basic Crystal Reports > January 2006 > Force ce 9.0 to use page server









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Force ce 9.0 to use page server
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?

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com