Scenario
We have a windows XP Client which is calling a .net 2 Web Service which uses WSE 2.0 SP3 on a remote Windows 2003 Server. When we make the call we get the following error message:
"System.ApplicationException: InitializeSecurityContext call failed with the following error message: A specified logon session does not exist. It may already have been terminated."
We only get this message when calling our web service from a client running Windows XP Service Pack 2.
Symptoms
- You will get the following message in the event log.
The Security System could not establish a secured connection with the server ldap/<DomainController>.<Domain>/<Domain>. No authentication protocol was available.
- When a windows 2003 client is used to make the same call it works fine.
- We had other projects doing the same thing which were working okay. These other projects were using the same build of XP Client
Work Around
There is a workaround to this problem, when you log off and back on everything starts working again.
Solution
The following article describes more on this problem, there is also a hot fix which has been used by some of our developers. This seems to have stopped their problem.
http://support.microsoft.com/kb/885887