天堂窃情:配置 IIS 在 64 位 Windows 上运行 32 位应用程序

来源:百度文库 编辑:偶看新闻 时间:2024/04/30 02:26:05
.vb, .cs, .cpp, .nu, .fs { display: none; }.nu { display: inline; }配置 IIS 在 64 位 Windows 上运行 32 位应用程序

借助 Windows Server 2003TMService 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。