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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Livelink connection problem

Status
Not open for further replies.

mghsu

Programmer
Dec 5, 2007
2
US
I am new to Livelink, and try to link to Livelink by .Net to open Workspace. Url, port, username and password are tested successfully by TestConnect utility. But when I create a Session, and try to open workspace by AccessEnterpriseWS, I got error "Server did not accept open request", even I increase AcceptTimeout=5000. Please give some advise how you solve the similiar problem.
 
H'mmm,
Would like to see the code to see what you are doing
You have made sure that you are caling the livelink server properly at the correct port.Test connect is designed to test all possibilities.Do you know if you are working against a dirsvcs livelink so may have to tunnel.All in all it sounds like a socket problem

Well, if I called the wrong number, why did you answer the phone?
James Thurber, New Yorker cartoon caption, June 5, 1937
 
Thanks for your response.

Code is standard one as following:

LLSession session = null;
LAPI_DOCUMENTS documents = null;
int status = 0;
LLValue entInfo = ( new LLValue() ).setAssocNotSet();
session = new LLSession( Url, Port, "", username, password );
documents = new LAPI_DOCUMENTS( session );
status = documents.AccessEnterpriseWS(entInfo);

All login credentials are reading from app.config.
Do you have any idea how I can find proper port number? I try 2099 but does not work.
 
the application's listening port is an ephemeral port that your app admin sets,by default it is 2099 but no need to keep it that way.Also on a related note some of the exmaples assume an eneterprise workspace id of 2000 which may or not be true for a installation.That is why OT asks you to use AccessEnterpriseWorkspace which lets you know the EWS details.Try taking it in steps to see if anybody else in your org is calling that livelink using your connection info.I cannot see anything wrong you are doing but looks like it is something basic.

Well, if I called the wrong number, why did you answer the phone?
James Thurber, New Yorker cartoon caption, June 5, 1937
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top