Update the internal server code of the TFS server using the tfsadminutil activateat tool (these codes are all stored in the DB)
Go to the % ProgramFiles % \ Microsoft Visual Studio 2005 team Foundation Server \ tools directory, and run the command in "start"-> "run" input "cmd", in "C: \ ProgramFiles \ Microsoft Visual Studio 2005 team Foundation Server \ tools "input:
Tfsadminutil renamedt [servername] // new machine name
Tfsadminutil activateat
Step 2)
Modify the rs url of the TFS local registry
Locate HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ visualstudio \ 8.0 \ teamfoundation \ reportserver and modify the URL
Step 3)
Find \ Program Files \ Microsoft Visual Studio 2005 team Foundation Server \ Web Services, modify web. config, and change the URL you see to the new one.
Modify
[Add = "http: // tfsrtm: 8080" Key = "tfsnameurl"/]
[Add = "tfsrtm" Key = "TFs name"/]
To
[Add = "http: // [servername]: 8080" Key = "tfsnameurl"/] // [servername]: new machine name
[Add = "[servername]" Key = "TFs name"/]
Step 4)
Fixed the tfsserverscheduler service. Stop the service and find the \ Program Files \ Microsoft Visual Studio 2005 team Foundation Server \ tfsserverscheduler directory to correct tfsserverscheduler.exe. config and restart.
Modify
[Add = "http: // rtmtgbs001: 8080" Key = "bisdomainurl"/]
To
[Add = "http: // [servername]: 8080" Key = "tfsnameurl"/] // [servername]: new machine name
Step 5)
(1). Restart IIS.
(2) manually clear the Client Cache:
1. Disable Visual Studio.
2. Delete the folder content:
C: \ Documents ents and Settings \ [user] \ Local Settings \ Application Data \ Microsoft \ team Foundation \ 1.0 \ cache \
3. Restart Visual Studio.