SecurityNegotiationException occured for some users

Jul 24, 2008 at 10:43 AM
Edited Jul 24, 2008 at 10:45 AM
We had deployed several WCF services in .Net 3.0 and they are working fine.

But for sometimes, some users are getting SecurityNegotiation exception. When they close the browser and open the new session , the same is working fine.
What could be reason for this intermittent behaviour ? What could be the solution for this?

Exeption Details:

  System.ServiceModel.Security.SecurityNegotiationException, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089  Message : The caller was not authenticated by the service.  Source : mscorlib  Help link :   Data : System.Collections.ListDictionaryInternal  TargetSite : Void HandleReturnMessage(System.Runtime.Remoting.Messaging.IMessage, System.Runtime.Remoting.Messaging.IMessage)  Stack Trace :   Server stack trace:      at System.ServiceModel.Security.IssuanceTokenProviderBase`1.DoNegotiation(TimeSpan timeout)     at System.ServiceModel.Security.SspiNegotiationTokenProvider.OnOpen(TimeSpan timeout)     at System.ServiceModel.Security.WrapperSecurityCommunicationObject.OnOpen(TimeSpan timeout)     at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)     at

Inner Exception:

  Inner Exception   ---------------   Type : System.ServiceModel.FaultException, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089   Message : The request for security token could not be satisfied because authentication failed.   Source : System.ServiceModel   Help link :    Action : http://www.w3.org/2005/08/addressing/soap/fault   Code : System.ServiceModel.FaultCode   Reason : The request for security token could not be satisfied because authentication failed.   Data : System.Collections.ListDictionaryInternal   TargetSite : Void ThrowIfNegotiationFault(System.ServiceModel.Channels.Message, System.ServiceModel.EndpointAddress)   Stack Trace :    at System.ServiceModel.Security.SecurityUtils.ThrowIfNegotiationFault(Message message, EndpointAddress target)      at System.ServiceModel.Security.SspiNegotiationTokenProvider.GetNextOutgoingMessageBody(Message incomingMessage, SspiNegotiationTokenProviderState sspiState)      Category: ErrorLogger  Priority: 200  EventId: 100  Severity: Error