Description for event id from source cannot be found

后端 未结 11 601
[愿得一人]
[愿得一人] 2020-11-29 01:55

When I write a log into windows event log, I get the event below, what\'s the root cause of this message, and how can I fix it? Many Thanks

The descri

11条回答
  •  [愿得一人]
    2020-11-29 02:23

    Use PowerShell to create your event log and source:

    New-EventLog -LogName MyApplicationLog `
        -Source MySource `
        -MessageResourceFile C:\windows\Microsoft.NET\Framework\v4.0.30319\EventLogMessages.dll
    

    You'll need the messages dll to avoid the problem you are seeing.

提交回复
热议问题