Error while enabling Windows feature : NetFx3

Today I came across an error when trying to install SQL Server 2012 on Windows Server 2012 R2. There are several options to fix this error. Using Server Manager, Command Prompt or using PowerShell. Make sure you mount the OS cd before going forward. (D: is my CD Drive)

TITLE: Microsoft SQL Server 2012 Setup

——————————

The following error has occurred:

Error while enabling Windows feature : NetFx3, Error Code : -2146498298 , Please try enabling Windows feature : NetFx3 from Windows management tools and then run setup again. For more information on how to enable Windows features , see http://go.microsoft.com/fwlink/?linkid=227143

For help, click: http://go.microsoft.com/fwlink?LinkID=20476&ProdName=Microsoft%20SQL%20Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=11.0.2100.60&EvtType=0x681D636F%25401428%25401

——————————

BUTTONS:

OK

——————————

clip_image001

Fix Using Server Manager

Open Server Manager under manage select “Add Roles and Features”. Then select .NET Framework 3.5 Features click Next

clip_image002

As the binaries for .NET Framework 3.5 Features not copied with the OS make sure you insert the Server OS media. You can find it in the warning as well. Click on “Specify and alternate source path” to explicitly specify the source location. In my case its D:\sources\sxs. Then resume the setup.(Just Next Finish)

clip_image003

clip_image004

 

Fix Using Command Prompt or PowerShell

In Command prompt as administrator and run dism /online /enable-feature /featurename:NetFx3 /source:d:\sources\sxs

If you are using powerShell run Add-WindowsFeature NET-Framework-Core -Source D:\sources\sxs in elevated mode.

clip_image005

After installing .NET 3.5 I was able to install SQL 2012 successfully. Open-mouthed smile

image

For further details you can refer Microsoft’s support article http://support.microsoft.com/kb/2734782

Thank you Smile

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 )

Google photo

You are commenting using your Google 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 )

Connecting to %s