Search

Sunday, February 11, 2007

Latest adventure with IIS 6.0

Here's another good gotcha with that I discovered with IIS 6.0 recently.  We had a process that was hitting our webservices IIS boxes pretty intensely, and we noticed that on one of the nodes in the load balanced cluster we would get 401 errors.  When I looked at the logs I noticed that a "typical" request for the service would follow this pattern:

  1. request -> response 401.5
  2. request -> response 401.1
  3. request (with credentials) - response 200 0

On the "bad" box, I would see just step 2 in the pattern, and nothing else, until later on when things would go back to normal.  Very strange.  Microsoft took a look at the logs and then at the metabases from the two webservers and noticed that the "bad" box was using "NTLM, Negotiate" for authentication, the "good" box was using "Negotiate, NTLM" (the default).  So we switched the bad box to "Negotiate, NTLM" and viola, no more 401 errors!

Here are the links to the support docs:

How to configure IIS to support both the Kerberos protocol and the NTLM protocol for network authentication

http://support.microsoft.com/kb/215383/en-us

How to troubleshoot Kerberos-related issues in IIS

http://support.microsoft.com/kb/326985/en-us

IIS May Return HTTP Status 401 Every 30 Days When You Use Kerberos Authentication

http://support.microsoft.com/kb/318225/en-us

Kerberos authentication and troubleshooting delegation issues

http://support.microsoft.com/kb/907272/en-us

Thursday, January 25, 2007

Latest challenge with IIS & Windows Server 2003 SP1

This one is a good one... Need to make sure I remember this.

http://support.microsoft.com/?kbid=896861

You receive error 401.1 when you browse a Web site that uses Integrated Authentication and is hosted on IIS 5.1 or IIS 6

Sunday, November 12, 2006

Cool releases from Microsoft

If you haven't checked it out yet, take a look at the 3D views at http://local.live.com/. It's really impressive. I loved bringing up seattle and zooming around to all the different mountain peaks.
Also, check what they've done over at http://labs.live.com/photosynth/. Really cool stuff.

For all the latest MS stuff check out a new site they threw out there (3 developers in 5 weeks!) http://www.on10.net. I read somewhere that they are going to migrate http://channel9.msdn.com to the same platform they developed for On10.

That's it for now...
-pt

Tuesday, October 24, 2006

Adobe Flex 2.0

I'm working with the latest Adobe Flex product today. Looks pretty cool... Here's a link to the product: http://www.adobe.com/products/flex/

And here's a tutorial from JDJ:
http://java.sys-con.com/read/210991.htm

Friday, October 13, 2006

Another innovation at Google

If you haven't checked it out, go check out the new Google docs and spreadsheets.  Pretty cool stuff.

Wednesday, September 20, 2006

IADsLargeInteger and conversion errors

If you're working with the IADSLargeInteger to set accountExpires or any other date field in AD, you'll want to know about this bug with the IADsLargeInteger object.
The problem is with the conversion from long to int, if the lowPart is negative, you need to add 1 to the highPart. Otherwise there's a 7 minute, 9.5 second difference with the datetime.

Check here for a detailed explanation:
http://www.rlmueller.net/Integer8Attributes.htm

-pt