Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get rid of this error Handler "PageHandlerFactory-Integrated" has a bad module "ManagedPipelineHandler" in its module list

Tags:

asp.net

iis

Using IIS7.5, the website works fine in Visual Studio but when I try to deploy on IIS get the following error.

Module IIS Web Core
Notification ExecuteRequestHandler
Handler PageHandlerFactory-Integrated
Error Code 0x8007000d
Requested URL http://localhost:80/EFT/default.aspx
Physical Path C:\inetpub\wwwroot\EFT_Converter\default.aspx
Logon Method Anonymous
Logon User

like image 980
StevieB Avatar asked Dec 28 '11 18:12

StevieB


3 Answers

The version of .Net you are using has not been registered with IIS correctly. If it is .Net version 4 on a 64-bit 2008 server use these two commands to fix it.

%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -i
%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe -i
like image 125
ozhug Avatar answered Nov 09 '22 18:11

ozhug


Open command prompt on window and run:

C:\Windows\Microsoft.NET\Framework\v4.0.30319\ aspnet_regiis.exe -i 

This will resolve your issue.

like image 34
harsh Avatar answered Nov 09 '22 18:11

harsh


Where your handlers are defined in the web.config, add a <clear /> before the first item in the list, if there is not one there already. Also make sure that the application pool running the web site is running the version of .Net that you are targeting in your code.

like image 35
Derreck Dean Avatar answered Nov 09 '22 18:11

Derreck Dean