The following versions of Microsoft .NET Framework are pre-requisites for SQL Server.
Install the relevant versions (see below) for your Server version. You'll need to restart your server after each install.
Server 2012 — Microsoft .NET Framework 3.5, 4.5 and 4.6
To install .NET Framework 3.5 and 4.5:
The feature needs to be enabled via Server Manager > Add Roles > select Role Based or Featured Based Installation > This Server > tick Application Server > tick .NET Framework 3.5 and .NET Framework 4.5.
To install .NET Framework 4.6:
Download Microsoft .NET Framework 4.6 from this Microsoft website. Instructions on how to install .NET Framework are also available on this page.
Server 2019/2016 - Microsoft .NET Framework 3.5 and 4.7
To install .NET Framework 3.5 and 4.7:
The feature needs to be enabled via Server Manager > Add Roles > select Role Based or Featured Based Installation > This Server > tick Application Server > tick .NET Framework 3.5 and .NET Framework 4.7.
Server 2022 - Microsoft .NET Framework 3.5 and 4.8
To install .NET Framework 3.5 and 4.8:
The feature needs to be enabled via Server Manager > Add Roles > select Role Based or Featured Based Installation > This Server > tick Application Server > tick .NET Framework 3.5 and .NET Framework 4.8.
Windows 10/11 — Microsoft .NET Framework 3.5 and 4.8
Press Windows Logo + R keys.
In the Run command box, type “appwiz.cpl” and press ENTER.
In the Programs and Features window, click on the Turn Windows features on or off.
Check if the .NET Framework 3.5 (includes .NET 2.0 and 3.0) and .NET Framework 4.8 Advanced Services option is available.
If available, enable them and click OK.
Follow the on-screen instructions to complete the installation and restart the computer, if prompted.