Custom 500 error page - trapping the error text? 
Author Message
 Custom 500 error page - trapping the error text?

I would like to be emailed whenever our site generates a 500 error. Can this
be done using a custom 500 error page in IIS?

The problem is I don't know how to actually capture the text of the
error message, i.e. the error text that is written into the log file.
Can this be captured using one of the server or session objects, which
I could then flow into an email template?

Any alternate solutions are equally welcome...

Thanks,
John



Mon, 19 Apr 2004 10:42:42 GMT  
 Custom 500 error page - trapping the error text?
Hello!

I am afraid you will have to read from the error log.

--
Intermedia.NET (APP)
Microsoft Certified Solutions Provider
Providing expertise in hosting applications
More Tips at:  http://www.intermedia.net/support/kb/
Windows 2000 Web Hosting:  http://www.intermedia.net/
For a waiver of the set up fee use "IMFREE" code


Quote:
> I would like to be emailed whenever our site generates a 500 error. Can
this
> be done using a custom 500 error page in IIS?

> The problem is I don't know how to actually capture the text of the
> error message, i.e. the error text that is written into the log file.
> Can this be captured using one of the server or session objects, which
> I could then flow into an email template?

> Any alternate solutions are equally welcome...

> Thanks,
> John



Mon, 19 Apr 2004 18:03:01 GMT  
 Custom 500 error page - trapping the error text?
If you're using IIS 5, then have a bash at this:

http://support.microsoft.com/support/kb/articles/Q224/0/70.asp

Looks like you'd just need to add in the emailing part which'd be simple
enough.


Quote:
> I would like to be emailed whenever our site generates a 500 error. Can
this
> be done using a custom 500 error page in IIS?

> The problem is I don't know how to actually capture the text of the
> error message, i.e. the error text that is written into the log file.
> Can this be captured using one of the server or session objects, which
> I could then flow into an email template?

> Any alternate solutions are equally welcome...

> Thanks,
> John



Mon, 19 Apr 2004 19:37:19 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Vb .net redirect to a http 500 error page

2. 500 Error When Exporting To Text File

3. 500 error instead of VBScript error

4. Posting data via WebClient gives error 500

5. Error on printing on HP 500

6. HTTP 500 Internal Server Error

7. 500 Syntax error, command unrecognized

8. What does 500 Server Error mean?

9. 500 Server Error

10. HTTP 500 Internal server error

11. HTTP 500 Internal server error

12. ASP http 500 error / Frames / Please Help

 

 
Powered by phpBB® Forum Software