Changing the computer name affects TFS use

Source: Internet
Author: User

Today, I changed the computer name of my computer, when I opened vs, I was prompted with the following errors: Error situation

?

?

Error
work area? dadi--20141015q; Sd-server\administrator? is not homed on this computer. If you have recently renamed this computer, you can update the workspace by running Tf?workspaces?/updatecomputername:oldcomputername .

?

Solution:

??

1. Open the "developer command Prompt" under vs

2. Enter the command to query the existing TFS workspace-bound computer:tf?workspaces

Like what:

where 1 represents the command, 2 represents the address of TFS, and 3 represents the computer name that was originally bound.

3. Enter the command tf WORKSPACES/COLLECTION:HTTP://192.168.1.236:8080/TFS/TC?/updatecomputername: The name of the previous computer

For example: TF workspaces/collection:http://192.168.1.236:8080/tfs/tc/updatecomputername:dadi--20141015q

Note: Where/collection,/updatecomputername is the keyword, HTTP://192.168.1.236:8080/TFS/TC is the connection path to TFS

4. Enter the command, and then TFS will modify it itself. If the previous computer credentials did not save the information, the command return after the TFS will automatically pop up to enter the login to TFS account and password (that is, the original administrator assigned you to log on to TFS user name and password)

5. After the login is finished. Turn on vs again to use. You will find the original work area. Because the above steps simply change the old computer name that was bound to the original workspace to your new computer name. The original workspace for TFS will not change.

6. Have other questions please leave a message to ask questions oh.

Changing the computer name affects TFS use

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.