Results 1 to 3 of 3

Thread: using "Exception managment" block

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Oct 2003
    Posts
    436

    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>

  2. #2
    PowerPoster hellswraith's Avatar
    Join Date
    Jul 2002
    Location
    Washington St.
    Posts
    2,464
    You may want to check the capitalization.

    I know xml files are really picky about that.

    Try Off

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Oct 2003
    Posts
    436

    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
  •  



Click Here to Expand Forum to Full Width