Windows7 Publishing a Web project requires IIS to be installed, and when the installation is complete , the Web program is mapped to local IIS , and the following error message appears to run
Handler "pagehandlerfactory-integrated" has an error module "Managedpipelinehandler" in its module list
Reason :
VS2010 default is the 4.0 framework,4.0 of the framework is independent of the CLR, and 2.0 is different, if you want to run 4.0 of the site, you need to register with aspnet_regiis 4.0 framework, and then use 4.0 of the class pool, you can run 4.0 of Web projects .
How to register the 4.0 framework with aspnet_regiis:
The method is as follows, start cmd (Win key +r start cmd), find 4.0 in the directory , my machine directory is
Copy the above directory C:\Windows\Microsoft.NET\Framework\v4.0.30319
Start cmd into the above directory , such as
After carriage return as
Has entered C:\Windows\Microsoft.NET\Framework\v4.0.30319 this directory
Then run aspnet_regiis.exe-i such as
Wait a moment , aspnet_regiis after registering as
OK, then IIS can run the . NET 4 Deployment website .
Handler "pagehandlerfactory-integrated" has an error module "Managedpipelinehandler" in its module list