I'm trying to get a classic ASP application working in 32-bit mode on our new Windows 2008 Server x64 with IIS 7.5. I've created an ApplicationPool named 'TEST' that is set to ASP.NET 2.0 in Classic mode and gone into Advanced Settings and set 'Enable 32-Bit Applications' to true for this new AppPool.
我试图让一个经典的ASP应用程序在我们新的Windows 2008 Server x64和IIS 7.5的32位模式下工作。我创建了一个名为“TEST”的应用程序池,它被设置为ASP。NET 2.0在经典模式下,进入高级设置,并为这个新的AppPool将“启用32位应用程序”设置为true。
I assigned a single web application on our server to this new AppPool and try to load it in the browser. It gives me a 500.0 error 0x800700c1 which is the error for not a valid Win32 application (re:http://blogs.msdn.com/b/rakkimk/archive/2007/06/09/problems-with-32-bit-asp-net-2-0-dlls-on-a-windows-2003-server-64-bit.aspx)
我将服务器上的一个web应用程序分配给这个新的AppPool,并尝试在浏览器中加载它。它给了我一个500.0的错误0x800700c1,这是一个无效的Win32应用程序的错误。
As soon as I go back into my AppPool and change the enable 32-bit back to false, the particular web application runs fine. However, there is one piece of the application that will need to run in 32-bit mode which is why I'm trying to get the site to work in 32-bit mode.
当我回到AppPool并将enable 32位改为false时,特定的web应用程序就可以正常运行了。但是,有一个应用程序需要在32位模式下运行,这就是为什么我试图让站点在32位模式下工作。
I feel like I'm missing something but that 'something' doesn't seem to exist on any websites that tell you the only thing you need to do is enabled 32-bit applications in the AppPool and assign the site to that AppPool.
我觉得我漏掉了一些东西,但在任何网站上,似乎都不存在“一些东西”,告诉你你需要做的唯一一件事就是在AppPool中启用32位的应用程序,并将站点分配给那个AppPool。
1 个解决方案
#1
2
This issue was resolved by removing Handler Mapping under the 32-bit application folder that did not have 32-bit modules available. In this particular instance, ColdFusion 9 64bit was installed on the server and it's Handler Mapping under the folder was causing the 500.0 issue. I removed the following Handler Mappings:
这个问题是通过删除32位应用程序文件夹下的处理程序映射来解决的,该文件夹没有32位模块可用。在这个特定的实例中,ColdFusion 964bit安装在服务器上,而文件夹下的处理程序映射导致了500.0的问题。我删除了以下处理程序映射:
<add name="AboMapperCustom-1207286671" path="*" verb="*" modules="IsapiModule" scriptProcessor="D:\UPSDATA\JRun4\lib\wsconfig\1\jrun_iis6_wildcard.dll" requireAccess="None" responseBufferLimit="0" />
<add name="AboMapperCustom-1207286690" path="*.jsp" verb="*" modules="IsapiModule" scriptProcessor="D:\UPSDATA\JRun4\lib\wsconfig\jrun_iis6.dll" requireAccess="Script" responseBufferLimit="0" />
<add name="AboMapperCustom-1207286691" path="*.jws" verb="*" modules="IsapiModule" scriptProcessor="D:\UPSDATA\JRun4\lib\wsconfig\jrun_iis6.dll" requireAccess="Script" responseBufferLimit="0" />
<add name="AboMapperCustom-1207286692" path="*.cfm" verb="*" modules="IsapiModule" scriptProcessor="D:\UPSDATA\JRun4\lib\wsconfig\jrun_iis6.dll" requireAccess="Script" responseBufferLimit="0" />
<add name="AboMapperCustom-1207286693" path="*.cfml" verb="*" modules="IsapiModule" scriptProcessor="D:\UPSDATA\JRun4\lib\wsconfig\jrun_iis6.dll" requireAccess="Script" responseBufferLimit="0" />
<add name="AboMapperCustom-1207286694" path="*.cfc" verb="*" modules="IsapiModule" scriptProcessor="D:\UPSDATA\JRun4\lib\wsconfig\jrun_iis6.dll" requireAccess="Script" responseBufferLimit="0" />
<add name="AboMapperCustom-1207286695" path="*.cfr" verb="*" modules="IsapiModule" scriptProcessor="D:\UPSDATA\JRun4\lib\wsconfig\jrun_iis6.dll" requireAccess="Script" responseBufferLimit="0" />
<add name="AboMapperCustom-1207286696" path="*.cfswf" verb="*" modules="IsapiModule" scriptProcessor="D:\UPSDATA\JRun4\lib\wsconfig\jrun_iis6.dll" requireAccess="Script" responseBufferLimit="0" />
<add name="AboMapperCustom-1207286697" path="*.hbmxml" verb="*" modules="IsapiModule" scriptProcessor="D:\UPSDATA\JRun4\lib\wsconfig\jrun_iis6.dll" requireAccess="Script" responseBufferLimit="0" />
<add name="AboMapperCustom-1207286698" path="*.hbmxml" verb="*" modules="IsapiModule" scriptProcessor="D:\UPSDATA\JRun4\lib\wsconfig\jrun_iis6.dll" requireAccess="Script" responseBufferLimit="0" />
#1
2
This issue was resolved by removing Handler Mapping under the 32-bit application folder that did not have 32-bit modules available. In this particular instance, ColdFusion 9 64bit was installed on the server and it's Handler Mapping under the folder was causing the 500.0 issue. I removed the following Handler Mappings:
这个问题是通过删除32位应用程序文件夹下的处理程序映射来解决的,该文件夹没有32位模块可用。在这个特定的实例中,ColdFusion 964bit安装在服务器上,而文件夹下的处理程序映射导致了500.0的问题。我删除了以下处理程序映射:
<add name="AboMapperCustom-1207286671" path="*" verb="*" modules="IsapiModule" scriptProcessor="D:\UPSDATA\JRun4\lib\wsconfig\1\jrun_iis6_wildcard.dll" requireAccess="None" responseBufferLimit="0" />
<add name="AboMapperCustom-1207286690" path="*.jsp" verb="*" modules="IsapiModule" scriptProcessor="D:\UPSDATA\JRun4\lib\wsconfig\jrun_iis6.dll" requireAccess="Script" responseBufferLimit="0" />
<add name="AboMapperCustom-1207286691" path="*.jws" verb="*" modules="IsapiModule" scriptProcessor="D:\UPSDATA\JRun4\lib\wsconfig\jrun_iis6.dll" requireAccess="Script" responseBufferLimit="0" />
<add name="AboMapperCustom-1207286692" path="*.cfm" verb="*" modules="IsapiModule" scriptProcessor="D:\UPSDATA\JRun4\lib\wsconfig\jrun_iis6.dll" requireAccess="Script" responseBufferLimit="0" />
<add name="AboMapperCustom-1207286693" path="*.cfml" verb="*" modules="IsapiModule" scriptProcessor="D:\UPSDATA\JRun4\lib\wsconfig\jrun_iis6.dll" requireAccess="Script" responseBufferLimit="0" />
<add name="AboMapperCustom-1207286694" path="*.cfc" verb="*" modules="IsapiModule" scriptProcessor="D:\UPSDATA\JRun4\lib\wsconfig\jrun_iis6.dll" requireAccess="Script" responseBufferLimit="0" />
<add name="AboMapperCustom-1207286695" path="*.cfr" verb="*" modules="IsapiModule" scriptProcessor="D:\UPSDATA\JRun4\lib\wsconfig\jrun_iis6.dll" requireAccess="Script" responseBufferLimit="0" />
<add name="AboMapperCustom-1207286696" path="*.cfswf" verb="*" modules="IsapiModule" scriptProcessor="D:\UPSDATA\JRun4\lib\wsconfig\jrun_iis6.dll" requireAccess="Script" responseBufferLimit="0" />
<add name="AboMapperCustom-1207286697" path="*.hbmxml" verb="*" modules="IsapiModule" scriptProcessor="D:\UPSDATA\JRun4\lib\wsconfig\jrun_iis6.dll" requireAccess="Script" responseBufferLimit="0" />
<add name="AboMapperCustom-1207286698" path="*.hbmxml" verb="*" modules="IsapiModule" scriptProcessor="D:\UPSDATA\JRun4\lib\wsconfig\jrun_iis6.dll" requireAccess="Script" responseBufferLimit="0" />