SecurityException: 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: State.

The reason you are receiving this error is due to Microsoft locking out applications from making changes to the newly added State event log. There is only one way to resolve this, you must run the Registry Editor as a SYSTEM account to grant the PanatrackerGP application rights to modify the State event log. To do so, please follow the instructions below: 1.    Download PsExec from Microsoft Sysinternals. 2.    Unzip and extract the tool to a permanent folder —e.g., c:\tools 3.    Open an elevated or admin Command Prompt window. 4.    Start the Registry Editor under the SYSTEM account, type the following command, and press ENTER: c:\tools\psexec.exe -sid c:\windows\regedit.exe 5.    Navigate/expand the following key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\State 6.    Right click on this entry and select Permissions 7.    Add the user “IIS APPPOOL\PanatrackerGP” user and give user Full Control Once these steps have been done, resubmit the transaction twice and the correct error should appear in the portal.

Was this helpful?