reg:连接到服务器时数据库连接错误 [英] reg:database connection error while connecting to server

查看:88
本文介绍了reg:连接到服务器时数据库连接错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

与sql Server建立连接时发生与网络相关或特定于实例的错误.找不到或无法访问该服务器.验证实例名称正确并且已将SQL Server配置为允许远程连接.(提供者:命名管道Provider.error:40无法打开与Sql Server的连接)(Microsoft SQL Server.error:2)

a network related or instance-specfic error occurred while establishing a connection to sql Server.the server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is Configured to allow remote connections.(provider:Named pipes Provider.error:40Could not open a connection to Sql Server) (Microsoft SQL Server.error:2)
can you please send me the solution.

推荐答案

通常发生这种情况是因为您尚未在实例上启用远程连接.

http: //blogs.msdn.com/b/walzenbach/archive/2010/04/14/how-to-enable-remote-connections-in-sql-server-2008.aspx [
Normally when this happens it''s because you haven''t enabled remote connections on the instance.

http://blogs.msdn.com/b/walzenbach/archive/2010/04/14/how-to-enable-remote-connections-in-sql-server-2008.aspx[^]


这篇关于reg:连接到服务器时数据库连接错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆