安装2007后,链接的sql server 2000的数据库,却提示以下错误?_动易Cms教程

编辑Tag赚U币
教程Tag:暂无Tag,欢迎添加,赚取U币!

问题:安装2007后,链接的sql server 2000的数据库,却提示以下错误?
Server Error in '/pe2007' 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)

原因:因为\Config\ConnectionStrings.config文件里的链接没有填写对
connectionString="connectionString="server=MOCCAI\ACAI;database=PowerEasy2007;uid=PowerEasy;pwd=PowerEasy*9988 "
server=MOCCAI\ACAI 改为数据库服务器名或(local)即可。

查看更多 动易Cms教程  动易Cms模板

来源:模板无忧//所属分类:动易Cms教程/更新时间:2007-11-17
相关动易Cms教程