|
| 1 | +--- |
| 2 | +title: Unable to Find an Entry Point Error When Updating SQL Server 2022 |
| 3 | +description: This article describes an issue where the command line generates an error message when applying a SQL Server 2022 Cumulative Update (CU). |
| 4 | +ms.date: 02/21/2025 |
| 5 | +ms.custom: sap:Installation, Patching, Upgrade, Uninstall |
| 6 | +ms.author: brcarrig |
| 7 | +ms.reviewer: jopilov, v-sidong |
| 8 | +--- |
| 9 | +# Unable to find an entry point error when updating SQL Server 2022 |
| 10 | + |
| 11 | +This article describes an issue where the command line generates an error message when applying a SQL Server 2022 Cumulative Update (CU). |
| 12 | + |
| 13 | +_Applies to:_ SQL Server 2022 on Windows |
| 14 | + |
| 15 | +## Symptoms |
| 16 | + |
| 17 | +Consider the following scenario: |
| 18 | + |
| 19 | +- 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. |
| 20 | + |
| 21 | +- You apply a cumulative update (CU) to SQL Server 2022 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](/sql/database-engine/install-windows/install-sql-server-from-the-command-prompt). |
| 22 | + |
| 23 | +In this scenario, an exception occurs in the setup console during the update process, displaying the following error message: |
| 24 | + |
| 25 | +> System.EntryPointNotFoundException: Unable to find an entry point named 'GetNumaNodeProcessorMask2' in DLL 'kernel32.dll' |
| 26 | +
|
| 27 | +## Cause |
| 28 | + |
| 29 | +When **setup.exe** runs on an OS version where the [GetNumaNodeProcessorMask2 API](/windows/win32/api/systemtopologyapi/nf-systemtopologyapi-getnumanodeprocessormask2) is unavailable, an exception appears in the setup console. |
| 30 | + |
| 31 | +## Resolution |
| 32 | + |
| 33 | +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. |
| 34 | + |
| 35 | +## More information |
| 36 | + |
| 37 | +This exception is only visible in the setup console when running **setup.exe** from the command line and only applies to CU15 and later. |
| 38 | + |
| 39 | +For information on all cumulative updates released after the release of SQL Server 2022, see [SQL Server 2022 build versions](../../../releases/sqlserver-2022/build-versions.md). |
0 commit comments