I am in a process of migrating our source code from VSS to vault. After migrating half of the source code, I noticed a strange problem with latest version 2.05. When I try to get the files based on the labels, I get following error:
commandline 1:
==========
"D:\Program Files\SourceGear\Vault Client\vault.exe" getlabel -host hostname -user admin -password password -repository repositoryname -setfiletime current -merge overwrite -destpath d:\temp $/Dev/xxx versionNo
Error1:
=====
<vault>
<error>
Server was unable to process request. --> Data is Null. This method or property cannot be called on Null values.
</error>
<exception>
System.Web.Services.Protocols.SoapException: Server was unable to process request. --> Data is Null. This method or property cannot be called on Null values.
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.GetLabelStructure(Int32 nRepID, String strItemPath, Int64& nLabelID, String& strLabel, String strLabelSubPath, String[]& arLabelPaths, Int64& nRootID, DateTime& dtLastModified, VaultRepositoryDelta& rd, VaultFileDelta& fd)
at VaultClientNetLib.VaultConnection.GetLabelStructureByName(Int32 repID, String labelName, Int64& labelID, String currentPathToLabelItem, String labelSubItemPath, String[]& discoveredSubItemPaths, DateTime& dtLastModified, VaultRepositoryDelta& repositoryDelta, VaultFileDelta& fileDelta, Int64& rootID)
at VaultClientOperationsLib.ClientInstance.GetLabelStructureByName(String labelName, Int64& labelID, String currentPathToLabelItem, String labelSubItemPath, String[]& discoveredSubItemPaths, DateTime& dtLastModified, VaultRepositoryDelta& repositoryDelta, VaultFileDelta& fileDelta, Int64& rootID)
at VaultClientOperationsLib.ClientInstance.GetByLabel_GetStructure(String currentPathToLabelItem, String labelName, Int64& labelID, String labelSubItemPath, String[]& discoveredSubItemPaths, VaultClientTreeObject& labelStructure, Int64& rootID)
at VaultCmdLineClient.VaultCmdLineClient.ProcessCommandGetLabel(String reposItem, String label, String labelSubItem)
at VaultCmdLineClient.VaultCmdLineClient.ProcessCommand(Args curArg)
at VaultCmdLineClient.VaultCmdLineClient.Main(String[] args)
</exception>
<result success="no" />
</vault>
================
When I try the following command line, I get the error as below:
Commandline 2:
===========
"D:\Program Files\SourceGear\Vault Client\vault.exe" getlabel -host hostname -user admin -password password -repository repositoryname -setfiletime current -merge overwrite -destpath d:\temp $/Dev/xxx/*.* versionNo
Error2:
=====
<vault>
<error>
The specified item was not found in the repository.
</error>
<exception>
System.Exception: The specified item was not found in the repository.
at VaultCmdLineClient.VaultCmdLineClient.ProcessCommandGetLabel(String reposItem, String label, String labelSubItem)
at VaultCmdLineClient.VaultCmdLineClient.ProcessCommand(Args curArg)
at VaultCmdLineClient.VaultCmdLineClient.Main(String[] args)
</exception>
<result success="no" />
</vault>
Vault Versions:
==========
I have tried with all the versions of vault client from 2.03 to 2.05. Please suggest, what should be the reason behind this?
Thanks
-Achin
Get label from Vault
Moderator: SourceGear
Get label from Vault
Hi Dan,
I am able to get the label through GUI.
We want to get it resolved ASAP as we are holding our source safe vault migration because of this issue.
Please let me know your phone no. or call me at 310-410-9600 ext. 22303.
Thanks
-Achin
I am able to get the label through GUI.
We want to get it resolved ASAP as we are holding our source safe vault migration because of this issue.
Please let me know your phone no. or call me at 310-410-9600 ext. 22303.
Thanks
-Achin