The name of the application pool is not set to the default value
The information in this article applies to:
Visual Studio 2005 Team Foundation Server
Visual Studio Team System 2008 Team Foundation Server
Windows Server 2003
Windows Server 2008
SQL Server and SQL Server 2008
Application-tier server
Health check
The Best Practices Analyzer tool for Team Foundation Server checks the name that is assigned to the following application pools:
Visual Studio 2005 Team Foundation Server |
Visual Studio Team System 2008 Team Foundation Server |
---|---|
ReportServer |
ReportServer Note You manage ReportServer in Internet Information Services ( IIS ) for SQL Server 2005 but not for SQL Server 2008. |
TFS AppPool |
Microsoft Team Foundation Server Application Pool |
TFS Proxy AppPool |
Microsoft Team Foundation Server Proxy Application Pool |
TFSWSS |
DefaultAppPool |
TFWSSADMIN |
SharePoint Central Administration v3 |
An error appears if the assigned name does not match the default name. Although the name assignment does not affect typical server functions, it can cause problems if you upgrade or install service packs.
To resolve this issue, you must determine which of the following situations is the most likely cause and then correct it accordingly:
The Web site or virtual directory must be moved to its assigned application pool.
For more information, see:
Changing the Application Pool That Is Assigned to a Web Site or Virtual Directory in IIS 6.0
Changing the Application Pool That Is Assigned to a Web Site or Virtual Directory in IIS 7.0
An application pool for Team Foundation must be restored to its default name.
To restore the name in IIS 6.0, you must restore the application pool and then move the Web site or virtual directories to the restored application pool. For more information, see Restoring an Application Pool in IIS 6.0.
To restore the name in IIS 7.0, you must move the Web site or virtual directories to a different application pool, rename the application pool, and then move the Web site or virtual directories to the renamed application pool. For more information, see Renaming an Application Pool in IIS 7.0.
An application pool for Team Foundation has been deleted and must be recreated.
To recreate the pool in IIS 6.0, you must restore the application pool and then move the Web site or virtual directories to the restored application pool. For more information, see Restoring an Application Pool in IIS 6.0.
To recreate the pool in IIS 7.0, you must recreate the application pool and then move the Web site or virtual directories to the recreated application pool. For more information, see Recreating an Application Pool in IIS 7.0.
You use Internet Information Services (IIS) Manager on the application-tier server to perform these tasks.
Required Permissions
To perform this procedure, you must be a member of the Administrators security group on the application-tier server for Team Foundation.
Restoring an Application Pool in IIS 6.0
To restore an application pool to its default name in IIS 6.0
Log on to the application-tier server.
Click Start, point to Administrative Tools, and click Internet Information Services (IIS) Manager.
Internet Information Services (IIS) Manager opens.
In the tree pane, expand the local computer, and expand Application Pools.
Right-click the application pool that you want to rename, click All Tasks, and then click Save Configuration to a File.
In Name, type a name for the file to be saved, and click OK.
Right-click the application pool that you want to rename, click New, and then click Application Pool (from file).
The Import Configuration dialog box opens.
In the File box, verify that the file that you just saved appears, and then click Read File.
If the file does not appear, click Browse, locate the file that you saved, and then click Read File.
In Select a configuration to import, click the application pool that is listed, and click OK.
In the IIS Manager dialog box, click Create a new application pool.
In Application Pool ID, type the default name of the application pool that you are renaming.
Note
You can find the default name in the error.
Click OK.
Changing the Application Pool That Is Assigned to a Web Site or Virtual Directory in IIS 6.0
To change the application pool that is assigned to a Web site
In the tree pane of IIS Manager, expand Web Sites.
Right-click the Web site that runs under the application pool that you renamed, and then click Properties.
The following table indicates the Web sites that belong to each application pool.
Web site
Application pool (Visual Studio 2005 Team Foundation Server)
Application pool (Visual Studio Team System 2008 Team Foundation Server)
Default Web Site
TFSWSS
DefaultAppPool
SharePoint Central Administration v3
TFWSSADMIN
SharePoint Central Administration v3
Team Foundation Server
TFS AppPool
Microsoft Team Foundation Server Application Pool
Team Foundation Server Proxy
TFS Proxy AppPool
Microsoft Team Foundation Server Proxy Application Pool
On the Home Directory tab, click the appropriate application pool for the Web site (as listed in the previous table), and then click OK.
To change the application pool that is assigned to a virtual directory
In the tree pane of IIS Manager, expand the Web site that runs under the application pool that you renamed.
Right-click a virtual directory that runs under the application pool that you renamed, and click Properties.
The following table indicates the virtual directories that belong to each application pool.
Application pool (Visual Studio 2005 Team Foundation Server)
Application pool (Visual Studio Team System 2008 Team Foundation Server)
Web site
Virtual directories
ReportServer
ReportServer
Default Web Site
ReportsReportServer
TFS AppPool
Microsoft Team Foundation Server Application Pool
Team Foundation Server
Build
Services
VersionControl
Warehouse
WorkItemTracking
TFS Proxy AppPool
Microsoft Team Foundation Server Proxy Application Pool
Team Foundation Server Proxy
VersionControlProxy
On the Virtual Directory tab, click the appropriate application pool (as listed in the previous table), and then click OK.
Repeat the previous three steps for any remaining virtual directories that run under the application pool that you renamed.
Recreating an Application Pool in IIS 7.0
To recreate an application pool in IIS 7.0
Log on to the application-tier server.
Click Start, point to Administrative Tools, right-click Internet Information Services (IIS) Manager, and then click Run as administrator.
In the Connections pane, expand the server node, and click Application Pools.
On the Application Pools page, in the Actions pane, click Add Application Pool.
The Add Application Pool dialog box opens.
In the Name box, type the name of the application pool.
In the .NET Framework version list, click .NET Framework v2.0.50727.
In the Managed pipeline mode list, click Classic.
Select the Start application pool immediately check box.
By default, this check box is selected.
Click OK.
Renaming an Application Pool in IIS 7.0
To rename an application pool in IIS 7.0
Log on to the application-tier server.
Click Start, point to Administrative Tools, right-click Internet Information Services (IIS) Manager, and then click Run as administrator.
Internet Information Services (IIS) Manager opens.
In the Connections pane, expand the server node, and click Application Pools.
On the Application Pools page, click the application pool that you want to rename.
Move all applications that are assigned to the pool to a different pool:
In the Actions pane, under Edit Application Pool, click View Applications.
On the Application Pools page, right-click each application in the list, and then click Change Application Pool.
In the Select Application Pool dialog box, click a different application pool (for example, the DefaultAppPool).
Repeat steps 5b and 5c until no more applications are listed for the application pool that you want to rename.
On the Application Pools page, click the application pool that you want to rename.
In the Actions pane, under Edit Application Pool, click Rename.
Type the new name, and then click outside the box.
Move all applications that should be under the renamed application pool. On the Application Pools page, click the application pool from step 5c.
In the Actions pane, click View Applications.
On the Application Pools page, right-click each application in the list, and then click Change Application Pool.
In the Select Application Pool dialog box, click the application pool that you renamed in step 7.
Repeat steps 7b and 7c until you have reassigned all applications that should be assigned to the application pool for Team Foundation.
To verify that the assignments are correct, on the Application Pools page, click the renamed application pool, and then click View Applications.
The following table indicates the Web sites and virtual directories that belong to each application pool.
Application pool (Visual Studio Team System 2008 Team Foundation Server)
Web site
Virtual directories
Microsoft Team Foundation Server Application Pool
Team Foundation Server
Build
Services
VersionControl
Warehouse
WorkItemTracking
Microsoft Team Foundation Server Proxy Application Pool
Team Foundation Server Proxy
VersionControlProxy
ReportServer
Note
You manage ReportServer in IIS for SQL Server 2005 but not for SQL Server 2008.
Default Web Site
ReportsReportServer
Changing the Application Pool That Is Assigned to a Web Site or Virtual Directory in IIS 7.0
To change the application pool assigned to a Web site or virtual directory in IIS 7.0
Log on to the application-tier server.
Click Start, point to Administrative Tools, right-click Internet Information Services (IIS) Manager, and then click Run as administrator.
Internet Information Services (IIS) Manager opens.
In the Connections pane, expand the server node, and then expand Sites.
Perform one of the following steps:
Click the Web site that you want to reassign.
Expand the Web site, and click the virtual directory that you want to reassign.
In the Actions pane, click Basic Settings.
In the Edit Application dialog box, click Select next to Application pool.
In the Select Application Pool dialog box, click the appropriate application pool for the selected application, and click OK twice.
To verify whether the assignments are correct, perform step 9 of Renaming an Application Pool in IIS 7.0.
See Also
Tasks
An application pool is not configured correctly
Other Resources
Issues That Relate to .NET and Internet Information Services