"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.