VS2003 with TFS MSSCCI Provider "Item is already checked-out elsewhere"  
Author Message
Tomb1





PostPosted: Team Foundation Server - Version Control, VS2003 with TFS MSSCCI Provider "Item is already checked-out elsewhere" Top

When UserA attempts to checkout a certain file from within the VS2003IDE they get the error message:

Visual Studio Team Foundation

Item is already checked-out elsewhere: $/Advantage/dotNet/Releases/1.0/Trunk/NCMC.LOS.WinUI/NCMC.LOS.WinUI.Locking/LockInformation.resx

I opened Team Explorer (different user, different workstation) and I can check the same file with no problem.

What could cause this issue, how do I resolve



Visual Studio Team System27  
 
 
Steve St.Jean





PostPosted: Team Foundation Server - Version Control, VS2003 with TFS MSSCCI Provider "Item is already checked-out elsewhere" Top

It sounds like the server believes that you already have this file checked out to yourself on another machine.  It also looks like you allow multiple users to check-out the same file at the same time.  The second statement is why another user can check out the file but you can't. 

The Workspace file holds the locking cache.  If you delete your workspace on the problem computer, the lock should be released.  You can then rebuild the workspace and try checking out the file again.  If you're not sure which computers you have workspaces on, run the TF.exe program from a command prompt as follows:

TF.exe workspaces /server:<your TFS server> /o:<your login>

This will list out all of the workspaces on the TFS server owned by your login.  Check here on MSDN for more info.

http://msdn2.microsoft.com/en-us/library/54dkh0y3(d=ide).aspx

-Steve



 
 
Tomb1





PostPosted: Team Foundation Server - Version Control, VS2003 with TFS MSSCCI Provider "Item is already checked-out elsewhere" Top

Thanks for the response but let me clarify...

1) We DO NOT have multiple checkouts enabled.

2) If TFS Explorer the file DOES NOT appear to be checked out. (This is confirmed both visually in the IDE and by my ability to check the file out in the Team Explorer IDE). The properties context menu for this file showes no pending changes.

3) I used the "TFS Status Sidekick" and this file does not show in the list of checked out files.

In summary, in every way I can check (except thru VS2003 IDE) the file appears not to be checked out. Only if I try and check out the file thru the VS2003 IDE do I get this error message.

Any further suggestions


 
 
Michal Malecki





PostPosted: Team Foundation Server - Version Control, VS2003 with TFS MSSCCI Provider "Item is already checked-out elsewhere" Top

Could you run File->Source Control->Team Foundation Properties on the form, which causes problem In the Status tab you can check if there are any pending changes (in case mapping settings confuse Msscci and not Team Explorer).

Does this situation happens only with resx files (which are handled automatically by IDE) or with other files as well



 
 
Tomb1





PostPosted: Team Foundation Server - Version Control, VS2003 with TFS MSSCCI Provider "Item is already checked-out elsewhere" Top

Thanks for the response.

This odd behavior was resolved when we installed the just released "1.0" version of the provider.

Tom


 
 
Michal Malecki





PostPosted: Team Foundation Server - Version Control, VS2003 with TFS MSSCCI Provider "Item is already checked-out elsewhere" Top

The just released version is 1.1 :)