Unable to share file to folder

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

Unable to share file to folder

Post by Graham Day » Wed Sep 12, 2007 3:43 am

Hi Support,

We've been having trouble with a particular file in Vault. We're trying to share a file through from one folder to another and we get the error message:

[12/09/2007 10:26:23] Preparing data to begin transaction
[12/09/2007 10:26:23] Beginning transaction
[12/09/2007 10:26:23] Item $/Projects/PShop/Leverage/Databases/PShop/Stored Procedures/dbo.usp_lv_Summary_update.sql caused the transaction to fail: An item with the same name or object id already exists in the selected folder.
[12/09/2007 10:26:23] Transaction failed

The server sgvault.log shows:

----12/09/2007 10:08:18 Devuser--Devmachine.devdomain.local(192.168.70.28)--SSL Disabled (d04098e9-f01b-4c53-9a23-f47db2404261) BeginTx returned: FailNameConflict
----12/09/2007 10:08:18 Devuser--Devmachine.devdomain.local(192.168.70.28)--SSL Disabled (d04098e9-f01b-4c53-9a23-f47db2404261) Unpin: $/Deployment/Domain3_Dev/Databases/PShop/Stored Procedures/usp_lv_Summary_update.sql returned: FailNameConflict


Originally, this file was shared through to the target folder. The source file was renamed and somehow this file showed up in the target folder twice (once with the old name, once with the new). We couldn't resolve the issue gracefully so we deleted both instances of the file in the target folder (leaving the original source file as is). Now, trying to share this file back through to the target folder we get the error message. It's as though Vault still thinks this file exists in the target folder even though it isn't listed.

Kind Regards,
Graham

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

Post by Beth » Wed Sep 12, 2007 7:41 am

What version of Vault are you currently using?

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

Post by Graham Day » Wed Sep 12, 2007 8:04 am

Vault 3.5.2

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

Post by Beth » Wed Sep 12, 2007 3:39 pm

I'm trying to reproduce this without much luck. I will need to dig a little more and will come back with more instructions soon.

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

Post by Beth » Thu Sep 13, 2007 9:58 am

This could maybe be a cache issue. I'm going to have you clear both.

Server Side: Just go to Start - Run and type iisreset. Users will lose their connection for one minute, so you may wish to pick a good time to do that.

Client Side:
Information about where the cache is and what's in it can be found here: Clear Client Side Cache.

You shouldn't need to remove CacheMember_WorkingFolderAssignments, otherwise, you'd have to reset all your working folders.

If you have things to check in, you might want to do that first, just to avoid any potential hassle.

Once the cache is cleared, your status will be "missing". You can perform a Get to resolve that, but don't do an overwrite.

Then try the share and let me know the results.

Locked