![](/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.