gpt4 book ai didi

iis - 32 位 Web 应用程序的 Framework64 文件夹中的 Aspnet_regiis

转载 作者:行者123 更新时间:2023-12-04 07:57:55 28 4
gpt4 key购买 nike

在 64 位系统中,是否有任何理由在 Framework 文件夹中使用 aspnet_regiis,而不是在 Framework64 上使用?即使对于编译为 x86 的应用程序,我也知道只需在 Framework64 中使用 exe 注册 aspnet 并将应用程序池设置为启用 32 位即可。

那么两者有什么区别呢?

最佳答案

我在 MSDN ( http://msdn.microsoft.com/en-us/library/k6h9cz8h(v=vs.100).aspx ) 上发现了以下内容:

The 32-bit version of Aspnet_regiis.exe adds only 32-bit scriptmaps to the Applicationhost.config file. The 64-bit version of Aspnet_regiis.exe adds 32-bit and 64-bit scriptmaps to the Applicationhost.config file. This is done because 64-bit versions of Windows Vista, Windows Server 2008, or Windows 7 installations that have IIS 7.0 enabled will also have Windows on Windows 64-bit (WOW64) support available.



还,

There are 32-bit and 64-bit versions of Aspnet_regiis.exe. For Windows Vista and Windows Server 2008, you can run the 32-bit version of the tool on a 64-bit installation of IIS. This lets you run mixed 32-bit and 64-bit worker processes on the same 64-bit system. The following table lists special cases and limitations that apply when you run the 32-bit version of the tool on a 64-bit version of IIS.



此后它解释了 IIS6.0/7.0 的细节 - 引用适用于 IIS7.0 的部分:

On Windows Vista, Windows Server 2008, or Windows 7, when you run the 32-bit version of Aspnet_regiis.exe under IIS 7, the tool does not automatically set the enable32BitAppOnWin64 attribute of the applicationPools element. On a default 64-bit operating system installation, with Windows on Windows 64 enabled, you can use 32-bit Aspnet_regiis.exe to configure IIS 7, but you will not be able to run any 32-bit applications, unless you explicitly change the enable32BitAppOnWin64 attribute to enable running the application in Windows on Windows 64. For more information about IIS 7.0 configuration options, see the documentation for the applicationPools element in the Applicationhost.config file.



到目前为止,我还使用您在问题中描述的方法成功运行了 32 位 Web 应用程序。

关于iis - 32 位 Web 应用程序的 Framework64 文件夹中的 Aspnet_regiis,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8271732/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com