开发者

ExceptionManagement Error

开发者 https://www.devze.com 2023-03-25 18:56 出处:网络
Am Getting Error msg like The event source ExceptionManagerInternalException does not exist and cannot be created with the current permissions.

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


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消