On the Windows 7 iis7 release website, "processing program pagehandlerfactory-integrated" has an error in its module list.

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.