Santa

Let’s Talk

We would love to hear from you. Want to know more about
our services or have any questions? Say Hi!

Handler "AutowiredPageHandlerFactory" has a bad module "ManagedPipelineHandler" in its module list error on IIS

October 11, 2022
Handler "AutowiredPageHandlerFactory" has a bad module "ManagedPipelineHandler" in its module list error on IIS
Ketan Garala
Ketan Garala
CTO, Sitecore MVP
handler-AutowiredPageHandlerFactory-has-bad-module-ManagedPipelineHandler-module-list-error-on-iis-banner
Summary

I tried to install the Sitecore Horizon editor on my local machine but after running the PowerShell script, and some execution, my working instance somehow still could not be stopped and I got the below error when I hit the website in the browser.

I even tried to uninstall the Horizon but no luck. Before I started the installation, I took backup of my root so that I can revert my root folder and yet again the original instance was still not working. After some googling, I found the solution as mentioned in this blog.

Error type: HTTP Error 500.21 - Internal Server Error

handler-AutowiredPageHandlerFactory-has-bad-module-ManagedPipelineHandler-module-list-error-on-iis
Solution:

Please follow the below steps if you are facing same issues in your instance.

  • Open Application Pools of your website root.

    handler-AutowiredPageHandlerFactory-has-bad-module-ManagedPipelineHandler-module-list-error-on-iis

  • Right-click on the application pool of your website and select the Advance setting.

    handler-AutowiredPageHandlerFactory-has-bad-module-ManagedPipelineHandler-module-list-error-on-iis

  • Now select .Net CLR Version from “No managed code” to “v4.0”.

  • Open command prompt as a run as administrator and run “iisreset” command.

  • Now website will start working fine.


YOU MAY ALSO LIKE