Team Foundation Server 2008 + Visual Studio 2008
Suppose that you have changed the name of machine where TFS 2008 client is installed as Source control tool for Visual studio. After this name change, your binding to TFS will mess up, you will be lost.
Solution is to run “Visual studio 2008 command Prompt”, and write following command
tf workspaces /owner:"demo1\sarwars" /computer:SHAHZADW2K3VPC /server:http://tfs1apptier:8080 /updatecomputername:akhtarvpc
where demo1\sarwars is user name of TFS, SHAHZADW2K3VPC is the new name of machine, tfs1apptier is name of TFS Server, akhtarvpc is the old name of machine.
If you are not administrator of TFS, add login phrase to command and provide administrative creditial.