Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/visual-studio-2008/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
.net 您未被授权查看此页面是否存在dns问题?_.net_Asp.net_Visual Studio_Iis - Fatal编程技术网

.net 您未被授权查看此页面是否存在dns问题?

.net 您未被授权查看此页面是否存在dns问题?,.net,asp.net,visual-studio,iis,.net,Asp.net,Visual Studio,Iis,浏览部署在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. -------------------------------------------------------------------------------

浏览部署在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问题:如果是,则无法找到主机


如果您使用的是IIS,则可能未正确设置站点的身份验证。

401错误与DNS无关。这意味着运行IIS的帐户(或传递给它进行授权和身份验证的帐户)没有执行页面的权限。这很可能是应用程序文件夹结构的安全问题。验证您的站点在哪个帐户下运行,以及它在Windows中对根文件夹和子文件夹具有读取权限。

401错误本身可能不是DNS问题;这仅仅意味着,由于某种原因,用户没有被授权查看页面。这可能是因为IIS无法查看页面,或者是因为web应用程序不允许当前web用户查看页面


也就是说,DNS可能仍然是罪魁祸首。如果DNS被用作身份验证系统的一部分(我相信,Active Directory可能就是这种情况),并且服务器无法正确使用DNS进行身份验证用户所需的解析,那么是的,DNS可能会导致401。

否,这不是DNS问题。您使用的是哪种身份验证模型?简而言之,DNS是一种将主机名(如www.stackoverflow.com)映射到IP地址(如69.59.196.211)的系统。一旦您从服务器获取了足够多的错误消息,您就找到了服务器,DNS不再相关。是的,现在我也收到了页面未找到错误..当我取消选中windows集成身份验证时。这是dns问题吗?您是直接浏览某个页面,还是希望它加载某个默认页面(即www.yoursite.com/vs www.yoursite.com/defaultpage.html)?我正在使用active directory检索网站。这是问题吗?是的,,现在我得到的页面未找到错误也..当我取消检查windows集成身份验证。这是dns问题吗?是的,它有。。。阅读权限。。。现在我得到的页面未找到错误也..当我取消检查windows集成身份验证。这是dns问题吗?你能在那个服务器上找到任何东西吗?如果是的话,这不是DNS问题。那么这里的解决方案是什么呢?如果这是active directory的原因?