命名管道提供程序,错误:40-无法打开与SQL Server的连接 [英] Named Pipes Provider, error: 40 - Could not open a connection to SQL Server

查看:115
本文介绍了命名管道提供程序,错误:40-无法打开与SQL Server的连接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨.........
我正在尝试使用sqlconnection到其他服务器上的数据库运行asp.net应用程序.虽然在本地machin wihtout垂直目录上运行asp.net应用程序正常工作,但是在使用垂直目录运行时却出现以下错误.
建立与SQL Server的连接时发生与网络相关或特定于实例的错误.服务器未找到或无法访问.验证实例名称正确,并且已将SQL Server配置为允许远程连接. (提供者:命名管道提供者,错误:40-无法打开与SQL Server的连接)
为它提供解决方案.thanx

hi.........
i am trying to run asp.net application with sqlconnection to database on ohter server.While running the asp.net application on local machin wihtout vertual directory works properly but while running with vertual directory it gives following error.
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)
provide solution for it.thanx

推荐答案

看看以下这些来解决问题:
视频:命名管道提供程序,错误:40-无法打开与SQL的连接 [ SQL SERVER –修复:错误:40 –无法打开与SQL Server的连接 [解决无法打开与SQL Server的连接错误 [
Have a look at these to troubleshoot:
Video: Named Pipes Provider, error: 40 --Could not open a connection to SQL[^]
SQL SERVER – Fix : Error : 40 – could not open a connection to SQL server[^]
Resolving could not open a connection to SQL Server errors[^]

Try!


这篇关于命名管道提供程序,错误:40-无法打开与SQL Server的连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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