WCF Service Authentication problem?
Posted
by Marcus
on Stack Overflow
See other posts from Stack Overflow
or by Marcus
Published on 2010-06-01T16:49:10Z
Indexed on
2010/06/01
16:53 UTC
Read the original article
Hit count: 797
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
© Stack Overflow or respective owner