Help! UnhandledException stuff dont work! .Net is broken (lol)
.Net Framework 1.1.4322 with all patches
Visual Studio 2003
a VB.Net Web Application
I want to set the unhandled exception page on Page_Load:
Me.ErrorPage = AppSettings("ErrorPage")
Me.Page.ErrorPage = AppSettings("ErrorPage")OR I want to do:
Dim currentDomainAs AppDomain = AppDomain.CurrentDomain
AddHandler currentDomain.UnhandledException,AddressOfMe.objExceptionPublisher.AppExceptionHandler
Well, when I press a button:PrivateSub btnDoSomething_Click(ByVal senderAs System.Object,ByVal eAs System.EventArgs)Handles btnDoSomething.Click
' Do amazing something in amazing new ways!
' Oops - found error!
ThrowNew Exception("Big Problem!")
EndSub
When the exception is thrown - I get the big ugly error in IE, and my errorpage never loads, or my objExceptionPublisher.AppExceptionHandler is never called!
.Net must be busted...or what am I doing wrong?!?!?!?
Thanks for ANY help!

