Exception Details: System Security Security Exception: The source was not found, but some or all event logs could not be searched. Inaccessible logs: Security: State

Lyn Xu 6 Reputation points
2022-11-22T05:32:22.763+00:00

I am migrating an ASP.NET application from Window server 2008 to Windows Server 2019. Managed to load the web application and it is working well. But once i click the Logout button on my webpage, the error below happens.

Exception Details: System Security Security Exception: The source was not found, but some or all event logs could not be searched. Inaccessible logs: Security: State

I read somewhere, that we can edit permission rights in the REGEDIT folder as below, but I'm not able to save the changes. A pop up message from Window Security "Unable to save permission changes on state. Access is denied."

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventLog\State
Does anyone have an insight as to what could be done here?

Thanks!

Lyn

Windows Server 2019
Windows Server 2019
A Microsoft server operating system that supports enterprise-level management updated to data storage.
3,607 questions
0 comments No comments
{count} vote