[Reprinted] After TFs machine name is changed, TFS cannot be executed.

Source: Internet
Author: User

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.
 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.