Skip to Content
avatar image
Former Member

Use COM library to connect on another port that 6400

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

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Best Answer
    Sep 02, 2008 at 02:12 PM

    What happens if you try

    BO_CMS_NAME="192.168.1.250:7400" 
    

    Sincerely,

    Ted Ueda

    Add comment
    10|10000 characters needed characters exceeded