IIS needs to be installed to publish a web project in Windows 7. 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:
Run cmd as follows:
(Win key + R start cmd)
,Find the directory where 4.0 is located. My machine directory is
Copy the preceding directoryC: \ windows \ Microsoft. NET \ framework \ v4.0.30319
Start cmd to enter the directory above, as shown in figure
Press enter, as shown in figure
The directory c: \ windows \ Microsoft. NET \ framework \ v4.0.30319 has been entered.
Then runAspnet_regiis.exe-IFor example
Wait a moment, Aspnet_regiisAs shown in figure
OK, then IIS can run. net
4.0 the website is deployed.
If the system prompts that the permission is insufficient during execution, check that the current user has the Administrator permission.
Http://blog.sina.com.cn/s/blog_7ed5a8080100rinj.html