|
-
Jan 2nd, 2004, 02:46 PM
#1
Thread Starter
Hyperactive Member
using "Exception managment" block
I am writing a simple code using exception management block.In the documentation it says in the app config file you can set the if the exception mangement block to be turned "on" or "off".
so I incorporated the changes as shown below to the app.config file (in my solution named "WindowsApplication1"). though i set it to "off", the exception managment block gets invoked.
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configsections>
<section name="exceptionmanagement" type="microsoft.applicationblocks.exceptionmanagement.exceptionmanagersectionhandler, microsoft.applicationblocks.exceptionmanagement" />
</configsections>
<exceptionManagement mode="off" >
<publisher assembly="Microsoft.Applicationblocks.ExceptionManagement" type="Microsoft.ApplicationBlocks.ExceptionManagement.DefaultPublisher" logname="MycustomLog" applicationname="My EMABTest App" />
</exceptionManagement>
</configuration>
-
Jan 2nd, 2004, 05:43 PM
#2
PowerPoster
You may want to check the capitalization.
I know xml files are really picky about that.
Try Off
-
Jan 2nd, 2004, 05:51 PM
#3
Thread Starter
Hyperactive Member
thanks HW
it works.. I made stupid spelling mistake.
nath
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|