Microsoft SQL Server, error: 1326

Source: Internet
Author: User

Recently, when I want to connect another computer to my database in the LAN, the following error always occurs:

Title: connect to the server
------------------------------

Cannot connect to sjq-PC.

------------------------------
Other information:

Network-related or instance-specific errors occur when you establish a connection with SQL Server. The server is not found or cannot be accessed. Verify that the Instance name is correct and SQL server is configured to allow remote connection. (Provider: named pipeline providesProgram, Error: 40-the connection to SQL Server cannot be opened. (Microsoft SQL Server, error: 1326)

Click: http://go.microsoft.com/fwlink? For help information? Prodname = Microsoft + SQL + server & evtsrc = MSSQLServer & evtid = 1326 & linkid = 20476

The headache is that ping is successful, telnet port 1433 is normal, SQL server is configured to allow remote connection, and SQL server configuration management tool also sets TCP/IP to enable, even the firewall cannot be connected. I have collected a lot of information on the Internet, saying that database versions do not match... Finally, the solution is simple and cannot be simple... Set port 1433 in the firewall to allow connections.

Setting ports in Windows 7 firewall is different from setting ports in XP (XP may be simpler). Open firewall settings in Windows 7 control panel and select "Advanced Settings" in the list on the left ", create a new rule for the inbound rule and select a port for the rule type. The rest is simple...

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.