



时间:2011-06-23 关注公众号 来源:网络
紧急求助ASP.NET2.0程序连接sqlserver2000数据库出现问题
服务器配置:
framework2.0
sqlserver2000
出现如下错误:
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)
检查后发现是webconfig的配置问题,将server=local,改成本地计算机名,问题解决。
上一篇:通过ADO.NET存取文件
文章内容来源于网络,不代表本站立场,若侵犯到您的权益,可联系我们删除。(本站为非盈利性质网站)
电话:13918309914
QQ:1967830372
邮箱:rjfawu@163.com