A configuration file contains namespace information
The information in this article applies to:
Visual Studio Team Foundation Server 2010
Windows Server 2003 and Windows Server 2008
SQL Server 2008
Team Foundation Server Complete Health check
Team Foundation Server Framework Health check
The Best Practices Analyzer tool for Team Foundation Server checks for any namespace information in the Web.config file for each Web site and virtual directory for Team Foundation Server. An error appears if a Web.config file contains namespace information. The error message contains the directory path, the affected Web site, and the server name.
You add a namespace attribute to a Web.config file if you modify it by using the ASP.NET Configuration Settings dialog box that you access from the Internet Information Services (IIS) Manager. If a Web.config file contains namespace information, files and assemblies do not load correctly. Alerts might contain a blank subject line, or other event errors might indicate the problem. To resolve this issue, use a text or XML editor to remove the namespace attribute from the Web.config file.
To perform this procedure, you must be a member of the Administrators group on the application-tier server for Team Foundation.
To remove namespace information from a Web.config file
Log on to the application-tier server for Team Foundation.
Open Windows Explorer, and locate the directory that the error specifies.
Open the Web.config file in Notepad or other text-based editor.
Even if you are logged on with administrative credentials, you must open Notepad as an administrator to perform this function on a server that is running Windows Server 2008. To open Notepad as an administrator, click Start, right-click Command Prompt, and click Run as administrator. For more information, see the Microsoft Web site.
Locate the following element:
Remove the xmlns attribute so that the element reads:
Save and close the file.
Stop and restart the Web services application for Team Foundation Server so that your changes will take effect.
To restart an application in IIS 6.0:
Open the Start menu, point to Administrative Tools, and then click Internet Information Services (IIS) Manager.
In the tree pane, expand the local computer, and then expand Web Sites.
Right-click the name of the Web site (for example, Team Foundation Server), and click Stop.
Right-click the name of the Web site, and click Start.
To restart an application in IIS 7.0:
Open the Start menu, point to Administrative Tools, right-click Internet Information Services (IIS) Manager, and then click Run as administrator.
In the Connections pane, expand the local computer, and then expand Sites.
Right-click the name of the Web site (for example, Team Foundation Server), point to Manage Web Site, and then click Restart.