Share via


Stop and Start Services, Application Pools, and Websites

To ensure that Visual Studio Team Foundation Server functions correctly, you must verify that all required services, application pools, and Web sites are running on the appropriate server. In single-server deployments, each element must be running on the server that is running Team Foundation Server. In multiple-server deployments, each element must be running on the appropriate server. In addition, you might need to stop an element to perform a particular task, such as moving your deployment to a different set of hardware. For detailed information about how to start or stop all of these elements for operations such as backing up or restoring databases, see TFSServiceControl Command. For information about how to stop individual services or application pools, see the steps at the end of this topic.

Important

You must use the TFSServiceControl command to perform certain maintenance tasks on the server, such as backing up and restoring databases. Do not use the steps at the end of this topic to attempt to manually stop all of the services and application pools for tasks that require the TFSServiceControl command.

The following table lists the server on which each service, application pool, and Web site must be running. The Name column lists the display name for each element with service names in parentheses. Which services you need will vary based on which features of Team Foundation you have installed.

Element

Location

Name

Services

Application-tier server

  • Code Coverage Analysis Service

  • Internet Information Services Administration Service (IISADMIN)

  • HTTP SSL (HTTPFilter)

  • Visual Studio Team Foundation Build (VSTFBUILD) (only when Team Foundation Build is installed)

  • Visual Studio Team Foundation Background Job Agent (TFSJobAgent)

  • World Wide Web Publishing Service (W3SVC)

  

Server that hosts the databases for Team Foundation

  • SQL Server (TFSINSTANCE)

  • SQL Server Agent (TFSINSTANCE) (SQLSERVERAGENT)

  

Server that hosts SQL Server Reporting Services

  • IIS Admin Service (IISADMIN)

  • HTTP SSL (HTTPFilter)

  • SQL Server Reporting Services (TFSINSTANCE) (ReportServer)

  • World Wide Web Publishing Service (W3SVC)

  

Server that hosts SQL Server Analysis Services

  • SQL Server Analysis Services

  

Server that hosts SharePoint Products 

  • Internet Information Services Administration (IISADMIN)

  • HTTP SSL (HTTPFilter)

  • Windows SharePoint Services Timer (SPTimer) (Windows SharePoint Services 3.0 or Microsoft Office SharePoint Server 2007)

  • World Wide Web Publishing Service (W3SVC)

Application pools

Application-tier server

  • Microsoft Team Foundation Server Application Pool

  • Microsoft Team Foundation Server Proxy Application Pool (only when Team Foundation Server Proxy is installed)

  

Server that hosts SharePoint Products

  • DefaultAppPool (used by the Team Project portal)

    Note

    The name might vary based on how SharePoint Products was installed.

  • SharePoint Central Administration v3

Web sites

Application-tier server

  • Team Foundation Server

  • Team Foundation Server Proxy (only if Team Foundation Server Proxy is installed)

  

Server that hosts SharePoint Products

  • Default Web Site or Team Web site

    Note

    The name might vary based on how SharePoint Products was installed.

  • SharePoint Central Administration v3

Required Permissions

To perform this procedure, you must be a member of the Administrators group on the server that hosts the service, application pool, or Web site that you want to manage. For more information about permissions, see Team Foundation Server Permissions.

To stop or start a service, application pool, or Web site

  1. Log on to the server that hosts the service, application pool, or Web site.

  2. Click Start, click Administrative Tools, and then click Computer Management.

  3. In the navigation pane, expand Services and Applications.

  4. Perform one of the following steps based on what element you want to stop or start:

    • For a service, click Services, right-click the service, and then click Stop or Start.

    • For an application pool, click Internet Information Services (IIS) Manager, expand the local computer, and double-click Application Pools. Right-click the application pool, and then click Stop or Start.

    • For a Web site, click Internet Information Services (IIS) Manager, expand the local computer, and double-click Web Sites or Sites.

      If the server is running Windows Server 2003, right-click the Web site, and then click Stop or Start.

      If the server is running Windows Server 2008, right-click the Web site, point to Manage Web Site, and then click Stop or Start.

See Also

Tasks

Change the Service Account or Password for SQL Server Reporting Services

Change the Service Account or Password for Team Foundation Server

Concepts

Service Accounts and Dependencies in Team Foundation Server

Team Foundation Server Concepts

Team Foundation Server Architecture

Other Resources

How to: Verify or Correct the IIS Configuration for an Application Pool

Team Foundation Server Services and Service Accounts