身份验证方案 [英] Authentication Schemes

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

问题描述

将ADO.net数据服务发布到生产Web服务器时,出现以下错误:

"IIS指定的身份验证方案"IntegratedWindowsAuthentication,Anonymous",但绑定仅支持一种身份验证方案的规范。有效的身份验证方案是Digest,Negotiate,NTLM,Basic或Anonymous。更改IIS设置,以便只使用一个身份验证方案。"

我可以解决错误通过关闭网站的Windows集成身份验证,然后重新启动IIS。但是,我无法在关闭身份验证的情况下从Visual Studio发布对网站的任何更改。有没有办法在具有数据服务的生产服务器上具有VS发布能力?

I can resolve the error by turning off Windows Integrated Authentication for the website and then restarting IIS.  However, I can't publish any changes to the website from Visual Studio with the authentication turned off.  Is there a way to still have VS publish ability on a production server with data services?

推荐答案

您好,
错误指定您有打开了多个身份验证方案。由于您需要为您的应用程序启用Windows集成身份验证,您可以禁用匿名身份验证方案,您应该很高兴。
Hi ,
 The error specifies that you have multiple Authentication Schemes turned on . Since you need to have Windows Integrated Authentication turned on for your application , you can disable the ANonymous Authentication Scheme and you should be good to go .


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

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