IIS 7 and Above
Server Error in '/' Application
Last post Jul 29, 2013 07:44 AM by Pengzhen Song - MSFT
Jul 25, 2013 04:00 AM|suhaag27|LINK
I am trying to learn ASP.NET and C# and recently tried to use IIS on windows 8. I did the normal procedure to install IIS on windows 8 and it worked. But since then whenever I've tried to open localhost on IE it is giving me error as below --
An error occurred while accessing the resources required to serve this request. You might not have permission to view the requested resources.
Error message 401.3: You do not have permission to view this directory or page using the credentials you supplied (access denied due to Access Control Lists). Ask the Web server's administrator to give you access to 'C:\inetpub\wwwroot'.
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.18045
I am logged in as an administrator and have access to the inetpub folder. Also checked the web.config file which is
as below --
<?xml version="1.0" encoding="UTF-8"?>
<identity impersonate="false" />
Any help/suggestion appreciated...
Jul 25, 2013 09:37 AMemail@example.com|LINK
I am logged in as an administrator and have access to the inetpub folder.
Is the administrator account the one that's accessing the folder? Likely it's the app pool identity and you need to add permission for that account.
Jul 25, 2013 03:12 PM|suhaag27|LINK
Thanks Jeff, could you also tell me how to add permission. I've tried every permission with ACL but still getting same error.
Jul 25, 2013 11:45 PM|suhaag27|LINK
Tried few work arounds but yet not resolved. The latest error message is ---
Jul 29, 2013 07:44 AM|Pengzhen Song - MSFT|LINK
For the 401.3 error, To resolve this problem, grant the Read permission to the account of the authenticated user for the file that you want to browse. To do this, follow these steps:
Now I suggest you read the both articles about Understanding Built-In User and Group Accounts in IIS 7 and Secure Content in IIS Through File System ACLs:
Source from http://forums.iis.net/t/1192705.aspx/1
And refer the similar thread
Hope it can help you
Source from http://forums.iis.net/t/1148826.aspx/1