Just a quickie, as I didn’t have the time to take screenshots.
Installing SQL Server 2012 on a new Windows Server 2012 VM. Part-way through the installation, I got the following error message:
TITLE: Microsoft SQL Server 2012 Service Pack 1 Setup
The following error has occurred:
Error while enabling Windows feature : NetFx3, Error Code : 1726 , 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
My first reaction was to try a spot of Powershell to install the feature:
Except that, apparently, there’s no such feature. Hmm.
A quick search led me to “The World According to Mitch”, which has a useful post “Installing NetFx3 on Windows Server 2012″ that shows this very error (complete with screenshot, if you really need to see it).
The solution that Mitch provides is quite simple: use Deployment Image Servicing and Management to fix.
dism /online /enable-feature /featurename:netfx3 /all
I had left the error on screen while trying the fix, so I was able to continue the installation; of course, the bulk of the features being installed failed, but it’s quick to redo.