首页 > CMS > 动易CMS > 正文

安装2007后,链接的sql server 2000的数据库,却提示以下错误?

2024-09-10 21:55:16
字体:
来源:转载
供稿:网友

问题:安装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)即可。

发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表

图片精选