IIS Service Unavailable Error on a 64 bit operating system

Posted by Adam Walsh on April 18, 2009
Solutions

PROBLEM:
If you find this error in the event log when starting an iis service on a 64 bit operating system (personally this happened to us with SharePoint). (This is also followed by a Service Unavailable error when trying to use the application):

Event Log: Could not load all ISAPI filters for site/service. Therefore startup aborted.


SOLUTION:
It can be fixed by rebuilding asp.net. You can only run asp.net 1.1 in 32 bit mode and you can run asp.net 2.0 in either 32 bit mode or 64 bit mode.

ASP.NET 1.1
1. Click start, run and type this in:
cscript %SYSTEMDRIVE%\inetpub\adminscripts\adsutil.vbs SET W3SVC/AppPools/Enable32bitAppOnWin64 1
2. Click start, run and type this in:
%SYSTEMROOT%\Microsoft.NET\Framework\v1.1.4322\aspnet_regiis.exe -i
Note:Make sure ASP.NET 1.1 is Allowed in the Web service extension list in Internet Information Services Manager.

AND

ASP.NET 2.0 (32-bit)
1. Click start, run and type this in:
cscript %SYSTEMDRIVE%\inetpub\adminscripts\adsutil.vbs SET W3SVC/AppPools/Enable32bitAppOnWin64 1
2. Click start, run and type this in:
%SYSTEMROOT%\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -i
Note: Make sure ASP.NET 2.0 (32 bit) is Allowed in the Web service extension list in Internet Information Services Manager.

OR

ASP.NET 2.0 (64-bit)
1. Click start, run and type this in:
cscript %SYSTEMDRIVE%\inetpub\adminscripts\adsutil.vbs SET W3SVC/AppPools/Enable32bitAppOnWin64 0
2. Click start, run and type this in:
%SYSTEMROOT%\Microsoft.NET\Framework64\v2.0.50727\aspnet_regiis.exe -i
Note: Make sure ASP.NET 2.0 (64 bit) is Allowed in the Web service extension list in Internet Information Services Manager.

Note: Change 2.0.50727 to whatever build of the framework you have.

Magically it is fixed! :)


6 Comments to IIS Service Unavailable Error on a 64 bit operating system

Jayne McCaugherty
June 10, 2009

THANK YOU!!

I had installed GFI Mail Security (x32) to my new email server (x64) and therefore messed up my webmail big time. I was looking at having to uninstall IIS AND exchange server 2007 (which is a BIG job) until I tried your steps above.

I uninstalled .net 1.1 and then ran the OR step above for .net 2.0 x64.

I’m now operational again!!!

Thank you SO much for your help :)

Adam Walsh
June 10, 2009

No problem! I’m glad someone found this post useful! :)

JayGolden
June 30, 2009

This did it for me. Thanks.

I had really an problem with my OS. your post really solved it. Thanks for sharing

Daniel
August 7, 2009

Thanx for the magic fix :-)

Aziz
March 28, 2010

Thank you so much. This really works. :)

Leave a comment

WP_Big_City

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word