26

迁移Z-Blog提示数据库连接错误的原因

 4 years ago
source link: https://www.williamlong.info/archives/5889.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

迁移Z-Blog提示数据库连接错误的原因

2019-11-15 22:13:48 | 作者: 月光 | 分类: 网站建设 | 评论: 2 | 浏览: 1330

  新将Z-BLog迁移到另一台Windows Server 2012的服务器上,访问后台的时候提示:“错误原因:数据库连接错误”。

  解决方法如下:

  打开“Internet信息服务(IIS)管理器”

  在主机名的下方有“应用程序池”字样,单击选中,然后中间栏会显示出本机上安装的应用程序,找到并单击选中“DefaultAppPool”

  再单击最右侧的“高级设置”,找到“启用32位应用程序”,将其值改为“True”即可。

  如果网站安装在另一个应用程序池,也需要将该应用程序池设置为“启用32位应用程序”。

迁移Z-Blog提示数据库连接错误的原因

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK