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:
- 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.
- Right-click the ApplicationHost.config file, or right-click the Web.config file.
- Click Properties.
- Click the Security tab, and then click Edit.
- Click Add.
- 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. - Click to select the Read check box, and then click OK.
- 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