Could be this one.
https://stackoverflow.com/questions/9564420/the-source-was-not-found-but-some-or-all-event-logs-could-not-be-searched
--please don't forget to upvote
and Accept as answer
if the reply is helpful--
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
A windows server2019 VM running IIS as Web Server, it has been working for months,
Recently, below Application Error log generated frequently on Windows Event Log Viewer.
"Unable to log .NET application events. The source was not found, but some or all event logs could not be searched. To create the source. you need permission to read all event logs to make sure that the new source name is unique. Inaccessible log: Security, State"
Windows Log: Application
Event ID: 0
Source: Applicaiton
Could be this one.
https://stackoverflow.com/questions/9564420/the-source-was-not-found-but-some-or-all-event-logs-could-not-be-searched
--please don't forget to upvote
and Accept as answer
if the reply is helpful--