Comments on: Fun with JSON and WCF, Part II https://cymbeline.ch/2009/02/06/fun-with-json-and-wcf-part-ii/?utm_source=rss&utm_medium=rss&utm_campaign=fun-with-json-and-wcf-part-ii ... the adventures of a guy making software. Sat, 22 Feb 2014 23:04:50 +0000 hourly 1 https://wordpress.org/?v=5.9.3 By: roger https://cymbeline.ch/2009/02/06/fun-with-json-and-wcf-part-ii/#comment-11 Mon, 11 May 2009 14:31:25 +0000 /post/2009/02/06/Fun-with-JSON-and-WCF-Part-II.aspx#comment-11 Have you tried just using either one of ‘Integrated Windows Authentication’ and ‘Basic Authentication’ but not both at the same time? Given that you cannot set multiple authentication mechanisms in the Web.config (well, at least I haven’t found a way to do that) it makes sense to restrict the auth mechnism in IIS to only the one which JSON on the server will support.

]]>
By: Sheetal Jain https://cymbeline.ch/2009/02/06/fun-with-json-and-wcf-part-ii/#comment-10 Sat, 09 May 2009 17:25:56 +0000 /post/2009/02/06/Fun-with-JSON-and-WCF-Part-II.aspx#comment-10 Thanks for the great post. I tried setting this but now I get error "Security setting for this service require windows authetncation but its not enabled for the IIS applicaiton that hosts this srevice"

I have enabled "Integrated" and Basic authetncation. If I change the clientCredentialType to basic or Integrated, it keep throwing unauthorized error. I am running on SharePoint and trying to call this service from JSON(browser)

Any help would be appreciated

]]>