浏览我的网页时出现以下错误
我检查并看到anaymous访问已启用且集成的身份验证已关闭...
你能帮忙吗?
You are not authorized to view this page
You do not have permission to view this directory or page using the credentials that you supplied.
--------------------------------------------------------------------------------
Please try the following:
Contact the Web site administrator if you believe you should be able to view this directory or page.
Click the Refresh button to try again with different credentials.
HTTP Error 401.1 - Unauthorized: Access is denied due to invalid credentials.
Internet Information Services (IIS)
Open in New WindowSelect All
Tags:
Add Tags
Add Tags
Zones:
Microsoft IIS Web Server, .Net Application Servers, Programming for
我的web.conf如下所示:
<!--
The <authentication> section enables configuration
of the security authentication mode used by
ASP.NET to identify an incoming user.
-->
<authentication mode="Windows"/>
答案 0 :(得分:1)
您还应该检查网站本身的目录和文件的NTFS权限。确定这是否是问题的最简单方法是给Everyone READ访问权限。测试一下。然后删除Everyone条目。如果已解决问题,请找出托管Web应用程序的IIS应用程序池使用的用户帐户,并将该用户帐户添加到NTFS权限列表,为该用户提供“读取”访问权限。