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:
When debugging asp.net by attaching w3wp.exe process, you often will see encounter the following error message, the web server process that was being debugged has been terminated by IIS.
This caused Internet Information Services (IIS) to assume that the worker process had stopped responding. Therefore, IIS terminated the worker process.
1. Open IIS manager.
2.Click application Pools>>select the application pool associated with the site>>and click Advanced Settings
3. Click Advanced Settings of the application pool and set the Ping Enabled property from True to False.
Now, reattach the process from Visual Studio, you should not get the error message.