Answered Lost TFS Bindings after changing network password

  • Monday, March 30, 2009 1:02 PM
     
     
    Would anyone happen to know why after changing my Windows password and rebooting that I would lose my bindings to TFS on all of my projects or solutions?  Even after rebinding, my bindings are not "sticking"  to my projects or solutions.   Every time I open VS 2008 SP1, I have to rebind to TFS.  I'm running Windows XP Pro SP2.

    I used to open VS and Team Explorer would already be connected to our TFS team project.  Now after changing my network password, I have to open the "Connect to a Team Foundation Server" dialog and click OK.  When I do open the project or solution, I get the following message in the Output window in VS:
    This solution is offline.
    The solution is offline because its associated Team Foundation Server is offline.
    Then I go to File --> Source Control --> Change Source Control... in VS and I'm asked "Would you like to completely disassociate the solution from source control?"  I choose Yes.  Then I go back to File --> Source Control --> Change Source Control... and I bind to TFS.
    • Moved by Bill.Wang Tuesday, March 31, 2009 7:14 AM A version control question.
    •  

All Replies

  • Tuesday, March 31, 2009 1:25 PM
    Moderator
     
     
    The error message says that server is offline, did you try to access the server from another client? If it's offline, did you change the TFS service account's password?
  • Tuesday, March 31, 2009 5:33 PM
     
     
    Thanks for the response.  TFS is not offline because I can connect to it by going to Team --> "Connect to a Team Foundation Server" dialog and click OK in VS 2008 SP1.  It connects with no problem.  Before I changed my password, when I opened VS I was automatically connected to TFS.  Others on my team are able to connect with no problems.  The TFS server is 2005 but the Team Explorer is 2008.
  • Tuesday, March 31, 2009 6:55 PM
    Moderator
     
     Answered

    From the message in the output window, the solution was “offline” with TFS.  In TFS once a solution is offline it stays offline until you explicitly bring it back online.  You bring a solution online by following the steps here.  I suspect the binding information was not lost – but rather you were not able to perform source control operations since it was offline (giving it the appearance that it was not bound anymore).   

     


    http://blogs.msdn.com/edhintz
  • Wednesday, February 29, 2012 10:33 PM
     
     

    I had same issue and was resolved by selecting the "Go online" option as suggested by Ed Hintz.

    From the main menu in VS2008 File > Source Control > Go online.