Business Objects 7008038 Manual Do Utilizador
![Business Objects](https://files.manualsbrain.com/attachments/04d03f8b92da5e83ebe10286ba76f7fc6afe5273/common/fit/150/50/b5218441c798b17ae3ea8fafe55b6d51c3286409f50b501a99eb4b00b31f/brand_logo.jpeg)
Crystal Reports Server XI
Upgrading Crystal Enterprise 10 Embedded Edition Applications
Dim ceSession As EnterpriseSession
ceSession = ceSessionmgr.Logon(“<CRS user name>”, “<CRS
password>”, “<CRS Installed CMS>”, “<Authentication Type>”)
password>”, “<CRS Installed CMS>”, “<Authentication Type>”)
.NET SDK (C#.NET)
EnterpriseSession ceSession;
EnterpriseService ceEnterpriseService;
SessionMgr ceSessionmgr = new SessionMgr();
ceSession = ceSessionmgr.Logon(“<CRS user name>”, “<CRS
password>”, “<CRS Installed CMS>”, “<Authentication
Type>”);
password>”, “<CRS Installed CMS>”, “<Authentication
Type>”);
COM SDK (ASP)
Dim objFactory
Set objFactory =
Server.CreateObject(“CrystalReports11.ObjectFactory.1”)
Server.CreateObject(“CrystalReports11.ObjectFactory.1”)
'Load the Crystal Enterprise Session Manager
Dim ceSessionManager
Set ceSessionManager =
Server.CreateObject("CrystalEnterprise.SessionMgr")
Server.CreateObject("CrystalEnterprise.SessionMgr")
'Logon to the Enterprise CMS
Dim ceSession
Set ceSession = ceSessionManager.Logon(“<CRS user name>”,
“<CRS password>”, “<CRS Installed CMS>”, “<Authentication
Type>”)
“<CRS password>”, “<CRS Installed CMS>”, “<Authentication
Type>”)
Java SDK (JSP)
/* First, ensure that you add the following to your import
statement(s) */
statement(s) */
com.crystaldecisions.sdk.framework.*,
com.crystaldecisions.sdk.occa.managedreports.*,
com.crystaldecisions.sdk.occa.infostore.*,
java.util.*
// Connect to Crystal Enterprise
CrystalEnterprise ce = new CrystalEnterprise();
ISessionMgr ceSessionMgr = ce.getSessionMgr();
IEnterpriseSession ceSession = ceSessionMgr.logon(“<CRS
user name>”, “<CRS password>”, “<CRS Installed CMS>”,
“<Authentication Type>”);
user name>”, “<CRS password>”, “<CRS Installed CMS>”,
“<Authentication Type>”);
3/30/2007 10:15 AM
Copyright © 2007 Business Objects. All rights reserved.
Page
6
crserver_xi_upgrading_from_ce10_embedded.pdf