Udostępnij za pośrednictwem


An application pool is not configured correctly

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 configuration of the application pools in the following table:

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

Team Foundation Server Application Pool

TFSWSSADMIN

SharePoint Central Administration v3

TFSWSS

DefaultAppPool

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

  • Application Pool Identity is misconfigured

    The identity of the ReportServer application pool should be set to Network Service. For all other application pools, the identity should be set to the TFSService service account, which is the account that you specified when you installed Team Foundation Server.

  • 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 "Configuring Rapid-Fail Protection in IIS 6.0 (IIS 6.0)" in the Windows Server 2003 TechCenter on the Microsoft Web site.

  • Application Pool AutoStart is disabled

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

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 change its identity 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, right-click it, and click Properties.

  6. On the Identity tab, do one of the following:

    • For the ReportServer application pool, click Preconfigured, and then click either Local System or Network Service.

    • For all other application pools, click Configurable, and then type the User name and Password for the TFSService account.

  7. If you changed the Identity, stop and restart the application pool.

  8. Close Internet Information Services (IIS) Manager.

To restart an application pool or change its identity 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, click it, and click Set Application Pool Defaults.

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

    The Application Pool Identity dialog box opens.

  7. Perform one of the following steps to specify an identity option:

    • For the ReportServer application pool, click Built-in account, and then click either Local System or Network Service.

    • For all other application pools, click Custom account, and then click Set.

      The Set Credentials dialog box opens. In User name and Password, type the user name and password for the TFSService account.

  8. If you changed the Identity, stop and restart the application pool.

  9. Close Internet Information Services (IIS) Manager.

See Also

Tasks

The name of the application pool is not set to the default value

Other Resources

Issues That Relate to .NET and Internet Information Services