How to install NetFx3 on Windows Server 2012R2
While working with Windows 2012 R2 server and implementing various applications, one issue that I have come across while installing SQL 2012 SP1 is the prerequisite for.Net 3.5 and although the feature is present in “Roles and Features” (.Net Framework 3.5) feature is not installed because .Net Framework 4.5 is already installed by default. However some applications may require the NetFx3 feature and in this blog we will learn how to install .NetFx3.
SQL Server 2012 Service Pack 1 installation wizard requires NetFx3 Windows feature enabled, if that feature is not enable, the SQL Server 2012 setup wizard will end with the error shown below.
To install NetFx3 we have to open the Server Manager Tool on Windows Server 2012 (R2) and then we have to click on the Add Roles and Features item in the Manage menu
If we have not already specified that we want to ignore the preliminary operations, it will show the Before you begin section of the Add Roles and Feature wizard as shown in the following picture.
Click Next button, the wizard will shows the Installation Type section where we have to select the Role-based or feature-based installation option that it has used to configure this server by adding roles, role services and Features
Click Next button, it will show the Server Selection section; in this section we have to select the Server on which to install NetFx3 feature, so click Select a server from the server pool and over the grid, select the server as shown in the following picture.
Click Next button again, the wizard will shows the Server Roles section as you can see in the following picture. Click Next button to go to the Features section.
As you can see, .Net Framework 3.5 Features has not installed yet; click in the related check box as shown the following picture.
Click Next button, the wizard will shows the Confirmation section.
As you can see, at the top of the window shown in the picture there is a warning message. It informs you that for one or more installation selections are missing source files on the destination server, so we have to specify an alternative source path. Click the Specify an alternative source patch link, the wizard will shows the window in the following picture.
The required source files for the .Net Framework 3.5 are in Windows Server 2012 (R2) DVD (or in the related ISO file); on this virtual machine, the DVD device is associated to the letter “F“. Therefore, you can specify this alternative path “F:\Sources\SxS“. Click OK button to return in the previous window, so click Install button to start the installation process. The Results section will show the installation status, at the end the status will be completed successfully as shown in the following picture.
The NetFx3 (.Net Framework 3.5) feature has been installed in your system. Now we can retry to install SQL Server 2012 Service Pack 1 and you should not receive an error.