OpenEventLog rc = 1783 on Windows Server 2019

Kuri55 21 Reputation points
2020-10-15T15:25:28.773+00:00

Hello.

I am creating a program that reads the Windows Event log, but when I run it on Windows Server 2019, there are always cases where it fails with OpenEventLog rc = 1783. (This occurs when acquiring the event log of another Windows machine from Windows Server 2019.)
There was no problem using the same program on Windows Server 2012 or Windows Server 2016.

Has anyone experienced the same event?
Thank you.

Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,613 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.