logo       

web.config - custom excption handling.: msg#00091

windows.devel.dotnet.web

Subject: web.config - custom excption handling.

In vb.net I add the following to my app.config file, and my custom
exception handling works like a charm...using the custom handler I wrote
called DBExceptions.
========
<configSections>
<section name="exceptionManagement"

type="Microsoft.ApplicationBlocks.ExceptionManagement.ExceptionManagerSectionHandler,
Microsoft.ApplicationBlocks.ExceptionManagement" />
</configSections>

<exceptionManagement>
<publisher mode="on" assembly="DBExceptions"
type="DBExceptions.DBExceptionPublisher" />
</exceptionManagement>
========

I want my asp.net pages to use this same custom handler, rather than
the eventlog, but the web.config file won't have anything to do with the
above settings.

I'm sorry I'm such an idiot, but if anyone would advise anyway, I'd be
appreciative.

Thanks a bunch.

===================================
This list is hosted by DevelopMentor® http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise