locked
HTTP Error 500.19: Cannot read configuration file due to insufficient permissions RRS feed

  • Question

  • User1774651294 posted

    Hi there!

    When I try to setup an ASP.NET application on www, I get following error:

    -------------------------------------------------------------------------------

    Server Error in Application "<var>application name</var>"
    HTTP Error 500.19 – Internal Server Error
    HRESULT: 0x80070005
    Description of HRESULT
    The requested page cannot be accessed because the related configuration data for the page is invalid.

    -------------------------------------------------------------------------------

    I checked http://support.microsoft.com/kb/942055, which states:

    This problem occurs for one of the following reasons:

    • You are using IIS 7.0 on a computer that is running Windows Vista. Additionally, you configure the Web site to use UNC Passthrough authentication to access a remote Universal Naming Convention (UNC) share.
    • The IIS_IUSRS group does not have the appropriate permissions for the ApplicationHost.config file or for the Web.config file.

    I have followed following method recommended by Microsoft:

    Method:

    <mce:script type="mce-text/javascript"><!-- loadTOCNode(3, 'resolution'); // --></mce:script> Grant the Read permission to the IIS_IUSRS group for the ApplicationHost.config file or for the Web.config file. To do this, follow these steps:

    1. In Windows Explorer, locate the ApplicationHost.config file that is associated with the Web site, or locate the Web.config file that is associated with the Web site.
    2. Right-click the ApplicationHost.config file, or right-click the Web.config file.
    3. Click Properties.
    4. Click the Security tab, and then click Edit.
    5. Click Add.
    6. In the Enter the object names to select box, type <var>computername</var>\IIS_IUSRS, click Check Names, and then click OK.

      Note <var>Computername</var> is a placeholder for the computer name.
    7. Click to select the Read check box, and then click OK.
    8. In the ApplicationHost.config Properties dialog box or in the Web.config Properties dialog box, click OK.


    Question:

    1. I can not find the user IIS_IUSERS. Since, I am hosting the application on www, so how the permissions can be granted.

    2. Please know that I have tested the application on localhost on IIS6. It works fine.

    Hope to hear something pleasant soon.

    /Danish



    Friday, July 30, 2010 8:05 AM

Answers

  • User-1659704165 posted

    Hi,

    Is Missing or u not able to find it?

    http://blogs.msdn.com/b/asiatech/archive/2009/05/29/iis-iusrs-missed-after-promoting-to-dc-on-windows-2008.aspx


    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Sunday, August 1, 2010 12:05 PM

All replies

  • User-1659704165 posted

    Hi,

    Is Missing or u not able to find it?

    http://blogs.msdn.com/b/asiatech/archive/2009/05/29/iis-iusrs-missed-after-promoting-to-dc-on-windows-2008.aspx


    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Sunday, August 1, 2010 12:05 PM
  • User1774651294 posted

    Thanks Avinash for your reply.

    The user account is missing in my computer. Please know that I am trying to set up the web application on www. As mentioned earlier, I have successfully setup the application on localhost. However, I get the subject error when I set up for www.

    Thanks for your time.

    /R

    Sunday, August 1, 2010 2:57 PM