API for 4.1.4

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

Moderator: SourceGear

Post Reply
kkchan
Posts: 54
Joined: Wed Jun 30, 2010 12:45 am

API for 4.1.4

Post by kkchan » Sun Jun 17, 2012 8:16 pm

Hi
May I know if the latest 5.1.2 API compatible tiwh 4.1.4? If not, where could I have the API for 4.1.4?

Thank you

kkchan
Posts: 54
Joined: Wed Jun 30, 2010 12:45 am

Re: API for 4.1.4

Post by kkchan » Mon Jun 18, 2012 12:10 am

Hi
I tried to download the API, and hit this problem when run it from my app

Code: Select all


[Exception: System.Exception: The server uses a protocol that is not supported by this client. ---> System.Web.Services.Protocols.SoapException: 1021 : FailServiceVersionNotSupported
   at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
   at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
   at VaultClientNetLib.ClientService.VaultService.ValidateServiceVersions(Int32[] clientSupportedVersions)
   at VaultClientNetLib.VaultConnection.Login(String strURLBase, String strUserLogin, String strPassword)
   at VaultClientOperationsLib.ClientInstance.Login(String urlbase, String username, String password)
   at VaultClientIntegrationLib.ServerOperations.Login(AccessLevelType altCommand, Boolean bAllowAuto, Boolean bSaveSession)
   --- End of inner exception stack trace ---
   at VaultClientIntegrationLib.ServerOperations.Login(AccessLevelType altCommand, Boolean bAllowAuto, Boolean bSaveSession)
   at Gemini._Default.Page_Load(Object sender, EventArgs e) in D:\InHouse\VaultToGemini\VaultToGemini\cvsSubmit.aspx.cs:line 73]
   Gemini._Default.Page_Load(Object sender, EventArgs e) in D:\InHouse\VaultToGemini\VaultToGemini\cvsSubmit.aspx.cs:140
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +25
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +42
   System.Web.UI.Control.OnLoad(EventArgs e) +132
   System.Web.UI.Control.LoadRecursive() +66
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2428

kkchan
Posts: 54
Joined: Wed Jun 30, 2010 12:45 am

Re: API for 4.1.4

Post by kkchan » Mon Jun 18, 2012 2:48 am

OK, I able to solve it, by set working folder, get latest version of all files at the server that run the VaultService.

Post Reply