Last post Jun 03, 2019 02:54 AM by Abraham Qian
Jun 01, 2019 07:02 PM|nambir|LINK
I am getting follow error when WCF Client- access wcf service via-net tcp.
I believe it is related to Windows Server 2012/IIS setup issue of net tcp. Because it is the same App.Config of Service working properly in another server.
Need your help to find where the mistake can be.
System.ServiceModel.Security.SecurityNegotiationException: 'The server has rejected the client credentials.'
Win32Exception: The logon attempt failed.
Jun 02, 2019 12:22 PM|PatriceSc|LINK
A NegotiationException would make me think about not using the same authentication on the client side than the one used on the server side. You are using Windows authentication ?
Jun 02, 2019 04:18 PM|nambir|LINK
I am consuming it in Console application.
I have not added any authentication code, So i guess it will be default ie , may be Windows Authentication.
Jun 03, 2019 02:54 AM|Abraham Qian|LINK
Please try to enable the windows feature support for WCF
Then Enable the Windows Authentication in IIS authentication module.
if there is no Windows authentication in the group, please enable the related Windows Feature support for IIS.
Feel free to let me know if the problem still exists.