System.Diagnostics.Eventing.Reader.EventLogRecord throws an InvalidOperationException on Windows 2022 Server with .NET 4.8 runtime #79510
Unanswered
reveillesoftware
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Receive this error on Windows 2022 Server with all current Windows Server updates: ERROR : We do not have 18 variants given for the UnsafeNativeMethods.EvtRenderFlags.EvtRenderEventValues flag. (System Properties)
at System.Diagnostics.Eventing.Reader.NativeWrapper.EvtRenderBufferWithContextSystem(EventLogHandle contextHandle, EventLogHandle eventHandle, EvtRenderFlags flag, SystemProperties systemProperties, Int32 SYSTEM_PROPERTY_COUNT) at System.Diagnostics.Eventing.Reader.EventLogRecord.PrepareSystemData() at System.Diagnostics.Eventing.Reader.EventLogRecord.get_TimeCreated() at ReveilleAPI.EventLogging.Client.CheckNewEventLog(String inComputerName, String inLog, String inSourceName, String inEventIDs, EventLogEntryTypeEx inEventType, Int32 inSecondsOld, String separator, Boolean& anyMessagesFound)
This was fixed in last year for WIndows 11, when will this be ported for Windows server 2022?
See - #60740
This prevents monitoring of the Windows Event log in Windows Server 2022 by 3rd party tools that use Windows API.
Beta Was this translation helpful? Give feedback.
All reactions