Condividi tramite


Adding a new Team Foundation Server location when previous server invalid

When you try to select a new TFS location and your previous server name is invalid you may receive this error:

The remote name could not be resolved: "ServerName"

The problem is that TFS will not open the dialog box to manage the server entries.  You can resolve this in one of two ways.

Option 1 - Remove the server locations from the registry locations below

  1. HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\8.0\TeamFoundation\Servers
  2. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0\TeamFoundation\Servers

Option 2 - Add a new server to the registry to allow the management dialog to appear

  1. Locate the registry location called HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\8.0\TeamFoundation\Servers
  2. Add a new string key value and name it the locaiton of the server with a trailing \, as an example enter https://tfs.myserver.com:8080/ as the key name and the value would be https://tfs.myserver.com:8080.

*WARNING: Using Registry Editor incorrectly can cause serious problems that may require you to reinstall your operating system. There are no guarantees that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk.

Comments

  • Anonymous
    February 11, 2006
    Dude, it's a lot easier (and safer) to just use Excel to make the change. I originally got this tip from Chris Menegay at Notion Solutions.
  • Anonymous
    February 12, 2006
    Sorry, I was out for a couple of days.  Here is the really long VSTS Links catchup post.

    Steve Lange...