开发者

asp.net iis error

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\开发者_JAVA技巧WebApplication1\WebApplication1\Default.aspx'.


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


You need to give the permission to user name "Internet Guest Account" on C:\example directory on an inner directory given you have used the same user in the IIS anonymous setting.


Give your aspnet local user permission to the directory you're trying to access.


You need to add permission to the user binded with Application Pool on folder in which is your website.

The name of the user is usually IUSR, NETWORK SERVICE or IIS_IUSRS.

Permision to the root: Read and Execute, List folder and read Permission to the root/App_Data: All

Or another approach could be to set the username in the application pool (Advance setting -> Identity) to the username which has rights to read the directory. You may need create new application pool.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜