The HTTP status code in IIS 7.0, IIS 7.5, and IIS 8.0 Options

codeling 1247 - 5334
@2017-09-26 16:17:51

IIS 7 Log fields

#Fields: date time s-sitename s-computername s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) cs(Cookie) cs(Referer) cs-host sc-status sc-substatus sc-win32-status sc-bytes cs-bytes time-taken

for example, the last several fields have values as below:

sc-status sc-substatus sc-win32-status sc-bytes cs-bytes time-taken

404                  0               2      325     2481          0

sc-status - is the major part of the HTTP status code - 404: Not Found

sc-substatus - is the sub status of the HTTP status - 0

sc-win32status - is a Windows system error code - 2

If you're getting non-zero values for sc-win32status you can use:

NET HELPMSG <sc-win32status value>

to find out that that status code maps to. for above exmple, the value is 2, so:

c:>NET HELPMSG 2

The system cannot find the file specified.


codeling 1247 - 5334
@2017-09-28 21:04:45

codeling 1247 - 5334
@2018-07-23 11:20:49

The following table lists the standard HTTP status codes and their uses:

Status Code Description

100               Informational

200               Successful

201               Created

202               Accepted

300               Redirection

304               Not modified

400               Client error

402               Payment required

404               Not found

405               Method not allowed

500               Server error

501               Not implemented

Users browsing this topic
Guest