The Web site for Team Foundation Server has been extended
The information in this article applies to:
Visual Studio 2005 Team Foundation Server
Visual Studio Team System 2008 Team Foundation Server
Windows SharePoint Services 2.0
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.
This rule is run only if Windows SharePoint Services 2.0 is deployed. The procedure in this topic is valid for Windows SharePoint Services 2.0 only.
One of the following errors appears if one of the 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. To resolve this issue, you should verify that the Web site has been extended, and then you must remove SharePoint Products and Technologies from the site and restore the Web.config file.
To perform these procedures, you must be a member of the Windows SharePoint Services Site Administrators group on the server that is running Windows SharePoint Services 2.0, 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
On the application-tier server, open Internet Explorer.
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.
Under Virtual Server Configuration, click Configure virtual server settings.
On the Virtual Server List page, Extend should appear in the last column for Team Foundation Server. If Extend does not appear, the site has been extended.
To unextend the Web site for Team Foundation Server
From the SharePoint Central Administration site, under Virtual Server Configuration, click Configure virtual server settings.
On the Virtual Server List page, click Team Foundation Server.
On the Virtual Server Settings page, under Virtual Server Management, click Remove Windows SharePoint Services from virtual server.
On the Remove Windows SharePoint Services from Virtual Server page, under Remove Windows SharePoint Services, click Remove without deleting content databases, and then click OK.
To restore the Web.config file
On the application-tier server, open Windows Explorer.
Locate the directory that contains the configuration file for the site. By default, the file is in the following location:
For Visual Studio 2005 Team Foundation Server: Drive:\Program Files\Microsoft Visual Studio 2005 Team Foundation Server\Web Services
For Visual Studio Team System 2008 Team Foundation Server: Drive:\Program Files\Microsoft Visual Studio 2008 Team Foundation Server\Web Services
Rename the .config file that has the embedded date to Web.config.
The .config file will have a date-embedded label (for example, web_2007_7_28_4_42.config). When the Web site was extended, SharePoint Products and Technologies changed the name of the file. This step restores the original name.
Restart Internet Information Services (IIS) by opening a Command Prompt window, typing iisreset, and pressing ENTER.