|Subject:||KerberosToken constructor gives error - Kerberos credential handle could not be|
|Date:||Sun, 03 Jun 2007|
I am tryin to work with Web Service Enhancement 2.0 to use Kerberos
token. I have Windows XP SP2 installed on my m/c which is connected in
an Active Directory Domain.
When I try to execute the following code :
KerberosToken kerbToken = new KerberosToken( "host/" + "ps4442" + "@"
I get this error -
"An unhandled exception of type 'System.Security.SecurityException'
occurred in microsoft.web.services2.dll
Additional information: The Kerberos credential handle could not be
acquired. The AcquireCredentialsHandle call returned the following
error code: The parameter is incorrect."
What can I do to avoid getting this error? I am not understanding at
all. I also tried investigating AcquireCredentialsHandle, but couldn't
understand what is going wrong.
What should I do? Can anybody help?