通过Windows身份验证进行表单身份验证 [英] Forms authentication over Windows authentication

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

问题描述

大家好,
谁能告诉我如何启用表单身份验证.当我从IIS禁用Windows身份验证并启用表单身份验证时,它开始显示错误:\

无法在Web服务器上开始调试.调试失败,因为未启用集成的Windows身份验证."
我不想使用Windows身份验证,因此如何禁用它并启用表单身份验证.

Hello guys,
Can anyone tell me how to enable forms authentication.When i disable windows authentication from IIS and enable forms authentication, it starts giving error :\

"Unable to start debugging on the web server.Debugging failed because integrated windows authentication is not enabled."
I don''t want to use windows authentication so how can i disable it and enable forms authentication.

推荐答案

无法在Web服务器上开始调试.调试失败,因为未启用集成的Windows身份验证."
听起来您正在使用IIS作为Web服务器,而不是Visual Stuido内部Web服务器.此外,您在身份验证"选项卡中关闭了IIS中的Windows身份验证,但是Web.config文件中的身份验证类型仍为Windows.

去使该Windows身份验证在Web.Config中形成表单身份验证.根据需要提供起始网址.
"Unable to start debugging on the web server.Debugging failed because integrated windows authentication is not enabled."
Sounds like you are using IIS as your webserver instead of Visual Stuido internal webserver. Further, you turned of the windows authentication in IIS in Authentication tab but you still have your authentication type in your Web.config file as windows.

Go and make that windows authentication to forms authentication in Web.Config. Give start url as per need.


这篇关于通过Windows身份验证进行表单身份验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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