I have a client that runs a classic asp site on IIS7. To see any errors on the classic asp pages, I changed the IIS7 error pages with errors 500 and 500.100 to a special classic asp page that detects the last error and then correctly writes it to the future (pretty much what Elmah does for asp .net). What we see in IIS7 is a random error message on the page of the exception logging asp page itself. And it seems for 500 errors; It seems that 500.100 errors are logged without problems.
So, two questions:
- How can I cause a regular old 500 (not 500.100) error on this website to test the classic asp logging page exception?
- Is there a better way to exclude capture and log from classic asp pages in IIS7?
asp-classic
Jeff widmer
source share