This metabase property specifies whether IIS scripting errors will be written to the Windows Event Log.
The IIsWebService setting for this property is applicable to all in-process application nodes, at all levels. Metabase settings at the IIsWebServer level or lower will be ignored for in-process applications unless that IIsWebServer node is isolated as an out-of-process application.
If AspLogErrorRequests is TRUE and AspErrorsToNTLog is FALSE, then the ASP errors will be sent to the IIS log. If these errors are serious or logging to IIS log previously failed, then each error will also be sent to the Windows Event Log.
If AspLogErrorRequests is FALSE, then these errors will only be sent to the IIS Log, and not to the Windows Event Log.
If AspLogErrorRequests is TRUE and AspErrorsToNTLog is TRUE, then all ASP related errors will go to the Windows Event Log and the IIS log.
Note To completely prevent ASP errors from being logged in the IIS log file, you must disable logging altogether. To accomplish this see the DontLog and LogType properties.
Data type | Boolean |
Default value | FALSE |
Inheritance | Inheritable |
This property is accessible at the following locations:
Metabase Path | Key Type |
/LM/W3SVC | IIsWebService |
/LM/W3SVC/N | IIsWebServer |
/LM/W3SVC/N/ROOT | IIsWebVirtualDir |
/LM/W3SVC/N/ROOT/WebVirtualDir | IIsWebVirtualDir |
/LM/W3SVC/N/ROOT/WebVirtualDir/WebDirectory | IIsWebDirectory |
The following table lists additional information required only for code that uses the IIS Admin Base Object.
Metabase identifier | MD_ASP_ERRORSTONTLOG |
Data type | DWORD_METADATA |
User type | ASP_MD_UT_APP |