I have been running our apps on IIS 7 no problem with a 64 bit CPU and I set IIS in the app pool to allow 32 bit applications.
We had a licensing issue and had to go back to IIS 6 and I do not see this setting anymore. I am told to run this command:
cscript %SystemDrive%\inetpub\AdminScripts\adsutil.vbs set w3svc/AppPools/Enable32bitAppOnWin64 1
After running the command IIS gives Service Unavailable when we try to run our .net 2.0 application.
Here is the error from Event Viewer:
Event Type: Error
Event Source: W3SVC-WP
Event Category: None
Event ID: 2274
Date: 6/12/2008
Time: 2:59:42 PM
User: N/A
Computer: DEVHIVE
Description:
ISAPI Filter 'C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727\aspnet_filter.dll' could not be loaded due to a configuration problem. The current configuration only supports loading images built for a x86 processor architecture. The data field contains the error number. To learn more about this issue, including how to troubleshooting this kind of processor architecture mismatch error, see http://go.microsoft.com/fwlink/?LinkId=29349.
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
Data:
0000: c1 00 00 00 Á...