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

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:inetpubwwwrootEFT_Converterdefault.aspx
Logon Method
Anonymous
Logon User

Answers:

Thank you for visiting the Q&A section on Magenaut. Please note that all the answers may not help you solve the issue immediately. So please treat them as advisements. If you found the post helpful (or not), leave a comment & I’ll get back to you as soon as possible.

Method 1

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.NETFrameworkv4.0.30319aspnet_regiis.exe -i
%windir%Microsoft.NETFramework64v4.0.30319aspnet_regiis.exe -i

Method 2

Open command prompt on window and run:

C:WindowsMicrosoft.NETFrameworkv4.0.30319 aspnet_regiis.exe -i

This will resolve your issue.

Method 3

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.

Method 4

Try to set web config in this way:

<system.webServer>
      <validation validateIntegratedModeConfiguration="false" />
</system.webServer>

Ensure you have ASP.NET has been installed correctly. You should see default application pool named “ASP.NET 4” or something like this. If it’s not looks like ASP.NET not installed correctly. Try aspnet_regiis -i in .NET 4 CMD.

Method 5

Please go through this post.

From the post:

  1. Click Start -> All Programs -> Accessories -> Run
    In the Open textbox paste in the following line (see list of all .NET Framework version install, repair and unistall command lines here):

For silent repair on 32 bit computer with .Net Framework version 4.0.30319 use:

%windir%Microsoft.NETFrameworkv4.0.30319SetupCacheClientsetup.exe /repair /x86 /x64 /ia64 /parameterfolder Client /q /norestart

For silent repair on 64 bit computer with .Net Framework version 4.0.30319 use:

%windir%Microsoft.NETFramework64v4.0.30319SetupCacheClientsetup.exe /repair /x86 /x64 /ia64 /parameterfolder Client /q /norestart

2. Click OK to start the repair.
3. After, the repair ran for a few minutes, I restarted IIS 7.5, and things began to work correctly!

Method 6

I had this problem and found that removing the following folder helped, even with the non-Express edition.Express:

C:Users<user>DocumentsIISExpress


All methods was sourced from stackoverflow.com or stackexchange.com, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0

0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x