本文介绍了获取HTTP错误401.1 - 在IIS中托管应用程序时未经授权的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在IIS中托管了一个Web应用程序。应用程序是Windows认证的应用程序。我启用了Windows身份验证类型并禁用了所有其他身份验证类当我尝试浏览它时,我得到他的错误。



HTTP错误401.1 - 未经授权您无权使用您的凭据查看此目录或页面提供。



我检查下面的IIS日志是日志详情



2013-07-16 11:25:19 10.0.40.159 GET / - 80 - 10.0.40.159 Mozilla / 4.0 +(兼容; + MSIE + 7.0; + Windows + NT + 6.1; + WOW64; + Trident / 4.0; + SLCC2; +。NET + CLR + 2.0.50727; +。NET + CLR + 3.5.30729; +。NET + CLR + 3.0.30729; +。NET4.0C; +。NET4.0E)401 2 5 1793 2013-07-16 11:25 :46 10.0.40.159 GET / - 80 - 10.0.40.159 Mozilla / 4.0 +(兼容; + MSIE + 7.0; + Windows + NT + 6.1; + WOW64; + Trident / 4.0; + SLCC2; +。NET + CLR + 2.0 .50727; +。NET + CLR + 3.5.30729; +。NET + CLR + 3.0.30729; +。NET4.0C; +。NET4.0E)401 2 5 311 2013-07-16 11:25:48 10.0 .40.159 GET / - 80 - 10.0.40.159 Mozilla / 4.0 +(兼容; + MSIE + 7.0; + Windows + NT + 6.1; + WOW64; + Trident / 4.0; + SLCC2; +。NET + CLR + 2.0.50727; + .NET + CLR + 3.5.30729; +。NET + CLR + 3.0.30729; +。NET4.0C; +。NET4.0E)401 1 3221225581 2105


我试图将身份验证类型更改为匿名类型。那段时间我没有得到上述错误。我还授予对该文件夹的完全访问权限。



PLease帮助我解决错误

I hosted a web application in IIS. the application Is windows authenticated application. I enabled windows authentication type and disabled all other authentication types. when I try to browse it i get he below error.

"HTTP Error 401.1 - Unauthorized You do not have permission to view this directory or page using the credentials that you supplied. "

I checked the IIS log below is the Log detail

2013-07-16 11:25:19 10.0.40.159 GET / - 80 - 10.0.40.159 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+6.1;+WOW64;+Trident/4.0;+SLCC2;+.NET+CLR+2.0.50727;+.NET+CLR+3.5.30729;+.NET+CLR+3.0.30729;+.NET4.0C;+.NET4.0E) 401 2 5 1793 2013-07-16 11:25:46 10.0.40.159 GET / - 80 - 10.0.40.159 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+6.1;+WOW64;+Trident/4.0;+SLCC2;+.NET+CLR+2.0.50727;+.NET+CLR+3.5.30729;+.NET+CLR+3.0.30729;+.NET4.0C;+.NET4.0E) 401 2 5 311 2013-07-16 11:25:48 10.0.40.159 GET / - 80 - 10.0.40.159 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+6.1;+WOW64;+Trident/4.0;+SLCC2;+.NET+CLR+2.0.50727;+.NET+CLR+3.5.30729;+.NET+CLR+3.0.30729;+.NET4.0C;+.NET4.0E) 401 1 3221225581 2105

I tried to change authentication Type to anonymous type. i did not get the above error that time. i also granted full access to the folder.

PLease help me resolving the error

推荐答案


这篇关于获取HTTP错误401.1 - 在IIS中托管应用程序时未经授权的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-19 09:15