Vault in Linux with mono - connection problems

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

Moderator: SourceGear

Post Reply
me
Posts: 3
Joined: Wed Jul 18, 2007 10:04 am

Vault in Linux with mono - connection problems

Post by me » Wed Jul 18, 2007 10:09 am

Hi,

I'm running Slackware 11 and have installed mono 1.2.4 to run the Vault client which will be connecting to a Vault server on a Windows machine.

It all seemed to install fine but when I try to run the client I get errors, the full screen dump of which follows this post.

I tried installing ICU as suggested here http://support.sourcegear.com/viewtopic.php?t=157. First trying v. 2.6.1 and then the latest version but to no avail.

Would I need to uninstall mono and then install ICU before reinstalling mono for it to take effect?

Much appreciation for any help.

me
Posts: 3
Joined: Wed Jul 18, 2007 10:04 am

Post by me » Wed Jul 18, 2007 10:11 am

# mono vault.exe LISTREPOSITORIES -user **** -password **** -host ****

<vault>
<error>
<exception>System.Exception: The server uses a protocol that is not supported by this client. ---> System.Web.Services.Protocols.SoapException: VaultServiceAPILib.VaultSoapException: 1021 : FailServiceVersionNotSupported
at VaultServiceAPILib.VaultServiceAPI.ValidateServiceVersions(Int32[] clientSupportedVersions)
at VaultService.VaultService.ValidateServiceVersions(Int32[] clientSupportedVersions)
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReceiveResponse (System.Net.WebResponse response, System.Web.Services.Protocols.SoapClientMessage message, System.Web.Services.Protocols.SoapExtension[] extensions) [0x00000]
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke (System.String method_name, System.Object[] parameters) [0x00000]
at VaultClientNetLib.ClientService.VaultService.ValidateServiceVersions (System.Int32[] clientSupportedVersions) [0x00000]
at (wrapper remoting-invoke-with-check) VaultClientNetLib.ClientService.VaultService:ValidateServiceVersions (int[])
at VaultClientNetLib.VaultConnection.Login (System.String strURLBase, System.String strUserLogin, System.String strPassword) [0x00000] --- End of inner exception stack trace ---

at VaultClientIntegrationLib.ServerOperations.Login (AccessLevelType altCommand, Boolean bAllowAuto, Boolean bSaveSession) [0x00000]
at VaultClientIntegrationLib.ServerOperations.Login () [0x00000]
at VaultCmdLineClient.VaultCmdLineClient.ProcessCommand (VaultCmdLineClient.Args curArg) [0x00000]
at VaultCmdLineClient.VaultCmdLineClient.Main (System.String[] args) [0x00000] </exception>
</error>
<result>
<success>False</success>
</result>

jeremy_sg
Posts: 1821
Joined: Thu Dec 18, 2003 11:39 am
Location: Sourcegear
Contact:

Post by jeremy_sg » Wed Jul 18, 2007 10:50 am

The error that you're seeing usually means that you're using an old version of the CLC and libraries to try to connect to a 4.0 server, or vice versa.

Can you verify that both client and server are the same version?

me
Posts: 3
Joined: Wed Jul 18, 2007 10:04 am

Post by me » Wed Jul 18, 2007 2:39 pm

Thanks, worked a treat! The version were different.

Post Reply