Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Crystal Enterprise 9 force report to use page server (thread768-75150)

Status
Not open for further replies.

gharing

Programmer
Jan 8, 2001
13
US
Someone posted the exact same issue a year or so ago (
thread768-751509), but there was not a response. 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?

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top