Welcome to MSDN Blogs Sign in | Join | Help

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 http://tfs.myserver.com:8080/ as the key name and the value would be http://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.

Published Friday, February 10, 2006 10:39 PM by mab

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# re: Adding a new Team Foundation Server location when previous server invalid

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.
Saturday, February 11, 2006 8:42 AM by JohnCJ

# VSTS Links - 02/13/2006

Sorry, I was out for a couple of days.  Here is the really long VSTS Links catchup post.

Steve Lange...
Monday, February 13, 2006 7:45 AM by Team System News

Leave a Comment

(required) 
required 
(required) 

  
Enter Code Here: Required
 
Page view tracker