Geeks With Blogs
Title Of Blog
Had an issue calling WCF service today. The following exception was being thrown when service was called:

WebHost failed to process a request.

Sender Information: System.ServiceModel.ServiceHostingEnvironment+HostingManager/35320229

Exception: System.ServiceModel.ServiceActivationException: The service '/InteliChartVendorCommunication/VendorService.svc' cannot be activated due to an exception during compilation.  The exception message is: Security settings for this service require 'Basic' Authentication but it is not enabled for the IIS application that hosts this service..

Ensured Basic authentication was indeed enabled in IIS before getting stumped on what actual issue could be. Turns out it was CustomErrors setting. Value was set to "off" vs "Off". Would have expected different exception from .NET (i.e. web.config parse exception) but it works now either way.

Posted on Thursday, September 13, 2012 3:12 PM | Back to top

Comments on this post: Security settings for this service require 'Basic' Authentication

# re: Security settings for this service require 'Basic' Authentication
Requesting Gravatar...
Thanks for this, but I want, Is it possible to setup a WCF service with SSL and Basic Authentication in IIS using only BasicHttpBinding-binding? (I can’t use the wsHttpBinding-binding) Best Commodity Advisory Company in India
Left by Surya Mansad on Jun 29, 2015 6:27 AM

Your comment:
 (will show your gravatar)

Copyright © Jake Rutherford | Powered by: | Join free