Wednesday, June 21, 2006

Re: [itsdifferent] Enterprise Library Exception Handling Block

Thank You very much
Arvind Srivastava

Deepak Jain <> wrote:
Steps as follows:-
1. Copy dll of exception to the project  bin directory .
2. Change config setting as add exceptionManagement  section..
<section name="exceptionManagement" type="Microsoft.ApplicationBlocks.ExceptionManagement.ExceptionManagerSectionHandler,Microsoft.ApplicationBlocks.ExceptionManagement" />
<exceptionManagement mode="on">
<publisher mode="on" assembly="Microsoft.ApplicationBlocks.ExceptionManagement" type="Microsoft.ApplicationBlocks.ExceptionManagement.DefaultPublisher" logName="POMD Log" applicationName="POMD" />
<publisher mode="on" assembly="POMD" type="POMD.CustomPublisher" />
3. Now at last in the page you can use as ..
catch ( obj as exception)
end try

it will log exception in the event log.
Deppak Jain

dipesh parekh <> wrote:
Is any one know how to use Enterprise Library Exception Handling Block   (Framework 2.0) in Web application?
Please let me know all step to config as well as the global.asx  code.

Contact Me :
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around

Deepak Jain
Microsoft Certified Solution Developer(.Net)
Microsoft Certified Application Developer(.Net)
Microsoft Certified Professional
(ASP.Net,, XML Web Services,SQL Server , Architecture Designing)
Billjunction Payment LTD (ICICI Network Company)
Mo. 09869540525

Yahoo! India Answers: Share what you know. Learn something new Click here


Arvind Srivastava
WB-75, Shakarpur Delhi-92
Mobile No:-9313724692

Yahoo! India Answers: Share what you know. Learn something new Click here

Note: This Group is not a Job Searching Group, so please co-operate and dont transfer any kind of job related material across this Group.AnyOne doing so can be banned from the Group
Thanx , Group Co-Ordinators


No comments: