Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ExceptionManagement Error

Tags:

c#

.net

asp.net

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

like image 720
shijuse Avatar asked Oct 23 '25 23:10

shijuse


1 Answers

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.

like image 131
Ribeiro Santos Avatar answered Oct 26 '25 13:10

Ribeiro Santos



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!