Question

How do I run windows 32bit applications in IIS on Windows XP 64 bit?

Note: This is not running within Visual Studio. Note: Only 404 errors are logged. Note: 404 errors caused by IIS disabling CGI scripts

Was it helpful?

Solution

You're probably having a Bitness issue - after you do the Enable32BitAppOnWin64 script, you need to register the 32 bit versions of the ASP.Net filters. Go to the 32 bit version of the framework (C:\Windows\Microsoft.NET\Framework\v2.0.50727) and re-run the aspnet_regiis.exe -i -enable command.

OTHER TIPS

Try this: cscript.exe adsutil.vbs set W3SVC/AppPools/Enable32BitAppOnWin64 true

IIS, by default, runs your application within the default Application Pool. On 64-bit Windows, that Application Pool is, by default, 64-bit.

You should create a new Application Pool, and configure IIS to run your 32-bit website in your new 32-bit Application Pool.

If your app still doesn't run after setting IIS to run in 32bit mode (JohnW's answer) you need to track down the error. Check the windows event log (application and system) and check the HTTPERR log file in C:\WINDOWS\system32\Logfiles\HTTPERR folder (may be different location on win64). IIS is pretty good at logging problems.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top