Trouble installing .Net framework 3.5 for SQL server 2012


I had trouble installing .Net framework 3.5 on a Windows 2012 R2 server. .Net framework 3.5 is a prerequisite for SQL Server 2012 R2.

Error:

.net install error

.Net Framework 3.5 and 4.5.1 can be installed from Server Manager but I am unable to install it. The solution is to install via command line make sure you have the Windows 2012 Server DVD in the DVD drive.

Open command prompt as run as administrator

Then execute the following command:

Dism /online /enable-feature /featurename:NetFx3 /All /Source:D:\sources\sxs /LimitAccess

.Net 3.5 command line installation

Thanks to the Microsoft link:

https://support.microsoft.com/en-in/kb/2734782

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s