cancel
Showing results for 
Search instead for 
Did you mean: 

CrystalReportViewer setEnterpriseLogon

Former Member
0 Kudos

Hi,

I am using CrystalReportViewer for writing my own viewer.

I have came across some steps for this, where it is recommended to setEnterpriseLogon. However I could see that is deprecated.

Could you please suggest what is the usage of setEnterpriseLogon, and as it is deprecated, what should be the correct alternative.

Thanks!

Accepted Solutions (0)

Answers (1)

Answers (1)

DellSC
Active Contributor
0 Kudos

Are you just using the Crystal Reports Viewer to view reports you've created in Crystal or are you using it to connect to either BusinessObjects (BO) or Crystal Reports Server (CRS)?

setEnterpriseLogon is only valid if you're getting your reports from BO or CRS.  The correct work-around is to instantiate an IEnterpriseSession outside of the viewer and use that to log in to BO or CRS.

-Dell