Unauthorized access error to html pages in IIS 7.0

Posted by George2 on Server Fault See other posts from Server Fault or by George2
Published on 2009-12-13T10:08:24Z Indexed on 2011/11/27 17:55 UTC
Read the original article Hit count: 228

Filed under:
|

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: 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 Code 0x80070005 
Requested URL http://localhost:80/a.html 
Physical Path C:\test\simplehosttest\a.html 
Logon Method Anonymous 
Logon User Anonymous

thanks in advance, George

© Server Fault or respective owner

Related posts about windows-server-2008

Related posts about iis7