无法连接到sql服务器
我的机器中有管理 stdio 2005,我正在尝试连接到 sql server 2008,但
我收到以下消息作为内部异常。
{“建立与 SQL Server 的连接时发生与网络相关或特定于实例的错误。找不到服务器或无法访问服务器。请验证实例名称是否正确以及 SQL Server 是否配置为允许远程连接。(提供程序) :命名管道提供程序,错误:40 - 无法打开与 SQL Server 的连接)"}
任何人都可以帮忙,
谢谢,
vijay。
i am having management stdio 2005 in my machine and im tring to connect to sql server 2008
i'm receiving the following message as the inner exception .
{"A network-related or instance-specific 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: 40 - Could not open a connection to SQL Server)"}
can anyone please help
thanks,
vijay.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
您正在使用的协议(命名管道)仅在您连接到本地计算机时才有效。如果您要连接到远程计算机,则需要启用 TCP 协议。
其他要检查的事情:
The protocol you're using (Named Pipes) is only valid if you're connecting to the local machine. If you're connecting to a remote machine, you need to enable the TCP protocol.
Other things to check: