1

I am trying to run an application of Bizagi platform called Personal Loans Request. Everything goes fine until at one point when I click on a "Next" button it shows me this error: Unable to process the case: 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

I have done researches all the day. All this researches lead to almost the same : Add to Network Service the permission to read in Event Logs Security. I did this but the same problem occures.

Any suggestions?

Blerta Dhimitri
  • 3,253
  • 5
  • 22
  • 33

3 Answers3

2

I'm not sure if this works for your scenario, but I ran this in PowerShell and it worked for me when I had a similar error.

[system.Diagnostics.EventLog]::CreateEventSource("SourceName", "Application")

Replace "Application" with the name of the application that's trying to write to the log. "SourceName" can be any word that's not already a registered source name.

I found this method, and others, in an answer from JMarsch, here: https://stackoverflow.com/a/774713/120966

Community
  • 1
  • 1
Jeremy
  • 63
  • 9
0

It looks like the application is attempting to write to the windows logs, but it's being shutdown by Windows security. Make sure you're running your application in administrator mode, which should allow the program access to search the registry to see if it needs to create a new log source.

Randin
  • 9
  • 1
0

A work around for this is to run Visual Studio as Administrator.