All,

Does anyone know where I could find the descriptions of values found in the
sc-win32-status field of the IIS log file? You would think that I could
search the help or technical docs for "sc-win32-status" and the non-zero
value from the log file, and find my answer. But no, that would be too
easy!

Seriously, does such a table or reference exist? If so, could some kind
soul provide a link to it?

Keith

Re: Description of sc-win32-status values by David

David
Fri Jul 16 04:41:03 CDT 2004

I see no reason why documentation for "sc-win32-status" should ever tell you
what all the Win32 error codes mean. They are just values passed from other
Windows components -- not IIS specific -- so there is no way IIS
documentation should contain it. Those values are all documented elsewhere
and can be easily looked up. I honestly would never produce a table or
webpage for it because it'll go out of date. Best authoritative source is
to look at winerror.h inside the latest Platform SDK.

First, you need to realize that there are two sorts of values returned -- an
HRESULT (0x8#######) or NT Error code (low digit numbers, like 2, 5, 1322)

Then, you need to realize that the HRESULT frequently can be interpreted by
stripping off the top 16 bits -- i.e. 0x80070005 happens to mean the same
thing as NT Error Code 5 -- ERROR_ACCESS_DENIED. The top 16 bits of an
HRESULT have specific format and meaning (you can look up documentation on
how this is organized as well).


If you call the Win32 FormatMessage API, it would decipher the Win32 error
codes into string. In fact, Visual Studio as well as Platform SDK comes
with tools (even GUI ones) that do exactly thing, and it's also pretty
trivial to write one yourself.

NET HELPMSG <id> also works for the NT error codes (not the 0x8#######
ones).

NET HELPMSG 5

Access is denied.


--
//David
IIS
This posting is provided "AS IS" with no warranties, and confers no rights.
//
"keith" <keith@alh.com> wrote in message
news:eT4IjiraEHA.2340@TK2MSFTNGP09.phx.gbl...
All,

Does anyone know where I could find the descriptions of values found in the
sc-win32-status field of the IIS log file? You would think that I could
search the help or technical docs for "sc-win32-status" and the non-zero
value from the log file, and find my answer. But no, that would be too
easy!

Seriously, does such a table or reference exist? If so, could some kind
soul provide a link to it?

Keith




Re: Description of sc-win32-status values by John

John
Sat Jul 17 13:20:42 CDT 2004

On Thu, 15 Jul 2004 15:11:07 -0700, keith wrote:
>=A0All,
>
>
>=A0Does anyone know where I could find the descriptions of values
>=A0found in the sc-win32-status field of the IIS log file? =A0You would
>=A0think that I could search the help or technical docs for "sc-win32-
>=A0status" and the non-zero value from the log file, and find my
>=A0answer. =A0But no, that would be too easy!
>
>=A0Seriously, does such a table or reference exist? =A0If so, could some
>=A0kind soul provide a link to it?
>
>=A0Keith

Try search engine or analog.cx they may have some information over there.=
Get on their list and ask them.

John Cesta

---------------------------------
The CPU Checker - Maximize Server Uptime
LogFileManager - The only IIS Logfile Management Tool
DomainReportIt PRO - Helps Convert IIS Installs
http://www.serverautomationtools.com