Database Management
Error in SQL Sentry "The current version of the native library (1.5) does not support the original or minimum version of the ".NET Framework NGEN v4.0.30319" task (1.6/1.6). "
This is a common error to see in SQL Sentry sometimes after an upgrade in the monitored target(s), a user may start receiving continuous Event History Monitor alerts from the Windows Task Scheduler.
First published date
Last published date
Overview
[Windows]: SOME.WINDOWS.TARGET.COM [Message]: Error synchronizing history for event source: SOME.WINDOWS.TARGET.COM: Windows Task Scheduler Tasks An error has occurred: Message: The current version of the native library (1.5) does not support the original or minimum version of the ".NET Framework NGEN v4.0.30319" task (1.6/1.6). This is likely due to attempting to read the remote tasks of a newer version of Windows from a down-level client. System.InvalidOperationException: The current version of the native library (1.5) does not support the original or minimum version of the ".NET Framework NGEN v4.0.30319" task (1.6/1.6). This is likely due to attempting to read the remote tasks of a newer version of Windows from a down-level client. at Microsoft.Win32.TaskScheduler.Task.GetV2Definition(TaskService svc, IRegisteredTask iTask, Boolean throwError) at Microsoft.Win32.TaskScheduler.Task.get_Definition() at SentryOne.App.Storage.Legacy.Ddo.TaskSchedulerTaskAccessor.LoadRemoteObjectData(Object data, Boolean loadProperties, Boolean loadStatus, TimeSpanOffsets timeSpanOffsets) at Intercerve.SqlSentry.Providers.TaskSchedulerEventSourceTypeSynchronizer.GetRemoteObjects20(EventSourceConnectionBase eventSourceConnection, EventSourceAccessor eventSource, Boolean statusOnly) at Intercerve.SqlSentry.Providers.EventSourceSynchronizer.SynchronizeObjects(Boolean statusOnly, EventSourceObjectAccessors& mergedEventSourceObjectAccessors, Nullable`1 managementEngineID) at SqlSentry.Server.EventHistoryMonitor.SynchronizeHistory(WorkQueueItem`1 workQueueItem) ---------------------------------------------------------------------- [Timestamp (Local)]: 9/5/2023 10:45:04 AM [Timestamp (UTC)]: 9/5/2023 3:45:04 PM [Generated By]: SolarWinds SQL Sentry 2023.2 Server [SOMETARGET] [Version]: 2023.2.9.40304 [Monitor Type]: EventHistoryMonitor [Condition]: Event History Monitor: Error [Response Ruleset]: Notify Every Time (default) [Configured Object Name]: Global [Configured Object Type]: Global
Product section
Cause
Resolution
Option 1
Place the Monitoring Service on another machine that matches your target's Windows version.
Option 2
Stop collecting the Task Manager data for the affected target.
Option 3
Edit or delete the 'Event History Monitor: Error' condition. Make sure to modify this condition (under Failsafe Conditions) at the global level (All Targets).