문제

My ASP.NET APP cannot write into the Windows event log.

I get:

{System.UnauthorizedAccessException}
[System.UnauthorizedAccessException]: {System.UnauthorizedAccessException}
HelpLink: Nothing
InnerException: Nothing
Message: "The source was not found, but some or all event logs could not be 
searched.  Inaccessible logs: Security."

Idea?

도움이 되었습니까?

해결책

You have to see what identity your application is running as. It won't necessarily have permissions to write into the event log.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top