One machine, but Vault thinks file is checked out to two.

If you are having a problem using Vault, post a message here.

Moderator: SourceGear

Post Reply
MarkSi
Posts: 1
Joined: Tue May 18, 2010 7:23 pm

One machine, but Vault thinks file is checked out to two.

Post by MarkSi » Sat Jun 12, 2010 3:28 pm

I'm working on a single machine remotely at the moment. It's my PC at home, and the Vault server is at the office. So I'm connecting over the internet.

I had the file checked out a few days ago. When I'm working in the Visual Studio IDE using the enhanced client, it shows up in my Solution Explorer, not with the red checked out icon, but with an icon that indicates that it's checked out elsewhere (a person). Hovering over the item, the tooltip says:

You have this file checked out on main/main. The file is up-to-date.

My machine's name is "main". It is in a workgroup called "home"

The vault menu has "Check in" enabled, but Check out or Undo Checkout are disabled for this item.

If I go into the Vault client, I am able to check the file out, and then it shows up with an icon with two red checkmarks.

Looking at the properties on the file in the Vault client, I get the following for the Check out status:
checkout.png
screen shot of the properties for an item showing it checked out twice.
checkout.png (15.11 KiB) Viewed 1838 times
Notice that both show the checkout on the machine "main", but know my workgroup correct shows up.

So why did Vault somehow lose track of the fact that this was originally checked out by me? Looks like a bug where my machine name is getting stuffed into what should hold the workgroup name?

The only other thing that I would add is that at some point, when coming into the IDE to do some work, vault had somehow lost it's "session". Sorry, I don't remember the exact error message. Clicked OK, and then it appeared to reestablish the session. Took about 30 seconds to reload everything in the solution explorer. It was shortly after this that I noticed the whacky checkout problems I'm reporting.

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

Re: One machine, but Vault thinks file is checked out to two.

Post by lbauer » Sat Jun 12, 2010 7:14 pm

I'd suggest deleting the client-side cache, as it may be out of sync with the database. Checkout list informatioin is stored in the Cache. Close any open clients first. You may also want to restart the Vault server with an iisreset command from a command prompt, after you've cleared the cache.

http://support.sourcegear.com/viewtopic ... 13&t=11513
Linda Bauer
SourceGear
Technical Support Manager

Post Reply