IIS 7 & IIS 8
Configuration & Scripting
problem with directories outside the wwwroot
Last post Nov 01, 2011 06:39 AM by ananthat
Feb 26, 2007 07:14 PM|LINK
i tested "Default Web Site", works fine.
but i tried to create a virtual directory, under C:\Users/MyUsername/Documents/Development, but doesnt work.
i gave IIS_IUSRS the permissions on that directory, but still, i get this error when i try to browse in IIS:
Description: 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.
Error Code: 0x80070005
Module: IIS Web Core
Requested URL: http://localhost:80/dev
Physical Path: C:\Users\HiSoC8Y\Documents\Developments\site\site.com
Logon User: Anonymous
Logon Method: Anonymous
Most likely causes:
What you can try:
Microsoft Knowledge Base Articles:
Any help to solve this issue?
Feb 26, 2007 11:07 PM|LINK
With IIS7 IUSR (Buitin user account) replaces IUSR_MachineName. See following for more details on these accounts.
1) Make sure that you are not using hidden directories as root of your website.
2) Find out the account that you are using for anonymous access (IUSR by default) and make sure it has read rights on the content directory. You can find out the anonymous account name by right clicking and selecting EDIT the "Anonymous Authentication" field
inside Authentication properties of the website. Over here you can also change the account for anonymous authentication.
On a side note,
Process Monitor is usually great tool to troubleshoot such permission issues.
Sep 22, 2009 02:32 AM|LINK
Nov 01, 2011 06:39 AM|LINK
Grant everyone permission (with read) for wwwroot folder
- Ananth N