SOAP Security Negotiation Error in WCF Duplex service -



SOAP Security Negotiation Error in WCF Duplex service -

i'm working on wcf service duplex communications , having issue getting work anywhere other through localhost on dev machine.

no matter do, comes next error:

{"security back upwards provider interface (sspi) authentication failed. server may not running in business relationship identity 'host/crpnyciis20e'. if server running in service business relationship (network service example), specify account's serviceprincipalname identity in endpointaddress server. if server running in user account, specify account's userprincipalname identity in endpointaddress server."}

my service web.config follows:

<?xml version="1.0"?> <configuration> <system.web> <compilation debug="true" targetframework="4.0" /> </system.web> <system.servicemodel> <protocolmapping> <add scheme="http" binding="wsdualhttpbinding"/> </protocolmapping> <behaviors> <servicebehaviors> <behavior> <servicemetadata httpgetenabled="true"/> <servicedebug includeexceptiondetailinfaults="true"/> </behavior> </servicebehaviors> </behaviors> <servicehostingenvironment multiplesitebindingsenabled="true" /> </system.servicemodel> <system.webserver> <modules runallmanagedmodulesforallrequests="true"/> </system.webserver> </configuration>

and client's app.config:

<?xml version="1.0" encoding="utf-8" ?> <configuration> <system.servicemodel> <bindings> <wsdualhttpbinding> <binding name="wsdualhttpbinding_imessagingservice" closetimeout="00:01:00" opentimeout="00:01:00" receivetimeout="00:10:00" sendtimeout="00:01:00" bypassproxyonlocal="false" transactionflow="false" hostnamecomparisonmode="strongwildcard" maxbufferpoolsize="524288" maxreceivedmessagesize="65536" messageencoding="text" textencoding="utf-8" usedefaultwebproxy="true"> <readerquotas maxdepth="32" maxstringcontentlength="8192" maxarraylength="16384" maxbytesperread="4096" maxnametablecharcount="16384" /> <reliablesession ordered="true" inactivitytimeout="00:10:00" /> <security mode="message"> <message clientcredentialtype="windows" negotiateservicecredential="true" algorithmsuite="default" /> </security> </binding> </wsdualhttpbinding> </bindings> <client> <endpoint binding="wsdualhttpbinding" bindingconfiguration="wsdualhttpbinding_imessagingservice" contract="ctmessagingservicereference.imessagingservice" name="wsdualhttpbinding_imessagingservice"> <identity> <userprincipalname value="nbdfp2k" /> </identity> </endpoint> </client> </system.servicemodel> </configuration>

any ideas around issue? if there other code helpful in diagnosing, allow me know... none of rest of has connection config, know of.

not sure if prepare issue, missing address in client endpoint , clientbaseaddress in binding configuration(it should differ endpoint address).

wcf service duplex

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

c# - Can ProtoBuf-Net deserialize to a flat class? -

javascript - Change element in each JQuery tab to dynamically generated colors -