Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Handler "PageHandlerFactory-ISAPI-4.0_32bit" has a bad module "IsapiModule" in its module list

Tags:

asp.net

iis

Im getting the following error in 32 bit machine classic applicationpool

     Handler "PageHandlerFactory-ISAPI-4.0_32bit" has a bad module "IsapiModule" in its module list.

and in 64 bit machine

Handler "PageHandlerFactory-ISAPI-4.0_64bit" has a bad module "IsapiModule" in its module list.

If we install isapi and cgi in webservices then this error is not coming. Is there any possible way to allow my program without installiing those in classic applicationpool. and my next question is, how to recognize the isapi and cgi restrictions are installed. Is there any registry check exists or any other check.

Thanks in advance.

like image 352
reddy39 Avatar asked Jun 01 '11 13:06

reddy39


1 Answers

The above answer helped me but needed some additional steps, here is the full process I had to do.

Go to Control panel -> Programs and Features -> Turn Windows features on or off. Make sure you have the following selected:

Turn Windows features on or off




Next, refresh IIS Manager. You should now see ISAPI and CGI restrictions on the root level of features of IIS, click Allow for both versions of .NET v4.0

ISAPI and CGI restrictions

like image 182
Ben Anderson Avatar answered Sep 20 '22 03:09

Ben Anderson