ServerOperations.Login hanging

If you are having a problem using Vault, post a message here.

Moderator: SourceGear

Post Reply
bfeller
Posts: 20
Joined: Fri May 18, 2012 9:07 am

ServerOperations.Login hanging

Post by bfeller » Fri Feb 28, 2014 9:57 am

I m using the following code to login to SourceGear through the APIS: more than 50 of the time, the login call never returns. I am on v7.0.

// Set the login options and login/connect to a repository.
ServerOperations.client.LoginOptions.URL = url;
ServerOperations.client.LoginOptions.User = username;
ServerOperations.client.LoginOptions.Password = password;
ServerOperations.client.LoginOptions.Repository = repository;
ServerOperations.Login();

Thanks, Bob

bfeller
Posts: 20
Joined: Fri May 18, 2012 9:07 am

Re: ServerOperations.Login hanging

Post by bfeller » Fri Feb 28, 2014 10:53 am

Please ignore the above issue. I found the problem.

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: ServerOperations.Login hanging

Post by lbauer » Fri Feb 28, 2014 11:39 am

Thanks for the update. Glad you were able to resolve the problem.

Let me know if we can be of assistance in the future.
Linda Bauer
SourceGear
Technical Support Manager

Post Reply