BUG: Invalid handle on concurrent checkout/checkin

If I am checking out the a project file.
My colleque checks out the same project file (concurrent checkout)

Then he checks in the project file.

Now, when I am trying to check it in I get an error box saying "Invalid Handle"

Restart, Reconnect to TFS doesnt help.

However, If I do a "Get lastest version" then it triggers a merge request, after I done the merge, the checkin works fine.

Regards
Fredrik Melin


Answer this question

BUG: Invalid handle on concurrent checkout/checkin

  • rasoul

    This sounds very familiar.  I'm pretty sure this was fixed post Beta 3.



  • joshlarsen

    Its the BETA3 I am running

    - Its a VB project, one solution, 20ish subprojects.
    - Added via File/Solution Control/Add project..
    - Both was checked out "on demand", when changes was needed to be done, (if you press properties on the project and change something, or add a form)
    - Tried checkin from Solution explorer and pending checkings, same error.



    - Fredrik

  • Márlon

    I believe you're talking about a problem specific to Crystal Reports 8.5, rather than dealing with a versioned item in Team Foundation...is that correct

    If so, I believe you want to look at the official Crystal Reports Customer Support Knowledge Base. I found what looks like your exact problem, and a workaround: http://support.businessobjects.com/library/kbase/articles/c2016804.asp

  • Master Cola

    Yes, the Beta 3 refresh really doesn't contain any improvements beyond Beta 3 other than the fact that it works with the released VS and has some setup and globalization/localization fixes.

    What is the merge problem you are having

    Brian

  • Rhapsy

    This sounds like a bug we found during the Beta3 testpass, but couldn't get the fix ready/approved in time for Beta3 itself.

    (On a Japanese test machine, the error message translated as "the steering wheel is invalid" :)

    I believe we've since fixed this bug. Can you provide some additional details of your scenario, so we can include it in our testing

    Specifically:
    - What was the project type (C#, VB.Net, does't seem to matter)
    - How was the project versioned - was it from File/Add Project/Solution to Source Control, or was it added from Source Control Explorer or the command line
    - Did you checkout from Solution Explorer, or Source Control Explorer, or via some other means
    - Did you try to check IN from the pending changes toolwindow, or from Solution Explorer, or Source Control Explorer Or do you get the error regardless of how you try to checkin (I suspect the latter, but I want to be sure it's the same bug)



  • korggy

    Sounds like a bug.  I'll forward it to the dev team and see if anyone recognizes it.

    Brian

  • cmh322

    After further review on our merge issue it appeared that it had something to do with line endings. 

    The merge tool showed half of the code updated which none of the code had been touched.  When we put in a different merge tool (CompareIt in this case) it showed the file differences correctly (ignoring the line endings I am assuming).

    I believe that is what caused part of our initial problem.

    Thanks,
    ~slee

  • Natehc

    Muchas Gracias, You rocketh my worldeth!  I've spent three days searching kbase and didn't find this article!  Thanks again.
  • Nils Nordenbrink

    I tested your scenario in a post-Beta3 build and confirmed that you'll now get the resolve dialog as expected, rather than the 'handle is invalid' error message.

    Thank you for your bug report!
    Chris

  • Chris Harry

    I am getting the same error on a basic save of the crystal report or subreport.  I am the only user in the files and when I try to save or save as I get the message "The Handle is Invalid."  I am running crystal 8.5.  Please help!


  • Marcus1976

    We are running VS 2005 RTM against Beta 3 Refresh and are still getting this error for a versioned item in Team System Version Control.

    I am assuming this was not fixed in Beta 3 Refresh either

    We also are having problems with the Merge tool not working correctly, is that a known issue in Beta 3 Refresh

  • BUG: Invalid handle on concurrent checkout/checkin