Multiple exceptions reported


Author
Message
Bill Cunnien
Bill Cunnien
StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)
Group: Forum Members
Posts: 785, Visits: 3.6K
A user tried to save a record with a date that was out of range of the expected date.  Naturally, this threw an exception which was unhandled by the form.  So, it bubbles up to my UnhandledExceptionFound method of program.cs.  My method simply sends an email to my HelpDesk system so that I can begin working on the resolution.  The exception went Lawrence Welk on me.  The problem is that I get four (4) notifications for the exact same exception. 

Why do I get so many exception reports for one exception?

Thanks,
Bill

Replies
Trent Taylor
Trent Taylor
StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 7K
There is really no way for me to diagnose this over the forum like this.  In the two stack traces that you provided, you have two errors.  One from the BO and another straight from the DAL on the SQL side.  If you want to know where this is coming from, put a break point at the top of your unhandled exception code, and then look at tha Call Stack when you get there.  This will at least clue you in as to why you are getting here more than once.  It appears that there are 4 exceptions being raised...if you look at the Call Stack then you might be clued in as to why you are ending up here 4 times.
Bill Cunnien
Bill Cunnien
StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)
Group: Forum Members
Posts: 785, Visits: 3.6K
Unfortunately, I cannot reproduce the error in order to watch the code.  This originated from a user who has not been able to supply me with any additional information.  This is not the only repeated unhandled exception that occurs, though.  Several others have done this, too (all fixed at this point).  When I run into one, again, I will reproduce, set a breakpoint and watch the method for any key info.

Thanks,
Bill

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search