Login :: Register
General Topics
HostedbyMaximumASP170x35
2005 IIS MVPs
Other IIS Sites
  How do I log ASP errors to the Windows NT Error Log? 

How do I log ASP errors to the Windows NT Error Log?

For IIS 4

A registry modification can be used to set ASP to write to the registry.

REGEDIT4

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W3SVC\ASP\Parameters]
"ErrorsToNtLog"=dword:00000001

For IIS 5

This metabase now supports two properties AspErrorsToNTLog which specifies whether IIS scripting errors will be written to the Windows Event Log, and AspLogErrorRequests specifies if unsuccessful client requests should be written to the Windows Event Log file.

More information is available at:

ASPErrorToNTLog
http://msdn.microsoft.com/library/psdk/iisref/apro9zfr.htm

AspLogErrorRequests
http://msdn.microsoft.com/library/psdk/iisref/apro2qur.htm

 This site and its contents are Copyright 1999-2004 by IISFAQ Microsoft Corporation in no way endorses or is affiliated with IISFAQ