Hello,
I am trying to set up security within a web.config file for a WCF service hosted in IIS but keep getting the error message:
Security settings for this service require 'Anonymous' Authentication but it is not enabled for the IIS application that hosts this service.
I have read Nicholas Allen’s blog (link text) and it appears that this is the route that I need to take. However, I am using “binaryMessageEncoding” in a customBinding for my Silverlight service, and as such, I’m not sure how to apply this type of security to such an element. This is how my custom binding looks in config at present:
<customBinding>
<binding name="silverlightBinaryBinding">
<binaryMessageEncoding />
<httpTransport />
</binding>
</customBinding>
Has anyone had any experience getting Windows authentication to work with a custom binding using binaryMessageEncoding?
Cheers,
sfx