The handler "pagehandlerfactory-integrated" has an error module "managedpipelinehandler" in its module list"
Address: http://www.cnblogs.com/navy235/archive/2012/05/10/2494333.html
Windows 7 is installed today.
IIS needs to be installed for web project development. After the installation, the web program has been mapped to the local IIS and the following error message is displayed during running.
The handler "pagehandlerfactory-integrated" has an error module "managedpipelinehandler" in its module list"
Cause:
Vs2010 uses the 4.0 framework by default. The 4.0 framework is an independent CLR, which is different from the 2.0 Framework. To run a 4.0 website, you need to register the 4.0 framework with aspnet_regiis, use the 4.0 class pool to run the 4.0 Web project.
How can I use aspnet_regiis to register the 4.0 framework:
Start cmd (win key + R start cmd) and find the directory where 4.0 is located. My machine directory is;
Note: run the DOS window as an administrator.
Go to the directory c: \ windows \ Microsoft. NET \ framework \ v4.0.30319.
Start cmd to enter the directory above, as shown in figure
Note:: When you deploy a website on iis7, IIS uses it by default. net framwork2.0, if you run. net4.0 and. for the net4.5 application, you need to modify the "application pool" Settings and change version 2.0 to 4.0. Shows the modification method: