如何强制IIS Express在32位模式下运行? [英] How can I force IIS Express to run in 32 bit mode?

查看:84
本文介绍了如何强制IIS Express在32位模式下运行?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个经典的ASP应用程序,我试图在64位Windows上的IIS Express下运行.它使用Jet连接到Microsoft Access数据库,并且无法在64位以下运行.

I have a classic ASP app that I'm trying to run under IIS Express on 64 bit Windows. It uses Jet to connect to a Microsoft Access database and will not work under 64 bit.

我为ASP应用程序创建了以下应用程序池,但是它似乎忽略了enable32BitAppOnWin64属性,并且该过程仍然是64位.

I have created the following application pool for the ASP app, but it seems to ignore the enable32BitAppOnWin64 attribute and the process is still 64 bit.

<applicationPools>
    <add name="UnmanagedClassicAppPool32" managedRuntimeVersion="" managedPipelineMode="Classic" autoStart="true" enable32BitAppOnWin64="true" />
</applicationPools>

如何在IIS Express中使此应用程序池作为32位进程运行?

How can I get this app pool in IIS Express to run as a 32 bit process?

推荐答案

根据,仅IIS Express 7.5附带作为32位应用程序. IIS Express 8.0附带了32位和64位版本的应用程序.在c:\program files (x86)\IIS Express\iisexpress.exe中可以找到32位版本,在c:\program files\IIS Express\iisexpress.exe中可以找到64位版本.

According to this, IIS Express 7.5 comes only as a 32 bit application. IIS Express 8.0 however, comes with both 32 bit and 64 bit versions of the application. The 32 bit version can be found at c:\program files (x86)\IIS Express\iisexpress.exe and the 64 bit version can be found at c:\program files\IIS Express\iisexpress.exe.

IIS Express忽略enable32BitAppOnWin64属性.要将应用程序池作为32位运行,您必须执行IIS Express的32位版本.

IIS Express ignores the enable32BitAppOnWin64 attribute. To run the app pool as 32 bit, you must execute the 32 bit version of IIS Express.

您可以通过检查进程"选项卡上的进程来确定任务管理器中正在运行哪个版本. 64位版本将显示为iisexpress.exe,而32位版本将显示为iisexpress.exe *32.

You can determine which version is running in Task Manager by examining the process on the Processes tab. The 64 bit version will be displayed as iisexpress.exe and the 32 bit version will be displayed as iisexpress.exe *32.

这篇关于如何强制IIS Express在32位模式下运行?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆