解决SQL Server管理器无法连接远程数据库Error: 1326错误

来源:互联网 发布:linux sprintf函数 编辑:程序博客网 时间:2024/05/16 23:49
转自VC错误:http://www.vcerror.com/?p=1701

问题描述:

我们在在使用SQL Server时都会遇到使用SQL Server Management Studio无法连接远程数据库实例的问题,错误描述信息摘录如下:
An error has occurred while establishing a connection to the server.
(provider: Named Pipes Provider, error: 40 – Could not open a connection to SQL Server) (Microsoft SQL Server, Error: 5)
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. (provider: Named Pipes Provider, error: 40 – Could not open a connection to SQL Server) (Microsoft SQL Server, Error: 1326)
上面这段英文的翻译后大概是说:不能在数据库之间建立一个连接,原因是命名管道提供者出现错误。其实这是一个比较典型的数据库服务器设置问题,在局域网或广域网中都可能会遇到.



解决方法:
具体的解决方法参考文章:http://www.vcerror.com/?p=1701
0 0
原创粉丝点击