How to fix: Handler “PageHandlerFactory-Integrated” has a bad module “ManagedPipelineHandler” in its module list
Recently, I am having issues with deploying asp.net mvc 4 application to Windows Server 2008 R2.After add the necessary role and features and I setup an application in IIS. However , I received the following error message: PageHandlerFactory-Integrated” has a bad module “ManagedPipelineHandler” in its module list
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 at the command prompt
If I had been on a 32 bit system, it would have looked like the following:
I start a pet project using MVC3 +entity framework. When I query the entity I got the following errors.
The type ‘System.Data.Objects.DataClasses.EntityObject’ is defined in an assembly that is not referenced. You must add a reference to assembly ‘System.Data.Entity, Version=22.214.171.124, Culture=neutral, PublicKeyToken=b77a5c561934e089’
I double checked my references in my project; System.Data.Entity is in my project references. After a bit Goggling, to solve this problem you need to add the assembly reference in the web.config. See the screen shot below: