![](/img/trans.png)
[英]Anonymous Authentication in IIS to WCF service routes in an otherwise windows authenicated website
[英]IIS Site with Anonymous authentication and WCF service in the same domain with Basic authentication is it possible?
我在IIS中有一个站点,并且该站点中托管有WCF服务。 我希望该站点具有匿名身份验证,而服务具有基本身份验证。 我试过了,但是当我输入用户名和密码时,它并没有重定向到任何地方并且仍然在要求输入。 有没有人遇到过同样的问题?
因此,经过很多努力,我终于找到了问题所在。
<authentication mode="None">
<forms name=".ASPXAUTH" cookieless="UseCookies"/>
</authentication>
当我更改为Windows时,身份验证模式设置为“无”,因此我能够登录并打开服务。
感谢您的支持。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.