Remote connectivity issues with multiple versions of SQL Server

Source: Internet
Author: User

Install the system Win7 has been unable to install sqlserver2012, later installed sqlserver2005, the former period of time because of the need to use sqlserver2012, try to install again, unexpectedly installed successfully. However, the sqlserver2012 remote connection is always unsuccessful, and the host name \ Instance name can be successful. Many methods have been found on the internet, and none have succeeded. I'll list all these methods first.

1. Double-click TCP/IP on the right


Open the IP Address option, pull to the bottom there is a ipall, set a TCP port, such as 1433 or 1444, set the OK, and restart the SQL Server corresponding instance of the service (TCP/IP protocol is not enabled, to enable), such as.



2, when connecting, pay attention to the format, format: "IP address \sqlserver instance name (this is usually seen in the service), port (this port is the TCP port set up in the previous step)", such as



This normal situation is not a problem, of course, if the SA account to be enabled, this is not said, and my computer so connected, always prompt

Unable to connect to 127.0.0.1\sql2012.
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or could not be accessed. Verify that the instance name is correct, and that SQL Server is configured to allow remote connections. (Provider:sql Network Interfaces, error:26-Error locating the specified server/instance) (Microsoft SQL Server, Error:-1)

Sometimes prompt for memory access or write


Then I did the following 2 operations

1. Open cmd, enter netsh winsock reset, reset the Winsock directory, and restart the computer

2. Change the "built-in account" from "Network Service" to "Local system" and restart the SQL Server corresponding instance service.

This will be OK, or as the connection method






Connection Successful!



Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.