我正在使用VSTS 2008 + C# + .Net 3.5 + IIS 7.0。我创建了一个新的网站,并将一个HTML文件放入目录中。当我在IIS管理器中使用浏览功能浏览HTML文件时,遇到以下错误,请问有什么问题吗?
顺便说一下:我对未经授权的错误感到非常困惑,因为我是在管理员帐户下运行工作进程的。从错误消息中,我不明白为什么登录方法是匿名的而不是使用管理员帐户?
顺便说一下:我对未经授权的错误感到非常困惑,因为我是在管理员帐户下运行工作进程的。从错误消息中,我不明白为什么登录方法是匿名的而不是使用管理员帐户?
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