SQL Server 2012 System DSN Error

Source: Internet
Author: User
Tags dsn microsoft sql server sql server books

When you add a System DSN SQL Server Native Client 11.0 to the test database, you are prompted with the following error:

--------------------------

Microsoft SQL Server Logon

---------------------------

Connection failed:

SQLState: ' 08001 '

SQL Server Error: 2

[Microsoft] [SQL Server Native Client 11.0] Named pipe provider: Unable to open a connection to SQL Server [2].

Connection failed:

SQLState: ' HYT00 '

SQL Server Error: 0

[Microsoft] [SQL Server Native Client 11.0] Login Timeout expired

Connection failed:

SQLState: ' 08001 '

SQL Server Error: 2

[Microsoft] A network-related or instance-specific error occurred while SQL Server Native Client 11.0 was establishing a connection to SQL Server. The server could not be found or could not be accessed. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. For more information, see SQL Server Books Online.


WORKAROUND: 1, let firewall through 1433 port

2. In "SQL Server network Configuration"-"MSSQLSERVER protocol", right-click on "Named Pipes" to enable the pipe protocol

3, Configure the server address in ODBC, select the server computer name plus instance

SQL Server 2012 System DSN Error

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.