Iis7 and iis8.0 HTTP Error 500.19-Internal Server Error Solution

Source: Internet
Author: User

Baidu has not found the exact answer to this question for a long time. I also know that it must be a permission issue. Of course, after some attempts, I finally got rid of it, the solution is as follows ):

1. Find the directory where your configuration file is located. Mine is E: \ source code \ ASP. NET \ dtcms10beta2.

2. Right-click Properties, switch to the Security tab, add the IIS-IUSRS user group to the security list, and grant it permissions as needed (I granted the changed permissions ), for example:

3. view the security permissions of Web. config. If you have permissions for this user group, the operation is successful. Otherwise, proceed to the next step;

4. Return to the root directory, open the Security tab, select the IIS-IUSRS user group, click Advanced to open the Advanced Security Settings dialog box, select the IIS-IUSRS user group, and click Change permissions ", open the Editable Advanced Security Settings dialog box and select the check button in the red area,

Click OK to inherit the permission to all sub-objects.

after completing the preceding steps, it is assumed that this problem cannot be solved, in IIS, select an application, click Basic settings, and select the application pool. The displayed Select in the dialog box. The following properties are displayed.. Net version. Select the version number lower than your application version number. I chose classic. net apppool (Note: Because my application is better than the current one.. NET Framework version is low, so it must be set to classic.. Net apppool ).

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.