SQL Server is not listening for remote connections using TCP/IP
The information in this article applies to:
Visual Studio 2005 Team Foundation Server
Visual Studio Team System 2008 Team Foundation Server
SQL Server 2005 and SQL Server 2008
Dual-server deployment
Data-tier server
Health check
Preinstall check
The Best Practices Analyzer tool for Team Foundation Server checks the configuration of the servers that you specified in the scan. An error appears if TCP/IP is disabled for the database instance for Team Foundation. You must resolve this error condition before you install Team Foundation Server or to restore normal operations.
To resolve this issue, you must enable the TCP/IP protocol for the database instance for Team Foundation. You can use the SQL Server Configuration Manager tool to modify the setting.
Required Permissions
To perform these procedures, you must be a member of the sysadmin security group for SQL Server on the data-tier server for Team Foundation.
To enable the TCP/IP protocol for the database instance
Log on to the data-tier server where the database instance for Team Foundation is defined.
Open the Start menu, point to All Programs, point to Microsoft SQL Server 2005 or Microsoft SQL Server 2008, point to Configuration Tools, and then click SQL Server Configuration Manager.
In the tree pane, click SQL Server 2005 Services or SQL Server 2008 Services.
In the results pane, verify that, under the State column, Running appears next to the name of each service.
If Stopped appears, right-click the name of the service, and click Start.
In the tree pane, click SQL Server 2005 Network Configuration or SQL Server 2008 Network Configuration to expand it, and then click **Protocols for MSSQLServer/**MyInstanceName.
If you specified the default instance during installation, the instance name will be MSSQLSERVER.
In the results pane, verify that, under the Status column, Enabled appears next to the name of the TCP/IP protocol.
If Disabled appears, right-click TCP/IP, and then click Enable.
In the tree pane, click SQL Native Client Configuration to expand it, and then click Client Protocols.
In the results pane, verify that, under the Status column, Enabled appears next to the name of the TCP/IP protocol.
If Disabled appears, right-click TCP/IP, and then click Enable.
In the tree pane, click SQL Server 2005 Services or SQL Server 2008 Services.
In the results pane, right-click SQL Server (MSSQLServer/MyInstanceName), and then click Restart.
For more information about prerequisite software and installation procedures, see the Team Foundation installation guide:
For Visual Studio 2005 Team Foundation Server, download the guide from the Microsoft Download Center.
For Visual Studio Team System 2008 Team Foundation Server, download the guide from the Microsoft Download Center.
See Also
Other Resources
Issues That Relate to SQL Server and the Team Foundation Database