The Web site for Team Foundation Server has been extended

The information in this article applies to:

  • Visual Studio Team Foundation Server 2010

  • Windows SharePoint Services 3.0 and Microsoft Office SharePoint Server 2007

  • Application-tier server or server that hosts SharePoint Products 

  • Team Foundation Server Complete Health Check

  • Team Foundation Server Framework Health Check

  • SharePoint Products Health Check

The Best Practices Analyzer tool for Team Foundation Server checks the configuration of the Web site for Team Foundation Server and Team Foundation Server Proxy. 

The following error appears if one of these Web sites has been extended:

  • The Team Foundation Server Web site has been extended by SharePoint Services

You should not extend the Web site for Team Foundation Server because that change interferes with correct functioning of the site. After you verify that the Web site has been extended, you resolve the issue by removing SharePoint Products from the site, assigning it to the Microsoft Team Foundation Server Application Pool, and renaming the web.config file.

Required Permissions

To perform these procedures, you must be a member of the Windows SharePoint Services Site Administrators group on the server that is running SharePoint Products, or you must be a member of the Administrators security group on the application-tier server for Team Foundation.

To verify whether the Web site for Team Foundation Server has been extended

  1. On the application-tier server, open Internet Explorer.

  2. Type the URL for the SharePoint Central Administration page.

    By default, the URL for this page is http://ApplicationTierServerName:17012/default.aspx.

    The SharePoint Central Administration page opens.

  3. Click Application Management.

  4. Under SharePoint Web Application Management, click Web application list.

    If the Web site for Team Foundation Server appears in the list, the Web site has been extended.

To unextend the Web site for Team Foundation Server

  1. On the SharePoint Central Administration site, click Application Management.

  2. Under SharePoint Web Application Management, click Remove SharePoint From IIS Web Site, and then click Web application list.

  3. On the Remove SharePoint From IIS Web Site page, in the Deletion Options section, click Team Foundation Server.

  4. Under Delete IIS Web Sites, make sure that No is clicked, and then click OK.

To reassign the application pool for the Team Foundation Server Web site in Internet Information Services 6.0

  1. Log on to the application-tier server.

  2. On the Start menu, point to Administrative Tools, and click Internet Information Services (IIS) Manager.

  3. In the tree pane, expand the local computer, and expand the Web Sites node.

  4. Right-click Team Foundation Server, and then click Properties.

  5. On the Home Directory tab, click Microsoft Team Foundation Server Application Pool, and then click OK.

  6. Close Internet Information Services (IIS) Manager.

  7. Open a Command Prompt window, type iisreset, and then press ENTER.

To reassign the application pool for the Team Foundation Server Web site in Internet Information Services 7.0

  1. Log on to the application-tier server that the error message names.

  2. On the Start menu, point to Administrative Tools, right-click Internet Information Services (IIS) Manager, and then click Run as administrator.

  3. In the Connections pane, expand the local computer, expand the Sites node, and then click Team Foundation Server.

  4. In the Actions pane, click Basic Settings.

  5. In the Edit site window, click Select.

  6. In the Select Application Pool window, click Microsoft Team Foundation Server Application Pool, and then click OK twice.

  7. Close Internet Information Services (IIS) Manager.

To restore the web.config file

  1. On the application-tier server, open Windows Explorer.

  2. Locate the directory that contains the configuration file for the site.

    By default, the file is in the following location:

    Drive:\Program Files\Microsoft Team Foundation Server 2010\Tools\Templates

  3. Rename the .config file that has the embedded date to web.config.

    The .config file will have a date embedded in its name (for example, web_2007_7_28_4_42.config). When the Web site was extended, SharePoint Products changed the name of the file. This step restores the original name.

  4. Open a Command Prompt window, type iisreset, and then press ENTER.

See Also

Tasks

SharePoint Products is not configured correctly

Concepts

Issues that Relate to SharePoint Products and Integration with Team Foundation Server