Cannot delete a shared folder

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

Moderator: SourceGear

Locked
christian
Posts: 202
Joined: Tue Sep 14, 2004 1:02 pm
Location: UK

Cannot delete a shared folder

Post by christian » Mon Mar 05, 2007 9:35 am

I'm getting an error when trying to delete a shared folder. The error I see is as follows:

[05/03/2007 15:08:27] Version Check: This Vault client is version 3.5.1.4786
[05/03/2007 15:08:27] Version Check: Your Vault server is version 3.5.1.4786
[05/03/2007 15:09:42] Preparing data to begin transaction
[05/03/2007 15:09:42] Beginning transaction
[05/03/2007 15:09:42] An error occurred while trying to begin a transaction.
[05/03/2007 15:09:42] Transaction failed
[05/03/2007 15:09:42] 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 folder in question has been shared out in a number of places. In actual fact I don't want to delete the folder. I attempted to delete the folder and then re-share it as a way of solving a poblem that I'm having with the single file this folder contains - it is not in synch with the version of the file that I have just checked into one of the other folder shares. The strange thing is that this all other shares for this folder show the updated version of this file except this one folder in question.

There are no current pins anywhere in this repository that could be complicating things.

Please help.
Thanks
Christian Crowhurst

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

Post by lbauer » Mon Mar 05, 2007 9:54 am

Check the Vault server log, sgvault.log in %windir%\temp\sgvault. Is there a corresponding message?
Linda Bauer
SourceGear
Technical Support Manager

christian
Posts: 202
Joined: Tue Sep 14, 2004 1:02 pm
Location: UK

Post by christian » Mon Mar 05, 2007 10:04 am

Here's the corrosponding error in the vault server log:

Here's the corrosponding error in the vault server log:

----05/03/2007 15:08:27 Christian Crowhurst--My_Server.ECA.domain(My_IP_Address)--SSL Disabled Login
----05/03/2007 15:09:42 Christian Crowhurst--My_Server.ECA.domain(My_IP_Address)--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, 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)
----05/03/2007 15:09:42 Christian Crowhurst--My_Server.ECA.domain(My_IP_Address)--SSL Disabled (0a2c7e61-17cf-4632-a566-6d40bc3a56b2) BeginTx returned: FailInvalidToken
----05/03/2007 15:09:42 Christian Crowhurst--My_Server.ECA.domain(My_IP_Address)--SSL Disabled (0a2c7e61-17cf-4632-a566-6d40bc3a56b2) Delete: $/Projects/NHibernateDemo/NHibernateOneToMany/lib/NUnit returned: nil

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

Post by lbauer » Mon Mar 05, 2007 10:37 am

I'd suggest closing your client, then clearing your client side cache file:
http://support.sourcegear.com/viewtopic.php?t=6

Then restart Vault (by restarting IIS) and try the operation again.
Last edited by lbauer on Mon Mar 05, 2007 4:40 pm, edited 1 time in total.
Linda Bauer
SourceGear
Technical Support Manager

christian
Posts: 202
Joined: Tue Sep 14, 2004 1:02 pm
Location: UK

Post by christian » Mon Mar 05, 2007 10:59 am

Ok, will do.

Locked