Remote connection problem with multiple version number 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, incredibly installed successfully. However, the sqlserver2012 remote connection is always unsuccessful, and the host name \ Instance name succeeds. Find a lot of methods on the Internet, have not succeeded. I'll list all these methods first.

1, double-click on the right side of TCP/IP


Open the IP Address option, pull to the top of the Ipall, set a tcpport, such as 1433 or 1444, set the OK, and restart the corresponding instance of SQL Server service (TCP/IP protocol is not enabled, to enable), for example.



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 TCPPort set in the previous step)", for example



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. Server was not found or could not be interviewed. Verify that the instance name is correct and that SQL Server is configured to agree to a remote connection. (Provider:sql Network Interfaces, error:26-Error locating the specified server/instance) (Microsoft SQL Server, Error:-1)

Sometimes prompts for memory access or writes


Then I did the following 2 actions

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

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

This is OK, or for example the connection mode






Connection Successful!



Remote connection problem with multiple version number SQL Server

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.