Error trying to unpin 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

Error trying to unpin folder

Post by christian » Mon Aug 15, 2005 7:56 am

Just upgraded to vs3.1.1

We're getting an error trying to unpin a folder. The error we're seeing in the message pane is as follows:

[15/08/2005 14:43:07] An error occurred while trying to end a transaction.
[15/08/2005 14:43:07] An exception was encountered during the transaction. Exception: 1 : Failure 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.EndTx(String strTxID, Int32 nTxAction, DateTime& dtTxBegin, Int64& nNewRevision, VaultResponseItem[]& responses)
at VaultClientNetLib.VaultConnection.EndTx(String strTxID, Int64& nNewRevision, VaultResponseItem[]& responses, Int32 nAction, DateTime& txBeginDate)
at VaultClientOperationsLib.ClientInstance.Commit(ChangeSetItemColl givenItems, Boolean keepCheckedOut, Boolean removeLocalCopy, Boolean bIsImport, DateTime dateImport, Int32 nUserIDImport, Int64& nRevID)
[15/08/2005 14:43:07] Transaction failed


Also we get an error when right-clicking on the folder in the vault gui. The error we see is:

Invalid object version specified.

This is a major problem as we're now rather dead in the water as we need to unpin the folder so as to promote all the changes that have been taking place in the current iteration.

If this problem can't be resolved swiftly we're going to need to revert back to version 3.0.6 to remove the pin and then redo the upgrade. Can you explain how we can rollback. We took a backup immediately prior to upgrading to 3.1.1 and we have not performed any checkins since.

Thanks
Christian

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

Post by lbauer » Mon Aug 15, 2005 8:00 am

We need to see your Vault server log for more information (%windir%\temp\sgvault\sgvault.log). Could you post it or email to linda at SourceGear.com?
Linda Bauer
SourceGear
Technical Support Manager

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

Post by christian » Mon Aug 15, 2005 8:21 am

Hi Linda,
I've sent you the content of the log file via email.

A bit more background information - could be helpful in trying to diagnose the problem.

We upgraded because we were having problems with a share folder operation - not the same folder that we're now unpinning but both operations are within roughly the same locality within the tree. Also there's been quite a bit of experimentation with various tree organisations and share, pin and unpin operations all located within the same area - the result being that there have been perhaps a up to a dozen deletes of folders previously shared.

Christian

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

Post by lbauer » Mon Aug 15, 2005 8:32 am

Restart IIS (iisreset) and see if that helps clear things up.
Linda Bauer
SourceGear
Technical Support Manager

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

Post by christian » Mon Aug 15, 2005 8:45 am

Ok, that got us a little further.

We have a couple of pinned folders that we're experiencing unpin problems:

$/Mainline/Deployment/Motor Fleet/Latest/Files/Client/ECIC
$/Mainline/Deployment/General Insurance/Latest/Files/Client/ECIC

After restarting IIS we've successfully unpinned the first folder above. The second folder is still choking on an unpin but this time the message we're getting is:

[15/08/2005 15:37:21] Beginning transaction
[15/08/2005 15:37:21] Item $/Mainline/Deployment/General Insurance/Latest/Files/Client/ECIC caused the transaction to fail: The object is not pinned.
[15/08/2005 15:37:21] Transaction failed

However, from the vault gui the folder clearly has a pin icon. I'm just about to send you the log file again.

Christian

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

Post by lbauer » Mon Aug 15, 2005 8:51 am

The next step would be to close any open clients and delete the client cache files.

This should cause the cache files to be rebuilt and reflect the state of the tree more accurately.
Linda Bauer
SourceGear
Technical Support Manager

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

Post by christian » Mon Aug 15, 2005 8:57 am

Already ahead of you :-)

Deleting the cached data has done the trick.

Thanks for quick resolution to this
C

Locked