ASP. NET HTTP error 500.21-internal Server error

Source: Internet
Author: User

Translated from: http://www.cnblogs.com/koeltp/archive/2012/03/24/2415430.html

Previously wrote a Web site, the. NET Framework version is v3.5, and last night rewritten some methods, called a method, found that the 3.5 version of the No, so in the VS2010 to upgrade it to the v4.0 version. This morning in a netizen he configured IIS problem, ask me, I looked under, should be the problem of data connection, so I first put my website run down to see, the result, IIS is version is V2.0 version, and my website is V4.0 version of. Error running .... So I upgraded IIS, too. The result is an error that appears:

On the internet to find a reason, the result is

Cause: After you install the framework v4.0, IIS is enabled, causing the framework to not be fully installed

Solution: Enter CMD in the start search program to find the command Manager, and then enter the following string of characters:

%windir%\microsoft.net\framework\v4.0.30319\aspnet_regiis.exe-i

ASP. NET HTTP error 500.21-internal Server error

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.