2
Good afternoon, I recently got the following error
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 logs: Security.
From what I’ve been researching on the Internet, I found solutions how to run the Visual Studio in Administrator mode, as well as creating a new Key in the path:
Key= HKEY_LOCAL_MACHINE SYSTEM Currentcontrolset services eventlog Application appName
However, my biggest problem is that my application is hosted on Godaddy and the strange thing is that this error has been occurring only for some cases. For example: I try to generate a simple financial report of some edition of my project and get this error above, in some other issues I do not have this error and generates the report as I would like.
Someone has faced this problem and knows how to get around it?
This error does not happen by chance. Are you using any log tool that uses Windows Event Log? If not, some library that you use in your program is doing it. You may have logged in to the eventlog in your application’s config. It gives a search for things like this.
– Loudenvier