Aspnet_regiis位于Framework64文件夹中,用于32位Web应用程序

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

那两者之间有什么区别?

解决方法

我在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,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应用程序.

相关文章

vue阻止冒泡事件 阻止点击事件的执行 <div @click=&a...
尝试过使用网友说的API接口获取 找到的都是失效了 暂时就使用...
后台我拿的数据是这样的格式: [ {id:1 , parentId: 0, name:...
JAVA下载文件防重复点击,防止多次下载请求,Cookie方式快速简...
Mip是什么意思以及作用有哪些