【发布时间】:2009-12-07 14:38:38
【问题描述】:
浏览部署在 IIS 中的 asp.net 页面时出现以下错误:
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)
--------------------------------------------------------------------------------
Technical Information (for support personnel)
Go to Microsoft Product Support Services and perform a title search for the words HTTP and 401.
Open IIS Help, which is accessible in IIS Manager (inetmgr), and search for topics titled Authentication, Access Control, and About Custom Error Messages.
这是关于 dns 设置的问题吗?
【问题讨论】:
-
不,这不是 DNS 问题。您使用的是哪种身份验证模型?
-
DNS,简而言之,就是一个将主机名(如 www.stackoverflow.com)映射到 IP 地址(如 69.59.196.211)的系统。一旦您到达足够远的距离从服务器获取错误消息,您就找到了服务器,并且 DNS 不再相关。
-
是的,现在我也收到页面未找到错误..当我取消选中 Windows 集成身份验证时。是 dns 问题吗?
-
您是直接浏览到某个页面,还是希望它加载一些默认页面(即 www.yoursite.com/ 与 www.yoursite.com/defaultpage.html)?
标签: .net asp.net visual-studio iis