This documentation is archived and is not being maintained.

An application pool is not configured correctly

The information in this article applies to:

  • Visual Studio Team Foundation Server 2010

  • Windows Server 2003 and Windows Server 2008 

  • SQL Server 2008

  • Application-tier server and the server that hosts SharePoint Products

  • Team Foundation Server Complete Health Check

  • Team Foundation Server Framework Health Check

The Best Practices Analyzer tool for Team Foundation Server checks the configuration of the following application pools:

  • Microsoft Team Foundation Server Application Pool

  • Microsoft Team Foundation Server Web Access Application Pool

  • (optional) Microsoft Team Foundation Server Proxy Application Pool

  • (optional) DefaultAppPool (required to support the team project portal)

  • (optional) SharePoint Central Administration v3 (required to support the team project portal)

An error appears if one of the following conditions is true:

  • An application pool is not configured correctly

    The identity of all application pools should be set to the correspondingservice account that you specified when you installed Team Foundation Server (TFSService). For more information, see the following page on the Microsoft Web site: Service Accounts and Dependencies in Team Foundation Server.

  • An application pool is stopped

    The application pool should always be running. If you have a specified number of failures in a set time period, the application pool might stop as a result of the Enable rapid-fail protection setting. For more information, see the following page on the Microsoft Web site: Configuring Rapid-Fail Protection in IIS 6.0 (IIS 6.0).

  • AutoStart is disabled for an application pool

    If an application pool stops running, the AutoStart setting might get disabled. If you restart the application pool, you reset the AutoStart setting.

  • The "Maximum [Number of] Worker Processes" configured for an application pool is incorrect

    The maximum number of worker processes should be set to 1 for all application pools.

To resolve these issues, you must modify the configuration for the application pool that the error specifies.

Required Permissions

To perform this procedure, you must be a member of the Administrators security group on the application-tier server for Team Foundation.

To restart an application pool or correct a setting in Internet Information Services 6.0

  1. Log on to the application-tier server.

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

    Internet Information Services (IIS) Manager opens.

  3. In the tree pane, expand the local computer, and click the Application Pools node.

    The state of each application pool appears in the results pane.

  4. If an application pool is stopped, right-click it, and click Start.

  5. To verify or change the identity of an application pool, follow these steps:

    1. Right-click the application pool, and click Properties.

    2. On the Identity tab, click Configurable

    3. In User name and Password, type the name and password for TFSService.

    4. If you changed the identity, stop and restart the application pool.

  6. To correct the number of worker processes that can run, follow these steps:

    1. Right-click the application pool, and click Properties.

    2. On the Performance tab, verify or change the value of Maximum number of worker processes to 1, and click OK.

  7. Close Internet Information Services (IIS) Manager.

To restart an application pool or correct a setting in Internet Information Services 7.0

  1. Log on to the application-tier server.

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

    Internet Information Services (IIS) Manager opens.

  3. In the Connections pane, expand the local computer, and click the Application Pools node.

    The state of each application pool appears in the Application Pools features view.

  4. If an application pool is stopped, right-click it, and click Start.

  5. To verify or change the identity of an application pool, follow these steps:

    1. Click the application pool, and click Set Application Pool Defaults.

    2. Under Process Model, click the Identity property, and then click the properties button ().

      The Application Pool Identity dialog box opens.

    3. Click Custom account, and then click Set.

      The Set Credentials dialog box opens.

    4. In User name and Password, type the user name and password for TFSService.

    5. If you changed the identity, stop and restart the application pool.

  6. To correct the number of worker processes that can run, follow these steps:

    1. Right-click the application pool, and click Advanced Settings.

      The Advanced Settings dialog box opens.

    2. Verify or change the value of Maximum Worker Processes to 1, and click OK.

  7. Close Internet Information Services (IIS) Manager.

Show: