简体   繁体   中英

IIS Site with Anonymous authentication and WCF service in the same domain with Basic authentication is it possible?

I am having a Site in IIS and I have a WCF service which is hosted within this site. I want the site to have a anonymous authentication and Service to have basic authentication. I tried but when I am giving the user name and password it is not redirecting anywhere and still asking for it. Is anyone faced the same kind of problem?

So, after lot of struggles i finally found the problem.

<authentication mode="None">
  <forms name=".ASPXAUTH" cookieless="UseCookies"/>
</authentication>

Authentication mode was set to None the moment i changes to Windows i am able to go login it opens the service.

Thanks for the support.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM