Cannot delete shared file

This forum is now locked, since Gold Support is no longer offered.

Moderator: SourceGear

Locked
Graham Day
Posts: 9
Joined: Tue Jan 02, 2007 6:46 am
Location: London

Cannot delete shared file

Post by Graham Day » Thu Nov 08, 2007 10:11 am

We are using Vault Server 3.5.2.5087
We are using Vault Client 3.5.2.5087

We have a file in FolderA shared from another FolderB and also shared through to FolderC.

File in FolderA is pinned.
File in FolderA shows share links from FolderB and FolderC.

File in FolderB only shows share links to FolderC
File in FolderC only shows share links to FolderB.

We cannot unpin or delete a file in FolderA. Other files in this folder are just fine.

We tried restarting IIS on the Vault server but the problem persists.

We cannot unpin the file in FolderA. Instead we get:

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)


We cannot delete the file in FolderA. Instead we get a commit failed dialog and then nothing happens but a pending action.

The server log reads like:

----08/11/2007 16:03:29 MyComp--MyComp.Domain.local(xxx.xxx.xx.xx)--SSL Disabled 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.GetReferenceCopiesToPathFolderOnly(String strAbsolutePath, VaultFSObjects& fsoList, VaultFSObject& fsoLastItem, Int32& nPinCount)
at VaultServiceAPILib.VaultTransaction.PreCheckProcessUnpin(Int32 nCurrStatCode, VaultRequestUnpin vru, Boolean bCommitWork, VaultTransactionContainer txContainer)
at VaultServiceAPILib.VaultServiceAPI.BeginTx(HttpApplicationState theApp, String strSessionID, VaultLoginInfo vliLoggedInUser, Int32 nTxUserID, Int32 nRepID, VaultDateTime dtBeginTx, String strComment, VaultRequestItem[]& requests, String& strTxID, VaultIntTx& vit)
at VaultService.VaultService.DoBeginTx(HttpApplicationState has, HttpSessionState hss, VaultLoginInfo vli, String strCallerLogEvt, Int32 nTxUserID, Int32 nRepID, VaultDateTime dtBeginTx, String strComment, VaultRequestItem[]& requests, String& strTxID)
----08/11/2007 16:03:29 MyComp--MyComp.Domain.local(xxx.xxx.xx.xx)--SSL Disabled (9b6417fa-fb16-47ce-9081-3439574cfcf1) BeginTx returned: FailInvalidToken
----08/11/2007 16:03:29 MyComp--MyComp.Domain.local(xxx.xxx.xx.xx)--SSL Disabled (9b6417fa-fb16-47ce-9081-3439574cfcf1) Unpin: $/Deployment/Domain3_Dev/Databases/CCDW/Tables/dbo.tbl_sys_PackageCompleted.sql returned: nil
----08/11/2007 16:03:33 MyComp--MyComp.Domain.local(xxx.xxx.xx.xx)--SSL Disabled 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.GetReferenceCopiesToPathFolderOnly(String strAbsolutePath, VaultFSObjects& fsoList, VaultFSObject& fsoLastItem, Int32& nPinCount)
at VaultServiceAPILib.VaultTransaction.PreCheckProcessDelete(Int32 nCurrStatCode, VaultRequestDelete vrd, VaultResponseDelete respDel, Boolean bCommitWork, VaultTransactionContainer txContainer)
at VaultServiceAPILib.VaultServiceAPI.BeginTx(HttpApplicationState theApp, String strSessionID, VaultLoginInfo vliLoggedInUser, Int32 nTxUserID, Int32 nRepID, VaultDateTime dtBeginTx, String strComment, VaultRequestItem[]& requests, String& strTxID, VaultIntTx& vit)
at VaultService.VaultService.DoBeginTx(HttpApplicationState has, HttpSessionState hss, VaultLoginInfo vli, String strCallerLogEvt, Int32 nTxUserID, Int32 nRepID, VaultDateTime dtBeginTx, String strComment, VaultRequestItem[]& requests, String& strTxID)
----08/11/2007 16:03:33 MyComp--MyComp.Domain.local(xxx.xxx.xx.xx)--SSL Disabled (e9d28d50-d9d9-4db7-b818-acf0657b94b6) BeginTx returned: FailInvalidToken
----08/11/2007 16:03:33 MyComp--MyComp.Domain.local(xxx.xxx.xx.xx)--SSL Disabled (e9d28d50-d9d9-4db7-b818-acf0657b94b6) Delete: $/Deployment/Domain3_Dev/Databases/CCDW/Tables/dbo.tbl_sys_PackageCompleted.sql returned: nil

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

Post by Beth » Thu Nov 08, 2007 11:00 am

I'm going to have you try Clearing your Client Side Cache and performing another iisreset first. To clear your cache, go to the following location:
%USERPROFILE%\Local Settings\Application Data\SourceGear\Vault_1\Client\{repository-guid}\{vaultuser}\.
You will see a bunch of files that start with CacheMember and a folder called _sgvault. Delete the _sgvault folder and then delete all the Cache Members except for CacheMember_WorkingFolderAssignments. The reopen your Vault and try again with those shares.

If you get errors again or something still isn't right, then we need to dig into your database. At that point, send an email to support at sourcegear.com (attn: Beth) with a link to this forum post, and I can take it from there.

Locked