（2）Click the Surface Area Configuration for Services and Connections link at the bottom of the window.
（3）In the View By Instance pane on the left, expand the node for the sql Server that is giving you the error, and
click the Database Engine > Service > Remote Connections.
（4）In the setting for the Remote Connections, click the Local and Remote Connections option.
Now click the Using both TCP/IP and named pipes option and click OK.
You will be prompted to restart your Database Server for the changes to take effect. Do that.
Once you restart your Database Server, you should be able to login to the sql Server database successfully !
Microsoft sql Native Client : Communication link failure.
Microsoft sql Native Client : An error has occurred while establishing a connection to the server. When connecting to sql Server 2005, this failure may be caused by the fact that under the default settings sql Server does not allow remote connections.
The client is attempting to connect using named pipes, and the server is not configured to allow remote connections using named pipes.
The client protocol order is attempting to connect with the named pipes protocol before trying the TCP protocol, and named pipes are not enabled on the server.
版权声明：本文内容由互联网用户自发贡献，该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务，不拥有所有权，不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容， 请发送邮件至 email@example.com 举报，一经查实，本站将立刻删除。