Microsoft
Software
Hardware
Network
Question : asp.net web application generic exception handler
I was wondering if there is a way to handle Web Application exceptions that arise in a generic way. In this generic exception handler, I would send the exception to myself via email. This would give me a heads up on the problem.
I know that I can set up try {...} catch(Exception ex) {..send email..} blocks, but I'd have to do that about 1000 times.
The reason for my query is that I'm located in Florida, and my client is in Philadelphia and I am about to put a Web Application into QA testing for my Client. The Web Application is hosted by an independent Host Provider, and will be used by about 50+ independent contractors in the Philadelphia / Delaware / New Jersey Metropolitan area.
The client is an asscociation of the contractors that acts as an agent between the contractors and their Union.
Answer : asp.net web application generic exception handler
Here's an article that explains more than you ever wanted to know about how it works and how to implement it. THis was the bible for me:
http://msdn.microsoft.com/
en-us/libr
ary/aa4793
32.aspx
Random Solutions
Accessing an FTP server internally that is on a different subnet.
Need SBS 2008 R2 Premium Media
Reading command line arguments in VB.Net
How do create a Windows batch script to start a service and set to automatic
MS Access 2007 -- Using Like with Left Join
Can't access shared folders and printers in Win 7 Pro in XP Home
Crosstab Query To Excel - Number Format
Preparing a AD to add MAC hardware
LUN unpresented from ESX hosts causing alarms
Block, ban, remove ulrasurf