Error installing .Net framework on Windows server 2012 R2

Issue: While installed .Net Framework from Server Manager – Add/Remove Features page, the installation fails with the following error: “One or more installation selections are missing source files on the destination server. ”

image

If you click on the Install button, the installation will fail with the message: “The source files could not be found.”  It suggests to click “Specify an alternate source path” to specify a valid location of the source files that are required for the installation.

image

 

Solution:

Method 1:  Run the following command in elevated command prompt. Replace the <drive> with the actual drive letter of the installation media:

Dism /online /enable-feature /featurename:NetFx3 /All /Source:<drive>:\sources\sxs /LimitAccess

Method 2:

The solution is provide the source path of the setup. On the ‘Confirm installation selections’ page, click on the “Specify an alternate source path” option given at the bottom.

image

Specify the Windows setup path: Could be the installation media or setup files copied on disk. Specify the Root\Sources\SXS folder as shown below.

image

Setup should be able to pick up files now.