Hi Guys,
I am trying to use the LABEL command from the command line with these options
vault LABEL -host myvaultserver -user username -password "password" -repository "RepositoryName" $/FolderABC "Release 1.0"
When I run this from the command line within the install folder I get this error message
<vault>
<error>
<exception>System.Exception: The username or password supplied is invalid.
---> System.Web.Services.Protocols.SoapException: VaultServiceAPILib.VaultSoap
Exception: 1000 : FailNotValidLogin at VaultService.VaultService.Login(String strHostname, Boolean bUseFullFiles, String username, String strEncryptedPassword, String strRMKey, String& strAuthToken)
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.Login(String strHostname, Boolean bUseFullFiles, String username, String strEncryptedPassword, String strRMKey, String& strAuthToken)
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 VaultClientIntegrationLib.ServerOperations.Login()
at VaultCmdLineClient.VaultCmdLineClient.ProcessCommand(Args curArg)
at VaultCmdLineClient.VaultCmdLineClient.Main(String[] args)</exception>
</error>
<result>
<success>False</success>
</result>
</vault>
I am using SourceGear Vault Command Line Client 5.0.4.18845.
Thanks for the help
Command line tools report error about username and password
-
- Posts: 2
- Joined: Thu Dec 06, 2012 5:35 am
Re: Command line tools report error about username and passw
Vault thinks the password or username is invalid. Are you putting quotes around "password?" If so, type the password without quotes around it.
Can you login to Vault using this account and the Vault GUI Client?
Can you log in with a different account?
Are you using Vault authentication or Windows Authentication for Vault?
Can you login to Vault using this account and the Vault GUI Client?
Can you log in with a different account?
Are you using Vault authentication or Windows Authentication for Vault?
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager
-
- Posts: 2
- Joined: Thu Dec 06, 2012 5:35 am
Re: Command line tools report error about username and passw
I did the suggestion with the password already no joy. Yes I can login with the account I am using for the command. Others are logged into vault via the GUI only. We are using vault authentication.
What next?
What next?
Re: Command line tools report error about username and passw
Does it work if you use a different Vault user/password with the CLC? Trying to determine if this is an account issue or a CLC issue.
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager