Error:
TITLE: Microsoft SQL Server 2012 SetupSo it wants me to install NetFx3. The requirement basically meant it needed .NET Framework 3.5. All I would need to do is run the following command from PowerShell:
——————————
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.
Add-WindowsFeature NET-Framework-CoreThis gave me an error as well!
Add-WindowsFeature : The request to add or remove features on the specified server failed.When you run the following command at the PowerShell prompt, you will notice that not only the “Installed” state is set to “False” indicating it’s not installed but “InstallState” shows “Removed”:
Installation of one or more roles, role services, or features failed.
The source files could not be downloaded.
Get-WindowsFeature Net-Framework-Core | FT name,install*
Name Installed InstallState
—- ——— ————
NET-Framework-Core False Removed
What this means is that the standard install of Windows Server 2012 does not install the binaries required to enable the .NET features.
If you want to install this feature, run the following command;
Add-WindowsFeature NET-Framework-Core -Source D:\sources\sxs
This assumes D is your CD drive which has Windows Server 2012 installation media.
NOTE: This won’t work if you ran Windows Update and applied patches after installing Windows Server 2012 and before trying to install SQL Server 2012.