SQL Server – Error while enabling Windows feature: NetFx3


I was installing SQL Server 2012 on Windows Server 2012, and the installation failed with the following error.


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




Since I didn’t enable .NET Framework 3.5 before installing SQL Server 2012 it failed.



Enable .NET Framework 3.5 and then install SQL Server 2012.

Below is the procedure to enable .NET Framework 3.5 in Windows Server 2012


Using GUI

1. Go to Server Manager -> Manage -> Add Roles and Features


2. Click Next



3. 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.





4. Click Next button, it will show the Server Selection section. Click Select a server from the server pool and over the grid, select the server




5. Click Next



6. Select the .NET Framework 3.5 Feature Checkbox and click Next.



7. Warning message informs us 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




8. Provide the required source file path for the .Net Framework 3.5 which is in Windows Server 2012 ISO file. Extract or Mount this. and click OK



9. TheResults section will show the installation status. Installtion will complete.




Once .net framework 3.5 is enabled. We can install SQL Server 2012 on Windows Server 2012.



Using Command Line

dism /online /enable-feature /featurename:NetFx3 /source:d:\sources\sxs





Hope this was helpful !!!


Leave a comment

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

%d bloggers like this: