Friday, 3 February 2006

"the handle is invalid" error with VSTS and TFS

We've struck this error trying to check-in a file in Visual Studio Team System. You get a very helpful dialog that says "The handle is invalid".

Turns out this is a bug that has been fixed post-Beta3, and bites you when two people have checked out an item. The workaround is to use the Get Latest Version menu-item, merge changes then you should be ok.

See this post in the MSDN Forums for more details.


Anonymous said...

but where do i find this " Get Latest Version" option? I'm not able to see it in the c++ menu bar.

David Gardiner said...

Either right-click on the project in the Solution Explorer, or go to File | Source Control | Get Latest Version