Select the product you need help with
FIX: Error message when you connect to a named instance of SQL Server on a client computer that is running Windows Vista or Windows Server 2008: "Specified SQL server not found" or "Error Locating Server/Instance Specified"Article ID: 944390 - View products that this article applies to. Important This article contains information that shows you how to help lower security settings or how to turn off security features on a computer. You can make these changes to work around a specific problem. Before you make these changes, we recommend that you evaluate the risks that are associated with implementing this workaround in your particular environment. If you implement this workaround, take any appropriate additional steps to help protect the computer. On This PageSYMPTOMSConsider the following scenario. On a client computer that is running Windows Vista or Windows Server 2008, you connect to a named instance of Microsoft SQL Server. The named instance is located on a remote server. In this scenario, the connection may fail. Note This problem occurs when you connect to one of the following versions of SQL Server:
[DBNETLIB]Specified SQL server not found. [DBNETLIB]ConnectionOpen (Connect()). [SQL Native Client]SQL Network Interfaces: Error Locating Server/Instance Specified [xFFFFFFFF]. [SQL Native Client]Login timeout expired. CAUSEWhen you connect to the named instance, the client network library sends a User Datagram Protocol (UDP) request packet to the IP address of the named instance. Then, SQL Server Browser returns a UDP response packet that contains the information about the connection endpoints. However, in the UDP response packet, the source IP address may not be the IP address to which the UDP request packet was sent. If the named instance is a failover cluster instance, the source IP address is the IP address of the physical computer instead of the virtual IP address of the remote server. If the remote server has multiple IP addresses, the source IP address may be any of the IP addresses that are assigned to the remote server. In Windows Vista, Windows Firewall does not allow for loose source mapping. Therefore, Windows Firewall drops the UDP response packet. For more information about loose source mapping, see the "UDP connections" section of the following Microsoft Web site: http://technet2.microsoft.com/WindowsServer/en/library/3ccb6af5-d960-4a8d-b12b-70692dc47bf41033.mspx?mfr=true
(http://technet2.microsoft.com/WindowsServer/en/library/3ccb6af5-d960-4a8d-b12b-70692dc47bf41033.mspx?mfr=true)
RESOLUTIONService pack information for SQL Server 2008Important You apply the service pack on the remote server that is running SQL Server 2008.To resolve this problem, obtain the latest service pack for SQL Server 2008. For more information, click the following article number to view the article in the Microsoft Knowledge Base: 968382
(http://support.microsoft.com/kb/968382/
)
How to obtain the latest service pack for SQL Server 2008
Note The fix only addresses the problem when SQL server is running on either Windows Vista or Windows server 2008 systems. For SQL Server installations on earlier versions, such as Windows Server 2003, you must use one of the methods that are described in the Wordaround section. WORKAROUNDTo work around this problem, use one of the following methods on the client computer. Method 1In the connection string, specify the TCP port number or the named pipe name to connect to the named instance.For more information about the syntax of the connection string, see the "Creating a valid connection string" section of the following Microsoft Web site: http://technet.microsoft.com/en-us/library/ms188635.aspx
(http://technet.microsoft.com/en-us/library/ms188635.aspx)
Method 2Warning This workaround may make a computer or a network more vulnerable to attack by malicious users or by malicious software such as viruses. We do not recommend this workaround but are providing this information so that you can implement this workaround at your own discretion. Use this workaround at your own risk.In Windows Firewall with Advanced Security in Control Panel, create an outgoing rule for the application that connects to SQL Server. To do this, follow these steps:
Method 3Warning This workaround may make a computer or a network more vulnerable to attack by malicious users or by malicious software such as viruses. We do not recommend this workaround but are providing this information so that you can implement this workaround at your own discretion. Use this workaround at your own risk.In Windows Firewall with Advanced Security in Control Panel, create an incoming rule that allows for traffic from all possible IP addresses of the remote server or from all possible IP addresses that are configured for the failover cluster instance. To do this, follow these steps:
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section. This problem was first corrected in SQL Server 2008 Service Pack 1. MORE INFORMATIONFor more information about Windows Firewall with Advanced Security, visit the following Microsoft Web site: http://technet.microsoft.com/en-us/windowsvista/aa937624.aspx
(http://technet.microsoft.com/en-us/windowsvista/aa937624.aspx)
PropertiesArticle ID: 944390 - Last Review: April 8, 2009 - Revision: 2.1 APPLIES TO
| Article Translations |


Back to the top








