Pages

Tuesday, February 9, 2016

"Error while enabling Windows feature: NetFx3" while installing sql server 2012 on windows server 2012.

You may have experienced  the above error while setting up sql server 2012 on windows server 2012. Reason for raising this error is .Net Framework 3.5 feature is required by SQL Server 2012.









This post is going to describe for you that how to solve this problem by simply using Windows PowerShell.

1.Insert Windows server 2012 installation disk to the CD/DVD Drive or keep a copy of installation media somewhere in your Local Hard Disk.
2.Open Windows PowerShell under administrator privileges. (Run as admnistrator)
3.Type following command as mentioned below with necessary replacements.

Install-WindowsFeature Net-Framework-Core -source [path_to_the_file - ...\sources\sxs]

ex: Install-WindowsFeature Net-Framework-Core -source F:\sources\sxs] - Using installation media in CD/DVD Drive.
Install-WindowsFeature Net-Framework-Core -source D:\Windows_Server_2012_R2\sources\sxs] -Using installation  media in Local Disk.

Now retry installing SQL Server 2012 with same steps you followed early.

No comments:

Post a Comment