on 09-02-2008 11:08 AM
We have our BO server runing on the 7400 port.
When i use following code, tries to use the port 6400. Is there a way to specify the port where we want to connect ??
hope somebody can help.
Quentin
'CHANGE HERE -- Change the logon variables to represent the correct information
BO_USER_NAME=""
BO_PASSWORD=""
BO_CMS_NAME="192.168.1.250"
Dim SessionManager, Sess
Dim IStore
'Get an instance to the session Manager
set SessionManager = CreateObject ("CrystalEnterprise.SessionMgr")
'Login to enterprise
set Sess=SessionManager.logon(BO_USER_NAME, BO_PASSWORD, BO_CMS_NAME, "Enterprise")
'Get the infoStore object
set IStore = Sess.Service("", "InfoStore")
if (Err.Number = 1) then
msgbox Err.Description
end if
set ServerObj=nothing
set ServerInfoObject=nothing
set infoStore=nothing
'All Done. Log off CMS
Sess.LogOff
set Sess=Nothing
What happens if you try
BO_CMS_NAME="192.168.1.250:7400"
Sincerely,
Ted Ueda
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.