Following this guide i try to Host WCF service in a Windows Service Using TCP.
this works fine on my computer but when install this service in other computer in the same network got an error: The server has rejected the client credentials
I try to disable Firewall but still same error (and the service running...)
from the client side Add service reference works fine and recognize the service.
this is my app.config file:
contract="WcfServiceLibrary1.IService1">
contract="IMetadataExchange" />
192.168.0.100 is the server machine IP address.
Talk1:
When you run the WinForm application (client), what credentials are you running it under? You probably need to be running it under a domain account with admin priviledges.
Solutions1
Try to use this config for tcp binding:
Talk1:
That won't solve the problem. OP will get a binding mismatch because the security won't match. The service will be using the default security mode for netTcpBinding, which is "Transport".
Talk2:
Where i need to put this section ?