配置 IIS 在 64 位 Windows 上运行 32 位应用程序

借助 Windows Server 2003TM Service Pack 1,IIS 6.0 可以在 64 位 Windows 上使用 Windows-32-on-Windows-64 (WOW64) 兼容层运行 32 位 Web 应用程序。IIS 6.0 使用 WOW64 是为了运行软件开发人员和管理员所需的 32 位个人产品应用程序,包括 32 位 Internet 信息服务 (IIS) Web 应用程序。有关在 64 位 Windows 上运行 32 位应用程序的详细信息,请参阅Running 32-bit Applications on 64-bit Windows

使 IIS 6.0 可以在 64 位 Windows 上运行 32 位应用程序

  1. 打开命令提示符,定位至 %systemdrive%\Inetpub\AdminScripts 目录。

  2. 键入以下命令:

    cscript.exe adsutil.vbs set W3SVC/AppPools/Enable32BitAppOnWin64 "true"

  3. 按 Enter。

posted @ 2010-11-08 19:42  猎魔人  阅读(333)  评论(0编辑  收藏  举报