Iis7.0 error on Vista-0 × 80070021

Source: Internet
Author: User

Iis7.0 error on Vista-0x80070021 favorites
Iis7.0 error on Vista HTTP Error 500.19-internal server error, errorCodeIt is 0x80070021, probably because the security settings of iis7.0 are greatly changed compared with the previous version. The iis7.0 security settings file is in % WINDIR % \ system32 \ inetsrv \ config \ applicationhost. config. All WebProgramThe security settings can be overwritten in the web. config of each web program, but they are not allowed by default.

Therefore, first modify the applicationhost. config file and open the permissions of handlers and modules, that is, change deny to allow, as shown below:

View plaincopy to clipboardprint?
<Configuration>
<Configsections>
<Sectiongroup name = "system. webserver">
......
<Section name = "handlers" overridemodedefault = "allow"/>
......
<Section name = "modules" allowdefinition = "machinetoapplication" overridemodedefault = "allow"/>
......
<Configuration>
<Configsections>
<Sectiongroup name = "system. webserver">
......
<Section name = "handlers" overridemodedefault = "allow"/>
......
<Section name = "modules" allowdefinition = "machinetoapplication" overridemodedefault = "allow"/>
......

In addition, if iis7.0 is installed after VS, you need to add iis7.0 support for ASP. NET files. Otherwise, a mime error that is not recognized by the aspx file may occur.

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.