IIS Active Directory double handshake hickup

Posted by AngryHacker on Stack Overflow See other posts from Stack Overflow or by AngryHacker
Published on 2009-03-27T00:23:12Z Indexed on 2010/05/06 4:08 UTC
Read the original article Hit count: 210

I have a .net 2.0 click-once application that connects to IIS web services on Windows 2003 R2 64-bits. The IIS is setup with Integrated Windows Authentication.

So whenever a web service call is made to IIS web services, there is a double handshake taking place:

Client Request #1

GetEmployeeList

Server Response #1 <- 401

HTTP/1.1 401 Unauthorized
WWW-Authenticate: Negotiate
WWW-Authenticate: NTLM

Client Request #2

REQUEST Header...

Server Response #2 <- 200

Data Received

Lately, however, Server Response #1 will sometimes (a good 20 percent of the calls) take a massive amount of time (like 25 to 30 seconds).

How do I debug this problem? Is this a Active Directory problem or a Domain Controller problem?

© Stack Overflow or respective owner

Related posts about .net-2.0

Related posts about web-services