WCF - Windows authentication - Security settings require Anonymous

后端 未结 8 2259
耶瑟儿~
耶瑟儿~ 2020-12-08 13:40

I am struggling hard with getting WCF service running on IIS on our server. After deployment I end up with an error message:

Security settings for this service r

相关标签:
8条回答
  • 2020-12-08 14:20

    It worked for me when I remove 'mex' endpoint and also set clientCredentialType = 'Ntlm' I was hosting my WCF inside SharePoint.

    0 讨论(0)
  • 2020-12-08 14:22

    just use your service bindings for mex too.

    So change your current config :

    <endpoint address="mex" binding="mexHttpBinding" name="mex" contract="IMetadataExchange"></endpoint>
    

    to

    <endpoint address="mex" binding="webHttpBinding" bindingConfiguration="default" name="mex" contract="IMetadataExchange"></endpoint>
    

    That should solve the problem

    0 讨论(0)
提交回复
热议问题