I have an asp.net 3.5 application that contains an Ajax-Enabled WCF service. I enabled windows authentication enabled for the application "OARInventory", the WCF services are returning:
Security settings for this service require 'Anonymous' Authentication but it is not enabled for the IIS application that hosts this service
What configuration are needed to make this service run under windows authentication? My web.config:
<system.serviceModel>
<behaviors>
<endpointBehaviors>
<behavior name="Treasury.IRS.HCTC.OARInventory.Services.IVOOARInventoryServiceAspNetAjaxBehavior">
<enableWebScript />
</behavior>
</endpointBehaviors>
</behaviors>
<serviceHostingEnvironment aspNetCompatibilityEnabled="true" />
<services>
<service name="Treasury.IRS.HCTC.OARInventory.Services.IVOOARInventoryService">
<endpoint address="" behaviorConfiguration="Treasury.IRS.HCTC.OARInventory.Services.IVOOARInventoryServiceAspNetAjaxBehavior" binding="webHttpBinding" contract="Treasury.IRS.HCTC.OARInventory.Services.IVOOARInventoryService" />
</service>
</services>
</system.serviceModel>