IIS Issue!

I am running my projects on IIS 7 installed but when i try to browse a project!

i get this error:

HTTP Error 401.3 - Unauthorized
You do not have permission to view this directory or page because of the access control list (ACL) configuration or encryption settings for this resource on the Web server.

Most likely causes:

The user authenticated by the Web server does not have permission to open the file on the file system.
If the resource is located on a Universal Naming Convention (UNC) share, the authenticated user may not have sufficient share and NTFS permissions, or the permissions on the share may not match the permissions on the physical path.
The file is encrypted.

Things you can try:

Open Windows Explorer and check the ACLs for the file that is being requested. Make sure that the user accessing the Web site is not being explicitly denied access, and that they do have permission to open the file.
Open Windows Explorer and check the ACLs for the share and the physical path. Ensure that both ACLs allow the user to access the resource.
Open Windows Explorer and check the encryption properties for the file that is being requested. (This setting is located in the Advanced attribute properties dialog.)
Create a tracing rule to track failed requests for this HTTP status code. For more information about creating a tracing rule for failed requests, click here.
LVL 16
Gurpreet Singh RandhawaWeb DeveloperAsked:
Who is Participating?
Check your permissons! and please list any of these that you have tried...  You need to allow everyone to view the index page and root directory of the site otherwise noone will be able to view the site.
Gurpreet Singh RandhawaWeb DeveloperAuthor Commented:
and how do i do this
there is 2 level permissions when IIS is used, and depending on the authentication there is different credentials needed to access file.

1) IIS permissions of webfolders can be set with the IIS MMC snapin, and anonymous or integrated security needs to be chosen
2) the physical drive on which the webfiles is needs to be readable (i.e. permissions granted, and here is where it can be tricky.
the iis service  itself needs to have access to the folders ( look in the IIS application pool identity to see which user is being used)
If anonymous access is allowewd, you configure a proxy user to read the files from disk (in IIS mmc) this user needs read permissions
If integrated security is used, the end user that is browsing the website needs at least read permissions on the web files .

normally the access is given to groups rather than individuals

hope this helps
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.