Asp.net iis error

asp.netiis

I am using asp.net 2.0 and IIS 7 on vista 64 bit.
everytime, when i try to open page in browser, i get following error.

Access is denied.
Description: 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:\example\WebApplication1\WebApplication1\Default.aspx'.

Best Answer

Does your application pool's user have read permissions to the files you're trying to serve? By default, this should be the NETWORK SERVICE user.

Your ASPNET user will also need access.

Permissions can be set here: Right click the directory or file --> Properties --> Security tab