且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

ASP.NET中的Windows身份验证问题

更新时间:2022-10-23 13:40:40

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



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


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 - ***[^]

Hi friend above link help to solve your problem