c# - "An unsecured or incorrectly secured fault was received from the other party" -
i'm getting:
"an unsecured or incorrectly secured fault received other party. see inner fault exception fault code , detail."
i've done on client side , i've done same in console application, error came may conflict.
i've checked app.config
well.
code is:
<client> <endpoint address="net.tcp://localhost:5054/player" binding="nettcpbinding" bindingconfiguration="nettcpbinding_iplayerservice" contract="playerservice.iplayerservice" name="nettcpbinding_iplayerservice"> <identity> <dns value="pident.cloudapp.net"/> </identity> </endpoint> <endpoint address="net.tcp://localhost:5049/public" binding="nettcpbinding" bindingconfiguration="nettcpbinding_ipublicservice" contract="public service.ipublicservice" name="nettcpbinding_ipublicservice"/> <endpoint address="net.tcp://localhost:5051/user" binding="nettcpbinding" bindingconfiguration="nettcpbinding_iuserservice" contract="user service.iuserservice" name="nettcpbinding_iuserservice"> <identity> <dns value="pident.cloudapp.net"/> </identity> </endpoint>
does have idea?
i had issue , had turn off security context on wcf bindings. need turn them off on bindings in both client , service.
here's config file if wcf iis-hosted:
<ws2007federationhttpbinding> <binding> <security mode="transportwithmessagecredential"> <message establishsecuritycontext="false" /> </security> </binding> </ws2007federationhttpbinding>
Comments
Post a Comment