This property controls whether the Web server writes unsuccessful client requests to the Windows Event Log file. If AspLogErrorRequests is TRUE, a standard set of ASP error requests are logged. For a list of these errors see ASP Error List.
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.
This property is accessible at the following locations:
|Metabase Path||Key Type|
The following table lists additional information required only for code that uses the IIS Admin Base Object.
This table contains a list of ASP errors that will be logged by the Windows Event Log if AspLogErrorRequests is set to TRUE.
|ASP error code||ASP error||Description|
|ASP 0100||Out of memory||Unable to allocate required memory.|
|ASP 0101||Unexpected error||The function returned (exception name).|
|ASP 0102||Expecting string input||The function expects a string as input.|
|ASP 0103||Expecting numeric input||The function expects a number as input.|
|ASP 0104||Operation not Allowed||Operation not allowed.|
|ASP 0105||Index out of range||An array index is out of range.|
|ASP 0106||Type Mismatch||An unhandled data type was encountered.|
|ASP 0107||Stack Overflow||The data being processed is over the allowed limit.|
|ASP 0115||Unexpected error||A trappable error (exception name) occurred in an external object. The script cannot continue running.|
|ASP 0190||Unexpected error||A trappable error occurred while releasing an external object.|
|ASP 0191||Unexpected error||A trappable error occurred in the OnStartPage method of an external object.|
|ASP 0192||Unexpected error||A trappable error occurred in the OnEndPage method of an external object.|
|ASP 0193||OnStartPage Failed||An error occurred in the OnStartPage method of an external object.|
|ASP 0194||OnEndPage Failed||An error occurred in the OnEndPage method of an external object.|
|ASP 0240||Script Engine Exception||A script engine threw exception (exception name) in (object name) from (object name).|
|ASP 0241||CreateObject Exception||The CreateObject of (object name) caused exception (exception name).|
|ASP 0242||Query OnStartPage Interface Exception||Querying object (object name)'s OnStartPage or OnEndPage methods caused exception (exception name).|
© 1997-1999 Microsoft Corporation. All rights reserved.