Classic ASP always returned status 500.100
if there is a script error. This was a very long time in previous versions of IIS, and the behavior has not changed.
If you want to catch Classic ASP script errors and be able to read the Server.GetLastError()
object on your user errors page (say, for logging), you need to provide a handler specifically for 500.100
.
If you do not specify a custom error 500.100
, then IIS will return to your own page (or its own) 500
, but Server.GetLastError()
will not provide any useful error information.
source share