"Couldn't create local settings path. Tried both Sourcegear and"
The code I am using is:
Code: Select all
public bool Login()
{
try
{
ServerOperations.client.LoginOptions.URL = "http://vaultserver/VaultService/";
ServerOperations.client.LoginOptions.User = "vaultuser";
ServerOperations.client.LoginOptions.Password = "vaultpwd";
ServerOperations.client.LoginOptions.Repository = "whatever.com";
ServerOperations.client.Verbose = true;
ServerOperations.client.LoginOptions.AccessLevel = VaultConnection.AccessLevelType.Client;
ServerOperations.Login();
return true;
}
catch (Exception ex)
{
string vaultError = ex.message;
throw;
}
}
Vault client is version 4.1.2.18185
Vault server is version 4.1.2.18185
Any Ideas?