Vault API 6 Login Error

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

Moderator: SourceGear

Post Reply
wenff007
Posts: 3
Joined: Wed Jan 09, 2013 8:58 am

Vault API 6 Login Error

Post by wenff007 » Wed Jan 09, 2013 9:52 am

I've got an application which has been running successfully on the Vault Standard 5 API. We've upgraded to Vault 6 and I can no longer login to Vault after upgrading the Dlls - the error message is "1021 : FailServiceVersionNotSupported". I'm using the Dlls from the VaultClientAPI_6_1_0_531.zip available on the Downloads page.

If I execute the Login method in the code samples provided in the VaultClientIntegrationLibCode folder of the API, I am able to get what looks like a successful login (I don't get the error above).

Am I missing something or is there possibly a problem with the provided VaultClientIntegrationLibCode.dll?

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

Re: Vault API 6 Login Error

Post by lbauer » Wed Jan 09, 2013 2:36 pm

Have you tried recompiling your app against the Vault 6.x API?
Linda Bauer
SourceGear
Technical Support Manager

wenff007
Posts: 3
Joined: Wed Jan 09, 2013 8:58 am

Re: Vault API 6 Login Error

Post by wenff007 » Thu Jan 10, 2013 12:26 am

I've recompiled it numerous times against the API for version 6 which I downloaded yesterday. After we upgraded from version 5, all I expected to have to do was recompile against version 6 but this is where I'm getting the error.

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

Re: Vault API 6 Login Error

Post by lbauer » Thu Jan 10, 2013 9:45 am

FailServiceVersionNotSupported
This error indicates there is a version mismatch.

Can you connect to your Vault server with Vault 6 GUI clients?

Is your server Vault Pro or Vault Standard?

Can you use the API to connect to our Vault standard demo server?

It's Vaultdemo.sourcegear.com. Login with username guest1, password guest1.


Another thought --

The Vault 6 dlls along with any compiled app must ALL be sitting in the same directory. Are all the Vault 6 client DLLs sitting in the same directory as your executable?
Linda Bauer
SourceGear
Technical Support Manager

Post Reply