中国梦谷创意产业园:vs.net 2005 支持SQL server 2000数据库

来源:百度文库 编辑:神马品牌网 时间:2024/04/27 04:20:10
之前程序是用vs2003设计的,数据库SQL Server 2000,后来升级为vs2005,数据库自来了sql server 2005,本地的sql server 2000数据库也还在.但编译后到没有sql2005的机器上运行,报错了
报错信息"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 dost not allow remote connections.(provider:Named Provider,error: 40 - Could not open a connection to SQL Server)"

我也遇到这样的问题,网上好像不太好找.我只好将SQL server 2000 换成SQL 2005了.