WCF Service Authentication problem?
- by Marcus
I have an application which exposes lots of interfaces via net.tcp protocol, using both SecurityMode.Transport and SecurityMode.None (I really need support for both).
My whole application is written in a DLL file. I have a form which consumes this DLL and now I made a Windows Service to consume this DLL.
The problem is, when this windows service goes up, the insecure service throws this exception:
Stream Security is required at http://www.w3.org/2005/08/addressing/anonymous, but no security context was negotiated. This is likely caused by the remote endpoint missing a StreamSecurityBindingElement from its binding.
In the client side, nothing has changed.
Is there any reason for this behaviour? The program is exactly the same. When I run the same test with the form app, it works...
ps: I've already tried running the windows service as: SYSTEM, NETWORK SERVICE and my user account (which runs the form app)
Thanks