Changed computer/server name and TFS blew up? Here’s the fix.

  1. From Command Prompt, cd into C:\Program Files\Microsoft Team Foundation Server 12.0\Tools, and execute the following command: TFSConfig.exe RemapDBs /DatabaseName:[YourServerName];[YourDatabaseName] /SQLInstances:[YourServerName]
  2. In C:\Program Files\Microsoft Team Foundation Server 11.0\Application Tier\Web Services, update connection string with the new server name under <appSettings>
  3. From Visual Studio Command Prompt, execute the following command: tf workspaces /updateComputerName:[YourComputerName] /collection:[Your TFS Default Collection URL]

In 3 above, your TFS Default Collection URL is usually http://localhost:8080/tfs/DefaultCollection

Like the technician who fixed my washer/drier said, we would not have jobs if things didn’t break down once in a while.

Advertisements
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: