Consider using built-in ASP.NET health monitoring to monitor your website. Especially if you are not monitoring it at all yet. ASP.NET health monitoring contains ready-to-use Web health-monitoring events classes (Web events) and health-monitoring providers (listeners). For example, you can easily configure it to send an email any time an error is detected.
This is another one of those great features of ASP.Net you don't hear much about. I've written a quick primer on how to use health monitoring at http://blueonionsoftware.com/Blog.aspx?p=51a58047-dd12-4797-b255-f7eb6fb6dbb8
Mike 5/10/2008 3:47:16 PM
Great Concept! This post falls short when you simply want to test the exception handling process. Every hyperlink above is super-generic and following them results in hundreds of emails and nothing specific to the Unhandled Exceptions mentioned in the title. If you want to attempt the mentioned situation above, prepare to do a lot of leg-work on your own. (i gave up after an hour)
crappy post 5/15/2008 6:00:28 PM
Follow the last link if you want to configure Health Monitoring to send an email when an unhandled exception occurs. Actually, Mike's link is even better. For me it took less than hour to do this configuration for this site. I'll be glad to help you with this.
kostya.ly 5/15/2008 8:40:07 PM
Link changed: http://msdn.microsoft.com/en-us/library/ms178703(VS.85).aspx
James Skemp 11/21/2008 6:30:38 PM