Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Catching unhandled exceptions using HttpModules

Reply
Thread Tools

Catching unhandled exceptions using HttpModules

 
 
Amil Hanish
Guest
Posts: n/a
 
      04-12-2006
I am using VS 2005 and .NET 2.0. I am trying to catch exceptions in outside
the context of a page request (i.e. timer or background thread). I am
following the MS instructions at:

http://support.microsoft.com/?id=911816

but I still my handler code doesn't seem to be called no matter what I try.
Everything seems ok...HttpModule is in the GAC and I know it is available;
if I throw an exception in the context of a page request, all is fine and my
handler is called. But, if I throw an exception from a ThreadPool then my
handler is not called and I get a .NET debug dialog box popping up. I've
also tried both debug and release versions of both my HttpModule and the web
app.

Anyone have any ideas or have done this before?

Amil


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
an unhandled win32 exception was unhandled occurred in inetinfo.exe Warren Tang ASP .Net 1 09-23-2008 03:01 PM
Catching Session start in HTTPModules DamienS ASP .Net 4 07-02-2008 01:32 AM
Repost: Catching unhandled exceptions using HttpModules Amil Hanish ASP .Net 0 04-18-2006 03:32 PM
catching an unhandled exception Daniel Java 8 01-24-2005 12:59 PM
Unhandled Exceptions & Framesets terry ASP .Net 5 07-03-2003 04:20 PM



Advertisments