Wednesday, August 21, 2013

Error While enabling NetFx3 during SQLServer 2012 Installation


Users may receive below error during SQLServer 2012 installation.

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

Users will see this error if they don’t install/enable ".Net Framework 3.5" before installing SQLServer 2012.

Follow below steps to enable .Net Framework 3.5 on Windows Server 8 or Windows Server 2012

1. Server Manager -->  Manage --> Click “Add Roles and Features" --> Next
2. On “Installation Type”, Select “Role-based or feature-based installation” -->Next
3. On “Server Selection”, Select the server on which you want to install from the list --> Next
4. On “Server Roles”, Select new roles if you need
5. On “Features” Page, select “.Net Framework 3.5 Features” --> Next--> Install

You can use above steps to add any new roles/Features in Windows Server 8 or Windows Server 2012 environment.

You can also add Roles and Features using command line

C:\>dism /online /enable-feature /featurename:NetFx3 /source:E:\sources\sxs

Where E drive is the windows media mount.

Regards,
Satishbabu Gunukula
http://www.sqlserver-expert.com