The server uses a protocol that is not supported by this cli

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

Moderator: SourceGear

Post Reply
asadullah
Posts: 1
Joined: Tue Mar 11, 2014 9:22 am

The server uses a protocol that is not supported by this cli

Post by asadullah » Tue Mar 11, 2014 9:31 am

I have Vault version 3.1.8 installed and I want to move the history from Vault to GIT, but when I want connect the vault via c# code it's give me an error "The server uses a protocol that is not supported by this client."
I have copied all the .dll from vault client's installed folder.
Code is ;
ServerOperations.client.LoginOptions.URL = string.Format("http://{0}/VaultService", this.VaultServer);
ServerOperations.client.LoginOptions.User = this.VaultUser;
ServerOperations.client.LoginOptions.Password = this.VaultPassword;
ServerOperations.client.LoginOptions.Repository = this.VaultRepository;
ServerOperations.Login();

Kindly help me what's wrong in the code or anything else ??

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: The server uses a protocol that is not supported by this

Post by Beth » Tue Mar 11, 2014 4:11 pm

Are you using the latest Vault API? If so, then it won't be able to connect to a Vault 3.1.8 server. The API you need for that version is here: http://download-us.sourcegear.com/files ... _3_1_9.zip.
Beth Kieler
SourceGear Technical Support

Post Reply