Client API not connecting to Server

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

Moderator: SourceGear

Post Reply
mark.ryan
Posts: 2
Joined: Fri Oct 05, 2007 2:36 pm

Client API not connecting to Server

Post by mark.ryan » Fri Oct 05, 2007 2:43 pm

I get the following error when I try to login from the Client API in an app.

{"The server uses a protocol that is not supported by this client."}

I've tried the VaultClientAPI_4_0_2_15802 and VaultClientAPI_4_0_4_15848 releases of the code. I think my server is running a 3.5.2 compatible version because my current Vault client is running 3.5.2.

1. Does the 4.0.4 client work with 3,5,2 server?
2. Does the 3.5.2 client API have login, but just through another library?

Here's my login code:

ServerOperations.client.LoginOptions.URL = url;
ServerOperations.client.LoginOptions.User = username;
ServerOperations.client.LoginOptions.Password = password;
ServerOperations.client.LoginOptions.Repository = repository;
ServerOperations.Login();

Any help is appreciated.

Thanks,

Mark

jclausius
Posts: 3706
Joined: Tue Dec 16, 2003 1:17 pm
Location: SourceGear
Contact:

Post by jclausius » Fri Oct 05, 2007 3:11 pm

Mark, you'll need the 3.5.x Client API to work with a 3.5.x Vault server. For the 4.0.x Client API, you'll need to connect to a 4.0.x Vault server.
Jeff Clausius
SourceGear

Post Reply