Edit

Share via


Unable to find an entry point error when updating SQL Server

Applies to:   SQL Server 2022 on Windows, SQL Server 2025 on Windows

Summary

When you apply a cumulative update (CU) to SQL Server from the command line on an older Windows operating system, you might see a System.EntryPointNotFoundException error in the setup console. This article explains why this error occurs and that it doesn't affect the update process.

Symptoms

Note

This exception is only visible in the setup console when running setup.exe from the command line and only applies to:

  • SQL Server 2022 CU15 and later.
  • SQL Server 2025 RTM and later.

Consider the following scenario:

  • You have a computer that's running an operating system (OS) that has an earlier build of the Windows OS than Windows 10 Build 20348, such as Windows Server 2016 or Windows Server 2019.

  • You apply a cumulative update (CU) to SQL Server using setup.exe from the command line. For information on how to run the setup from command line, see Install and configure SQL Server on Windows from the command prompt.

In this scenario, an exception occurs in the setup console during the update process, displaying the following error message:

System.EntryPointNotFoundException: Unable to find an entry point named 'GetNumaNodeProcessorMask2' in DLL 'kernel32.dll'

Cause

When setup.exe runs on an OS version where the GetNumaNodeProcessorMask2 API is unavailable, an exception appears in the setup console.

Resolution

No resolution steps are necessary as the exception doesn't affect the setup behavior or success of the update. The error message can be safely ignored.