Checkin problem

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

Moderator: SourceGear

Post Reply
poschdi
Posts: 20
Joined: Fri Apr 25, 2008 3:49 am

Checkin problem

Post by poschdi » Fri Apr 25, 2008 3:57 am

Hi,

we are using VSS and I installed a demo version from vault.
I imported some of our VSS files for some tests.
The most things looks nice but I have a problem to checkin files.
Then I try to checkin a modified file I always get following exception.

Code: Select all

[25.04.2008 11:44:42] Preparing data to begin transaction
[25.04.2008 11:44:42] Beginning transaction
[25.04.2008 11:44:42] An error occurred while trying to begin a transaction.
[25.04.2008 11:44:42] Transaction failed
[25.04.2008 11:44:42] An exception was encountered during the transaction.  Exception: System.Web.Services.Protocols.SoapException: Die Anforderung konnte vom Server nicht verarbeitet werden. ---> VaultServiceBase.VaultTreeException: _htFolderEntries did not contain an entry for tfc
   bei VaultServiceBase.VaultFolder.DeleteFolderEntryByName(HybridDictionary htParentObjects, String strSearchName, Int32 nObjType, Int32 nFSOHashCode)
   bei VaultServiceBase.VaultRepository.CreateFolderReferenceCopy(Int64 nRevID, HybridDictionary hdNewRefParents, VaultFolders vfOwners, VaultFolder vfOld)
   bei VaultServiceBase.VaultRepository.GetReferenceCopiesByPath(Int64 nRevID, HybridDictionary hdNewRefParents, String strAbsolutePath, Boolean bRefCopyLastObjectWithAllFolders, VaultFSObjects& fsoList, Int32& nPinCount)
   bei VaultServiceAPILib.VaultTransactionContainer.GetReferenceCopiesByPath(String strAbsolutePath, VaultFSObjects& fsoList, Int32& nPinCount)
   bei VaultServiceAPILib.VaultTransaction.PreCheckCheckIn(Int32 nCurrStatCode, VaultRequestCheckIn vrci, String strFileToken, VaultResponseCheckIn vRespCheckIn, VaultTransactionContainer txContainer)
   bei VaultServiceAPILib.VaultServiceAPI.BeginTx(Int32 nTxUserID, Int32 nRepID, VaultDateTime dtBeginTx, String strComment, VaultRequestItem[]& requests, String& strTxID, VaultIntTx& vit)
   bei VaultService.VaultService.DoBeginTx(String strCallerLogEvt, Int32 nTxUserID, Int32 nRepID, VaultDateTime dtBeginTx, String strComment, VaultRequestItem[]& requests, String& strTxID)
   bei VaultService.VaultService.BeginTx(Int32 nRepID, String strComment, VaultRequestItem[]& requests, String& strTxID)
   --- Ende der internen Ausnahmestapelüberwachung ---   bei System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
   bei System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
   bei VaultClientNetLib.ClientService.VaultService.BeginTx(Int32 nRepID, String strComment, VaultRequestItem[]& requests, String& strTxID)
   bei VaultClientNetLib.VaultConnection.BeginTx(Int32 nRepID, VaultRequestItem[]& requests, String& strTxID, String comment)
   bei VaultClientOperationsLib.ClientInstance.Commit(ChangeSetItemColl givenItems, String strChangeSetComment, Boolean keepCheckedOut, Boolean removeLocalCopy, CommitType committype, VaultDateTime dateImport, Int32 nUserIDImport, Int64& nRevID, Int32[]& retBegEndTx)
Can someone help me?

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Post by Beth » Fri Apr 25, 2008 10:07 am

Are you using IDE integration?

If you add a new file that did not come from VSS, does the same issue happen? For that test, just try using a .txt and the Vault client. Add the file, check it out, edit it, then check it in.

poschdi
Posts: 20
Joined: Fri Apr 25, 2008 3:49 am

Post by poschdi » Mon Apr 28, 2008 1:08 am

Hi,

thx for your reply.
What did you mean with IDE integration?

I create a new a.txt File and tried to add this, but it doesn´t work.
By add the file I got this error

Code: Select all

[28.04.2008 08:35:49] Preparing data to begin transaction
[28.04.2008 08:35:50] Beginning transaction
[28.04.2008 08:35:50] An error occurred while trying to begin a transaction.
[28.04.2008 08:35:50] Transaction failed
[28.04.2008 08:35:50] An exception was encountered during the transaction.  Exception: System.Web.Services.Protocols.SoapException: Die Anforderung konnte vom Server nicht verarbeitet werden. ---> VaultServiceBase.VaultTreeException: _htFolderEntries did not contain an entry for tfc
   bei VaultServiceBase.VaultFolder.DeleteFolderEntryByName(HybridDictionary htParentObjects, String strSearchName, Int32 nObjType, Int32 nFSOHashCode)
   bei VaultServiceBase.VaultRepository.CreateFolderReferenceCopy(Int64 nRevID, HybridDictionary hdNewRefParents, VaultFolders vfOwners, VaultFolder vfOld)
   bei VaultServiceBase.VaultRepository.GetReferenceCopiesByPath(Int64 nRevID, HybridDictionary hdNewRefParents, String strAbsolutePath, Boolean bRefCopyLastObjectWithAllFolders, VaultFSObjects& fsoList, Int32& nPinCount)
   bei VaultServiceAPILib.VaultTransactionContainer.GetReferenceCopiesByPath(String strAbsolutePath, VaultFSObjects& fsoList, Int32& nPinCount)
   bei VaultServiceAPILib.VaultTransaction.SafeToAddFSObject(String strAbsoluteName, VaultTransactionContainer txContainer, Int32 nInvalidPathErr, String& strPath, String& strName, VaultFSObjects& fsoList)
   bei VaultServiceAPILib.VaultTransaction.PreCheckAddFile(Int32 nCurrStatCode, VaultRequestAddFile vraf, String strFileToken, VaultTransactionContainer txContainer)
   bei VaultServiceAPILib.VaultServiceAPI.BeginTx(Int32 nTxUserID, Int32 nRepID, VaultDateTime dtBeginTx, String strComment, VaultRequestItem[]& requests, String& strTxID, VaultIntTx& vit)
   bei VaultService.VaultService.DoBeginTx(String strCallerLogEvt, Int32 nTxUserID, Int32 nRepID, VaultDateTime dtBeginTx, String strComment, VaultRequestItem[]& requests, String& strTxID)
   bei VaultService.VaultService.BeginTx(Int32 nRepID, String strComment, VaultRequestItem[]& requests, String& strTxID)
   --- Ende der internen Ausnahmestapelüberwachung ---   bei System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
   bei System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
   bei VaultClientNetLib.ClientService.VaultService.BeginTx(Int32 nRepID, String strComment, VaultRequestItem[]& requests, String& strTxID)
   bei VaultClientNetLib.VaultConnection.BeginTx(Int32 nRepID, VaultRequestItem[]& requests, String& strTxID, String comment)
   bei VaultClientOperationsLib.ClientInstance.Commit(ChangeSetItemColl givenItems, String strChangeSetComment, Boolean keepCheckedOut, Boolean removeLocalCopy, CommitType committype, VaultDateTime dateImport, Int32 nUserIDImport, Int64& nRevID, Int32[]& retBegEndTx)

I can checkout a existing file and with undoing check out I can it check in again.

Code: Select all

[28.04.2008 08:57:17] Checking out file $/tfc/akanzlei/makefile
[28.04.2008 08:57:17] Checked out file $/tfc/akanzlei/makefile
[28.04.2008 08:57:25] Undoing check out of file $/tfc/akanzlei/makefile
I also try to check in a modified file via command line. This also didn´t work. I got the Vista default error window. The command line shows this error.

Code: Select all

Unbehandelte Ausnahme: System.InvalidOperationException: Token StartElement im S
tatus Error würde in einem ungültigen XML-Dokument resultieren.
   bei System.Xml.XmlTextWriter.AutoComplete(Token token)
   bei System.Xml.XmlTextWriter.WriteStartElement(String prefix, String localNam
e, String ns)
   bei System.Xml.XmlWriter.WriteStartElement(String localName)
   bei VaultCmdLineClient.VaultCmdLineClient.Main(String[] args)

poschdi
Posts: 20
Joined: Fri Apr 25, 2008 3:49 am

Post by poschdi » Mon Apr 28, 2008 2:30 am

Perhaps it is a problem with the rights.

Some information about my system.
I used Windows Vista SP1.
I installed the Server and the client local on the same machine.

greets Florian

poschdi
Posts: 20
Joined: Fri Apr 25, 2008 3:49 am

Post by poschdi » Mon Apr 28, 2008 4:08 am

I make some more tests.

I added a new empty repository. With this repository I can without problems add files and check out/in files.

I believe there is a problem with my imported data. I will try this again.

Post Reply