ASP.NET中的Windows身份验证问题 [英] Windows authentication problem in ASP.NET

查看:104
本文介绍了ASP.NET中的Windows身份验证问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好。我在ASP.NET中有一个Windows身份验证问题。也许这个问题很容易,但我已经堆积在一个地方,我无法前进。让我来描述我的问题。



即使我已经在web.config中放置了所有必需的配置(我想我把所有这些配置都放了)。

 <   system.web  >  
< 身份验证 mode = Windows / >
< 授权 >
< deny users? < span class =code-attribute> / >
< / authorization >
< / system.web >





我的尝试:



我还在IIS中启用了Windows和匿名身份验证。问题是,当我尝试使用我的本地用户登录时(这个我当前登录的用户)凭据没有任何反应。看起来我的凭据不起作用。我每次都要登录表单。我尝试在开头使用带有和没有域名的用户名但没有任何效果。



你有什么建议我错过了什么或者我应该添加/更改什么?

解决方案

asp.net第87部分中的Windows身份验证 - YouTube [ ^ ]



朋友以上链接帮助解决你的问题


Hi guys. I have a problem with windows authentication in ASP.NET. Maybe the soludtion is easy but I've stacked in one place and I can't move forward. Let me describe my problem.

Even though I've placed all required configuration in web.config (I think I put all of them).

<system.web>
  <authentication mode="Windows"/>
  <authorization>
    <deny users"?" />
  </authorization>
</system.web>



What I have tried:

I've also enabled Windows and Anonymous Authentication in IIS. The problem is when I'm trying to log in with my local user (this one on which I'm currently logged in) credentials nothing happens. It looks like my credentials don't work. I'm getting the form to log in every time. I've tried to use username with and without domain name at the beginning but without any effect.

Do you have any suggestion what I've missed or what should I add/change?

解决方案

Windows authentication in asp.net Part 87 - YouTube[^]

Hi friend above link help to solve your problem


这篇关于ASP.NET中的Windows身份验证问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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