HTTP Error 500.21-Internal Server Error pagehandlerfactory-Integrated

Source: Internet
Author: User
ArticleDirectory
  • The handler "pagehandlerfactory-integrated" contains a processing method for the "managedpipelinehandler" error module in its module list.
Handle HTTP Error 500.21-Internal Server Error Program"Pagehandlerfactory-integrated" has an error module "managedpipelinehandler" in its module list.

 

 

Cause: after the Framework v4.0 is installed, IIS is enabled again. As a result, the framework is not fully installed.

 

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:

 

Solution:

CMD command window

Cd c :/

Cd c: \ WINDOWS \ Microsoft. NET \ framework \ v4.0.30319

Enter aspnet_regiis.exe-I

 

Registered successfully

In IIS, modify the. netframework Framework of the application pool to 4.0.

 

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.