注册 登录
编程论坛 ASP技术论坛

An error has occurred while...

chen_marvin 发布于 2010-06-30 17:56, 864 次点击
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)

用ASP写的程序   连接数据库时抛的异常   有人遇到过没 ?  
    给个解决方案   谢了 ..

[ 本帖最后由 chen_marvin 于 2010-7-1 10:59 编辑 ]
1 回复
#2
gupiao1752010-07-03 15:02
sql Server 2005独有的连接方式,它和2000还是有区别的,它的连接方式可以上网查找一下,关键ASP连接SQL SERVER 2005,也是很容易出错的一个地方。网上这方面的介绍还是比较多的。
1