ASP.NET中的Windows身份验证问题 [英] Windows authentication problem in ASP.NET
问题描述
即使我已经在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屋!