---
title: "Handler “PageHandlerFactory-Integrated” has a bad module “ManagedPipelineHandler” in its module list"  
description: "Handler “PageHandlerFactory-Integrated” has a bad module “ManagedPipelineHandler” in its module list"  
author: "Anonymous User"  
published: 2015-10-24  
updated: 2015-10-24  
canonical: https://www.mindstick.com/forum/33532/handler-pagehandlerfactory-integrated-has-a-bad-module-managedpipelinehandler-in-its-module-list  
category: "iis 7"  
tags: ["asp.net", "iis 7", "asp.net mvc"]  
reading_time: 1 minute  

---

# Handler “PageHandlerFactory-Integrated” has a bad module “ManagedPipelineHandler” in its module list

I am configuring an MVC 3 [project](https://www.mindstick.com/articles/105927/how-to-excel-at-managing-multiple-projects) to work on a local [install](https://www.mindstick.com/articles/12876/the-top-5-reasons-to-buy-and-install-a-tonneau-cover) of IIS and came across the following 500 error:\
Handler "PageHandlerFactory-[Integrated](https://www.mindstick.com/forum/33568/handler-extensionlessurlhandler-integrated-4-0-has-a-bad-module-managedpipelinehandler-in-its-module-list)" has a bad module "[ManagedPipelineHandler](https://www.mindstick.com/forum/33553/500-21-bad-module-managedpipelinehandler-in-its-module-list)" in its module list.\
It turns out that this is because [ASP.Net](https://www.mindstick.com/articles/934/default-folders-available-inside-the-asp-dot-net-application-folder) was not completely installed with IIS even though I checked that box in the "Add [Feature](https://www.mindstick.com/articles/12788/how-to-boost-sales-using-magento-2-checkout-feature)" dialog. To fix this, I simply ran the following command at the [command prompt](https://answers.mindstick.com/qa/51716/how-to-make-bootable-pendrive-using-cmd-windows-command-prompt)

```
%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe -i
```

If I had been on a 32 bit system, it would have looked like the following:\

```
%windir%\Microsoft.NET\Framework\v4.0.21006\aspnet_regiis.exe -i
```

My [question](https://www.mindstick.com/blog/23175/how-to-solve-neet-question-paper-in-less-time) is, is there a way to install IIS on a [windows](https://www.mindstick.com/articles/311752/how-to-install-and-use-the-google-wifi-software-on-a-windows-or-mac-computer) 7 box to use .NET 4.0 (MVC 3) without taking this extra step?

## Replies

### Reply by Anonymous User

It turns out that this is because ASP.Net was not completely installed with IIS even though I checked that box in the "Add Feature" dialog. To fix this, I simply ran the following [command](https://www.mindstick.com/blog/178/synchronous-and-asynchronous-command-execution-in-c-sharp-dot-net) at the command prompt

```
%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe -i
```

If I had been on a 32 bit system, it would have looked like the following:

```
%windir%\Microsoft.NET\Framework\v4.0.21006\aspnet_regiis.exe -i
```


---

Original Source: https://www.mindstick.com/forum/33532/handler-pagehandlerfactory-integrated-has-a-bad-module-managedpipelinehandler-in-its-module-list

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
