![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
| |
| | #1 (permalink) |
| | WCF example on 2 machines Hi , all! When I tried to run SelfHosted WCF example on different machines ( that work great on the same machine ) I receive next for wsHttpBinding ( for basicHttpBinding that work as a charm ) even with all settings from http://windowssdk.msdn.microsoft.com...0221260113.asp Unhandled Exception: System.ServiceModel.Security.SecurityNegotiationException: Soap security negotiation to 'http://arkady-xp.domain:8000/servicemo delsamples/service' failed. Please see inner exception for more details. ---> Sy stem.ComponentModel.Win32Exception: The logon attempt failed at System.ServiceModel.Security.WindowsSspiNegotiation.GetOutgoingBlob(Byte[] incomingBlob) at System.ServiceModel.Security.SspiNegotiationTokenProvider.GetNextOutgoingM essageBody(Message incomingMessage, SspiNegotiationTokenProviderState sspiState) at System.ServiceModel.Security.IssuanceTokenProviderBase`1.GetNextOutgoingMe ssage(Message incomingMessage, T negotiationState) at System.ServiceModel.Security.IssuanceTokenProviderBase`1.DoNegotiation(Tim eSpan timeout) --- End of inner exception stack trace --- Server stack trace: at System.ServiceModel.Security.IssuanceTokenProviderBase`1.DoNegotiation(Tim eSpan timeout) at System.ServiceModel.Security.IssuanceTokenProviderBase`1.GetTokenCore(Time Span timeout) at System.IdentityModel.Selectors.SecurityTokenProvider.GetToken(TimeSpan tim eout) Any comments ? TIA Arkady |
My System Specs![]() |
| | #2 (permalink) |
| | Re: WCF example on 2 machines Additionally : When I changed client and server machines : the next text on client appear Unhandled Exception: System.ServiceModel.Security.SecurityNegotiationException: Soap security negotiation to 'http://arkadixp.rokonet_tree.local:8000/servicemod elsamples/service' failed. Please see inner exception for more details. ---> Sys tem.ComponentModel.Win32Exception: SSPI authentication failed. This may be becau se the server is not running in an account with identity 'host/arkadixp.domain'. If the server is running in a service account (Network Service for example), please consider specifying the account's ServicePrincipalName (SPN) as the identity in the EndpointAddress for the server. If the server is running in a user account, please consider specifying the account's UserPrincipalName (UPN ) as the identity in the EndpointAddress for the server. at System.ServiceModel.Security.WindowsSspiNegotiation.GetOutgoingBlob(Byte[] incomingBlob) ..... TIA Arkady "Arkady Frenkel" <arkadyf@hotmailxdotx.com> wrote in message news:OBjR9PwjGHA.412@TK2MSFTNGP05.phx.gbl... > Hi , all! > > When I tried to run SelfHosted WCF example on different machines ( that > work great on the same machine ) I receive next for wsHttpBinding > ( for basicHttpBinding that work as a charm ) even with all settings from > http://windowssdk.msdn.microsoft.com...0221260113.asp > > > Unhandled Exception: > System.ServiceModel.Security.SecurityNegotiationException: > Soap security negotiation to 'http://arkady-xp.domain:8000/servicemo > delsamples/service' failed. Please see inner exception for more > details. ---> Sy > stem.ComponentModel.Win32Exception: The logon attempt failed > at > System.ServiceModel.Security.WindowsSspiNegotiation.GetOutgoingBlob(Byte[] > incomingBlob) > at > System.ServiceModel.Security.SspiNegotiationTokenProvider.GetNextOutgoingM > essageBody(Message incomingMessage, SspiNegotiationTokenProviderState > sspiState) > > at > System.ServiceModel.Security.IssuanceTokenProviderBase`1.GetNextOutgoingMe > ssage(Message incomingMessage, T negotiationState) > at > System.ServiceModel.Security.IssuanceTokenProviderBase`1.DoNegotiation(Tim > eSpan timeout) > --- End of inner exception stack trace --- > > Server stack trace: > at > System.ServiceModel.Security.IssuanceTokenProviderBase`1.DoNegotiation(Tim > eSpan timeout) > at > System.ServiceModel.Security.IssuanceTokenProviderBase`1.GetTokenCore(Time > Span timeout) > at > System.IdentityModel.Selectors.SecurityTokenProvider.GetToken(TimeSpan tim > eout) > > Any comments ? > TIA > Arkady > > |
My System Specs![]() |
| | #3 (permalink) |
| | Re: WCF example on 2 machines Solved : <identity><servicePrincipalName /></identity> on client config did it. Strange that<userPrincipalName /> didn't help nevertheless I run service as consonle app and not as win service Arkady "Arkady Frenkel" <arkadyf@hotmailxdotx.com> wrote in message news:uKFvoo4jGHA.4776@TK2MSFTNGP05.phx.gbl... > Additionally : > When I changed client and server machines : the next text on client appear > Unhandled Exception: > System.ServiceModel.Security.SecurityNegotiationException: > Soap security negotiation to > 'http://arkadixp.rokonet_tree.local:8000/servicemod > elsamples/service' failed. Please see inner exception for more > details. ---> Sys > tem.ComponentModel.Win32Exception: SSPI authentication failed. This may be > becau > se the server is not running in an account with identity > 'host/arkadixp.domain'. If the server is running in a service account > (Network Service for > example), please consider specifying the account's ServicePrincipalName > (SPN) as > the identity in the EndpointAddress for the server. If the server is > running in > a user account, please consider specifying the account's UserPrincipalName > (UPN > ) as the identity in the EndpointAddress for the server. > at > System.ServiceModel.Security.WindowsSspiNegotiation.GetOutgoingBlob(Byte[] > incomingBlob) > > .... > TIA > Arkady > > "Arkady Frenkel" <arkadyf@hotmailxdotx.com> wrote in message > news:OBjR9PwjGHA.412@TK2MSFTNGP05.phx.gbl... >> Hi , all! >> >> When I tried to run SelfHosted WCF example on different machines ( that >> work great on the same machine ) I receive next for wsHttpBinding >> ( for basicHttpBinding that work as a charm ) even with all settings from >> http://windowssdk.msdn.microsoft.com...0221260113.asp >> >> >> Unhandled Exception: >> System.ServiceModel.Security.SecurityNegotiationException: >> Soap security negotiation to 'http://arkady-xp.domain:8000/servicemo >> delsamples/service' failed. Please see inner exception for more >> details. ---> Sy >> stem.ComponentModel.Win32Exception: The logon attempt failed >> at >> System.ServiceModel.Security.WindowsSspiNegotiation.GetOutgoingBlob(Byte[] >> incomingBlob) >> at >> System.ServiceModel.Security.SspiNegotiationTokenProvider.GetNextOutgoingM >> essageBody(Message incomingMessage, SspiNegotiationTokenProviderState >> sspiState) >> >> at >> System.ServiceModel.Security.IssuanceTokenProviderBase`1.GetNextOutgoingMe >> ssage(Message incomingMessage, T negotiationState) >> at >> System.ServiceModel.Security.IssuanceTokenProviderBase`1.DoNegotiation(Tim >> eSpan timeout) >> --- End of inner exception stack trace --- >> >> Server stack trace: >> at >> System.ServiceModel.Security.IssuanceTokenProviderBase`1.DoNegotiation(Tim >> eSpan timeout) >> at >> System.ServiceModel.Security.IssuanceTokenProviderBase`1.GetTokenCore(Time >> Span timeout) >> at >> System.IdentityModel.Selectors.SecurityTokenProvider.GetToken(TimeSpan >> tim >> eout) >> >> Any comments ? >> TIA >> Arkady >> >> > > |
My System Specs![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| using a VM on 2 different machines | Virtual PC | |||
| a tip for virtual machines | Vista General | |||
| I can see my XP machines, and my XP machines can see my Vista Mach | Vista networking & sharing | |||
| Why doesn't Vista see other machines? | Vista networking & sharing | |||