IIS 7.0中的html页面未经授权的访问错误
我正在使用VSTS 2008 + C#+。Net 3.5 + IIS 7.0。我创建了一个新的网站,并将一个html文件放入该目录。当我在IIS管理器中使用浏览功能浏览html文件时,我遇到了以下错误,任何想法有什么问题?
I am using VSTS 2008 + C# + .Net 3.5 + IIS 7.0. I have created a new web site and put an html file into the directory. And when I use browse function in IIS manager to browse the html file, I met with the following error, any ideas what is wrong?
BTW:我很困惑由于我在管理员帐户下运行工作进程,因此未经授权从错误消息,我很困惑为什么登录方法是匿名的而不使用管理员帐户?
BTW: I am very confused about unauthorized error since I run the worker process under administrator account. From the error message, I am confused why the logon method is anonymous and not using administrator account?
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.
Module IIS Web Core
Notification AuthenticateRequest
Handler StaticFile
Error Cde 0x80070005
Requested URL http://localhost:80/a.html
Physical Path C:\test\simplehosttest\a.html
Logon Method Anonymous
Logon User Anonymous
C:\ test\simplehosttest\a.html
C:\test\simplehosttest\a.html
请批准IUSR帐户对此文件或其文件夹的必要权利。然后401.3错误将消失。
Please grant IUSR account necessary rights on this file or its folder. Then 401.3 error will disappear.