Hello friends,
It has been a while since I last wrote a blog post, but I have received several questions regarding a specific error: “Error while enabling Windows feature: NetFx3.” Today, I will address this error and provide you with the solution.
Firstly, let’s understand what this error is and why it appears with different names in different scenarios. The error occurs when installing SQL Server or other applications that require the .NET Framework 3.5. The problem arises because Windows Server 2012 does not include NetFx3 by default. However, it can be installed separately.
Now, let’s move on to resolving the issue. There are two ways to do this:
Using the GUI
- Insert the Windows 2012 CD or attach the ISO file if using a virtual environment like VMware or Hyper-V.
- Check the drive letter assigned to the CD or ISO file (e.g., D:).
- Open Server Manager and go to “Manage” and then “Add roles and features.”
- Select “.NET Framework 3.5 features” and click “Next.”
- Enter the alternate source path, which in our case is “D:\Sources\SxS”. This is where the necessary bits are located.
- Click “OK” and proceed with the installation.
Using the Command Prompt
If you prefer using the command prompt, follow these steps:
- Open the command prompt.
- Type the following command:
dism /online /enable-feature /featurename:netfx3 /all /source:d:\sources\sxs
Once you have completed either of these processes, the error should no longer occur.
If you found this post helpful, please like our Facebook page: https://www.facebook.com/Ashishsharepointblog.
Feel free to rate and provide feedback if you found this post useful.
Hope this helps!
Best regards,
Ashi