What does each sc-win32-status code indicate?

Souvik Basu picture Souvik Basu · Sep 29, 2011 · Viewed 26.1k times · Source

In my IIS log I see many instances of sc-bytes=0.

The time-taken for these entries are generally higher than average. I can see various values of sc-win32-status like 64, 22, 121, 1236 etc. Most of them have sc-status 200. Few have sc-win32-status 400.

Now I want to analyse each situation to figure out what happened in IIS. But this MSDN site gave only the error name and not a detail about when they can occur. I found a good article here which gave a good scenario description for sc-win32-status = 64 and sc-status = 200 with high time-taken.

I wanted a similar explanation for all sc-win32-status. Is there any site which gives details about scenario for sc-win32-status codes?

Else can anybody explain when do we get following values for sc-win32-status: 64, 22, 121, 1236.

Answer

TheBoyan picture TheBoyan · Jan 18, 2012

The IIS Server status codes that you find in the logs are informational and are intended to provide what went wrong in certain requests/responses not why. So when you see an error code like 1326 that simply means that the username and password are not correct etc.

If you want to dig deeper and see why something happens in the background, tools like Debug Diagnostic Tool and Debugging Tools for Windows can help you out to perform analysis.