Error using Command line to get files from Vault

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

Moderator: SourceGear

Post Reply
MK

Error using Command line to get files from Vault

Post by MK » Sat Jan 15, 2005 12:27 pm

I am running this from a command line and get this error. I recently upgraded to 3.0.1 from 2.0.6. I also installed the 3.0.1 client apis.

D:\Vault\Gvault get -host servername -user build -password xxx -repository A -destfolder c:\Inetpub\wwwroot\ProjectName $/Projects/Websites/OE/ProjectName/Current

The connection to the server failed: server cannot be contacted or uses a protoc
ol that is not supported by this client. Server was unable to process request. -
-> Object reference not set to an instance of an object.
</error>
<exception>
System.Exception: The connection to the server failed: server cannot be contacte
d or uses a protocol that is not supported by this client. Server was unable to
process request. --> Object reference not set to an instance of an object.
at VaultCmdLineClient.VaultCmdLineClient.Login(Boolean bAllowAuto, Boolean bS
aveSession) in d:\projects\testbed\vault get labels\vaultcmdlineclient\vaultcmdl
ineclient.cs:line 325
at VaultCmdLineClient.VaultCmdLineClient.Login() in d:\projects\testbed\vault
get labels\vaultcmdlineclient\vaultcmdlineclient.cs:line 392
at VaultCmdLineClient.VaultCmdLineClient.ProcessCommandGet(ArrayList strItemA
rray) in d:\projects\testbed\vault get labels\vaultcmdlineclient\vaultcmdlinecli
ent.cs:line 2521
at VaultCmdLineClient.VaultCmdLineClient.ProcessCommand(Args curArg) in d:\pr
ojects\testbed\vault get labels\vaultcmdlineclient\vaultcmdlineclient.cs:line 17
28
at VaultCmdLineClient.VaultCmdLineClient.Main(String[] args) in d:\projects\t
estbed\vault get labels\vaultcmdlineclient\vaultcmdlineclient.cs:line 94
</exception>
<result success="no" />

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

Post by lbauer » Sun Jan 16, 2005 12:07 am

Is there anything in the Vault log file that corresponds to the error?

The log is sgvault.log in %windir%/temp/sgvault.

You can send a copy of the log to linda at sourcegear.com.
Linda Bauer
SourceGear
Technical Support Manager

MK

Post by MK » Mon Jan 17, 2005 11:45 am

We have figured the issue on this one. Thanks.

Post Reply