开发者

ExceptionManagement Error

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜