Resurrecting TFS from the Dead.

Sometimes due to uh.. software conflicts.. the IIS site for Team Foundation Server might be deleted. In order to recover it you need to reinstall the Application-Tier of Team Foundation Services.

Here’s the link that put us on the right path:
https://social.msdn.microsoft.com/Forums/en-US/17a916d7-5a65-4913-90ff-0af3a3d0cd33/deleted-tfs-site-in-iis?forum=tfssetup

The high level instructions are:

  1. Uninstall Application Tier of Team Foundation Services through the command line
  2. Configure Application Tier through TFS Administration Console

 

Here’s the rough guide to bringing it back:

Uninstalling TFS Application Tier through command line

https://www.visualstudio.com/en-us/docs/setup-admin/tfs/command-line/tfsconfig-cmd#Setup

> cd "C:\Program Files\Microsoft Team Foundation Server 11.0\Tools"
> TFSconfig.exe setup /uninstall:ApplicationTier

Configure Application Tier through TFS Administration Console

Open “Team Foundation Server Administration Console” as Administrator

In the left Pane, click on “Application Tier”

Screen Shot 2017-05-19 at 2.37.44 pm

Click on “Configure Installed Features”

Select “Application-Tier Only”

Screen Shot 2017-05-19 at 2.38.28 pm

Click on “Start Wizard”

Specify existing SQL Instance which hosts the TFS Configuration database.

Specify service account (use the same one that was previously used)

Specify authentication protocol (NTLM or Kerberos)

Press next and configure until the wizard is completed. Voila, TFS is back!

Please note, you may have to edit the bindings of the “Team Foundation Server” IIS site and use the “Change URLs” interface in the TFS Administration¬†Console to properly configure access URLs.

Advertisements

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 )

Google+ photo

You are commenting using your Google+ 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 )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.