安装 Microsoft Request Routing 后出现 503 错误 - 32 位 64 位疯狂

安装 Microsoft Request Routing 后出现 503 错误 - 32 位 64 位疯狂

我需要为在 Windows 2008 R2 SP1 64 位机器上运行的 IIS 7.5 安装 Microsoft Request Routing 组件。

通过 Web 平台安装程序安装 Microsoft Request Routing 后,我们的 ASP.NET 4.0 应用程序收到“HTTP 错误 503。服务不可用。”

Windows 事件日志错误详细信息显示:

The Module DLL 'C:\Program Files\IIS\Application Request Routing\requestRouter.dll' could not be loaded due to a configuration problem. The current configuration only supports loading images built for a AMD64 processor architecture. The data field contains the error number. To learn more about this issue, including how to troubleshooting this kind of processor architecture mismatch error, see http://go.microsoft.com/fwlink/?LinkId=29349.

我可以通过将“启用 32 位应用程序”设置更改为 true 来将应用程序池更改为在 32 位模式下运行,从而使此错误消失。

然而,我并不想通过这样做来解决这个问题。

我的问题是:

  1. 为什么 Microsoft Request Routing 功能尝试加载 32 位版本,而没有 64 位版本?
  2. 如何解决此问题而不必将应用程序池更改为 32 位模式?

相关内容