4

Am Getting Error msg like

The event source ExceptionManagerInternalException does not exist and cannot be created with the current permissions.

Code using in my web.config

<section name="exceptionManagement" type="Microsoft.ApplicationBlocks.ExceptionManagement.ExceptionManagerSectionHandler,Microsoft.ApplicationBlocks.ExceptionManagement"/>
  <exceptionManagement mode="on">
    <publisher assembly="ExceptionManagement" type="Zerone.ExceptionManagement.ExceptionXMLPublisher" exceptionFormat="xml" fileName="c:\ALAE\"/>
  </exceptionManagement>

Thanks

1
  • 1
    Can you post the code that consumes that entry? Commented Aug 2, 2011 at 9:06

1 Answer 1

8

In a DOS window with admin permissions run:

eventcreate /t error /id 1000 /so ExceptionManagerInternalException /l application /d "new src ExceptionManagerInternalException in application log"

eventcreate /t error /id 1000 /so ExceptionManagerPublishedException /l application /d "new src ExceptionManagerPublishedException in application log"

This solve my problem with a client application, but should work in ASP-net

Reference here.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.