So this question has the same symptoms of my problem.
Security settings for this service require "anonymous" authentication, but it is not enabled for the IIS application that hosts this service.
However, I removed the mex endpoint from my web configuration and I still get the same error. My web configuration is as follows:
<system.serviceModel> <services> <service name="xxx.MessageHub.MessageHubService" behaviorConfiguration="default"> <endpoint binding="wsHttpBinding" contract="xxx.MessageHub.IMessageHubService" /> </service> </services> <behaviors> <endpointBehaviors> </endpointBehaviors> <serviceBehaviors> <behavior name="default"> <serviceMetadata httpGetEnabled="true"/> <serviceDebug includeExceptionDetailInFaults="true"/> <serviceAuthorization principalPermissionMode="UseWindowsGroups" /> </behavior> </serviceBehaviors> </behaviors> <bindings> <basicHttpBinding> <binding name="credsOnly"> <security mode="TransportCredentialOnly"> <transport clientCredentialType="Windows"></transport> </security> </binding> </basicHttpBinding> <wsHttpBinding> <binding name="transport"> <security mode="Transport"> <transport clientCredentialType="Windows"></transport> </security> </binding> </wsHttpBinding> </bindings> </system.serviceModel>
I run an application with IIS6 compatibility, adding to IIS7 (because our prod servers start IIS6 - I get the same exception when deploying to a test server).
What settings do I need to fix to make this material work?
Wayne Werner Dec 21 2018-11-12T17
source share