IIS 7.0中的html页面未经授权的访问错误 [英] Unauthorized access error to html pages in IIS 7.0

查看:393
本文介绍了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.

这篇关于IIS 7.0中的html页面未经授权的访问错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆