Server Error in '/' Application.
--------------------------------------------------------------------------------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) /////////////////////////////////////////////////
我在本机上采用winxp+mssql2000+vs.net2005开发,一切OK.
但发布到服务器上(win2003+mssql2000)出现以上问题.弄了很久,没有办法解决,请高手指点一二,谢谢!!!!
--------------------------------------------------------------------------------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) /////////////////////////////////////////////////
我在本机上采用winxp+mssql2000+vs.net2005开发,一切OK.
但发布到服务器上(win2003+mssql2000)出现以上问题.弄了很久,没有办法解决,请高手指点一二,谢谢!!!!
</connectionStrings>问题是:我服务器根本就没有装ms sql server2005
但它报sql 2005的错误.我想这个数据库连接是没有问题的!
它默认了管道而不是TCP/IP.别的我想没有问题的,现在就是不知道在哪设置,使它不走管道.走TCP/IP.