IIS specified authentication schemes ‘Basic, Anonymous’, but the binding only supports specification of exactly one authentication scheme

Having just aquired en extra hosted site – this time at www.unoero.com – and now having access to my own hosted .Net 4.0, i wanted to test it out with a WCF Data Services.

I did, however, have to get the good support people at UnoEuro to change the IIS configuration for me to “Anonymous” to avoid the above error, which they did promptly.

It took me some time to dig up the correct answer here: (http://tinyurl.com/yd4y78p) “..if your IIS configuration is set to use both Integrated Auth as well as Anonymous, you’ll want to uncheck one of them in the Directory Security setting for the site in IIS management console.”.

A second thing to note, was that I also had to change the web.config web.config like this <serviceHostingEnvironment multipleSiteBindingsEnabled=”true” /> under <system.serviceModel> to get my oData feed (http://www.odata.org/) in .Net 4.0 up and running.

Advertisements
Posted in Web

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s