I was working in a branch today, when I did something pretty close to the following:
- Checked out two .sql files
- Decided to delete the files from Vault (still checked out - forgot to undo checkout)
- Attempted to add the files back to Vault
- Received the following error message from Vault client (note that the times are off a bit from when it actually occurred as I have tried a number of things to correct this since then):
[11/19/2008 3:53:30 PM] An exception was encountered during the transaction. Exception: Server was unable to process request. ---> Error in the application. 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.BeginTx(Int32 nRepID, String strComment, VaultRequestItem[]& requests, String& strTxID)
at VaultClientNetLib.VaultConnection.BeginTx(Int32 nRepID, VaultRequestItem[]& requests, String& strTxID, String comment)
at VaultClientOperationsLib.ClientInstance.Commit(ChangeSetItemColl givenItems, String strChangeSetComment, Boolean keepCheckedOut, Boolean removeLocalCopy, CommitType committype, VaultDateTime dateImport, Int32 nUserIDImport, Int64& nRevID, Int32[]& retBegEndTx)
The error message doesn't really give me much to go on. After some review on the threads here, I found that it would likely be helpful to post some more information.
Here are the server logs from the time the error started occurring on my end (formatting applied by me and some values changed to protect identities/file names/etc):
----11/19/2008 1:58:43 PM myuser.name--192.168.127.xx(192.168.127.xx)--SSL Enabled BeginTx: Critical Error! Error in the application.
at VaultServiceBase.VaultRepository.GetReferenceCopiesByPath(Int64 nRevID, HybridDictionary hdNewRefParents, String strAbsolutePath, Boolean bRefCopyLastObjectWithAllFolders, VaultFSObjects& fsoList, Int32& nPinCount)
at VaultServiceAPILib.VaultTransactionContainer.GetReferenceCopiesByPath(String strAbsolutePath, VaultFSObjects& fsoList, Int32& nPinCount)
at VaultServiceAPILib.VaultTransaction.PreCheckCheckIn(Int32 nCurrStatCode, VaultRequestCheckIn vrci, String strFileToken, VaultResponseCheckIn vRespCheckIn, VaultTransactionContainer txContainer)
at VaultServiceAPILib.VaultServiceAPI.BeginTx(Int32 nTxUserID, Int32 nRepID, VaultDateTime dtBeginTx, String strComment, VaultRequestItem[]& requests, String& strTxID, VaultIntTx& vit)
at VaultService.VaultService.DoBeginTx(String strCallerLogEvt, Int32 nTxUserID, Int32 nRepID, VaultDateTime dtBeginTx, String strComment, VaultRequestItem[]& requests, String& strTxID)
----11/19/2008 1:58:43 PM myuser.name--192.168.127.xx(192.168.127.xx)--SSL Enabled (14212451-1fad-4260-9bbb-f8e2af8c2d3e) BeginTx returned: FailInvalidToken
----11/19/2008 1:58:43 PM myuser.name--192.168.127.xx(192.168.127.xx)--SSL Enabled (14212451-1fad-4260-9bbb-f8e2af8c2d3e) CheckIn: $/Branches/Project/Path/SQL/Stored Procedures/MySp1.sql returned: nil
----11/19/2008 1:58:43 PM myuser.name--192.168.127.xx(192.168.127.xx)--SSL Enabled (14212451-1fad-4260-9bbb-f8e2af8c2d3e) CheckIn: $/Branches/Project/Path/SQL/Stored Procedures/MySp2.sql returned: nil
Here is my vault information retrieved from the client:
Client Information
Vault Client Version: 4.0.5.15922
.Net Framework Version: 2.0.50727.1433
Operating System: Microsoft(R) Windows(R) Server 2003, Enterprise Edition
Service Pack: 2.0
OS Version: 5.2.3790
Total Physical Memory: 1.7 GB
Time Zone: (GMT-05:00) Eastern Time (US & Canada)
Server Information
Vault Server Version: 4.0.5.15922
.Net Framework Version: 2.0.50727.1433
Operating System: Microsoft(R) Windows(R) Server 2003, Standard Edition
Service Pack: 2.0
OS Version: 5.2.3790
Timezone: (GMT-04:00) Atlantic Time (Canada)
SQL Version: Microsoft SQL Server 2000 - 8.00.760 (Intel X86)
Dec 17 2002 14:22:05
Copyright (c) 1988-2003 Microsoft Corporation
Enterprise Edition on Windows NT 5.2 (Build 3790: Service Pack 2)
License Information
4 serial number(s):
1 of 4: 5 full users, permanent
2 of 4: 2 full users, permanent
3 of 4: 5 full users, permanent
4 of 4: 10 full users, permanent
Based on server logs it looks like my login is invalid? I don't know how this could be as it is integrated with AD and I have no problems accessing email and other network resources. This was working fine for me today, up until about 1pm EST.