Error While Enabling Windows Feature: NetFx3, Error Code: -2146498298

Error While Enabling Windows Feature: NetFx3, Error Code: -2146498298

I was doing SQL server 2012 installation for my lync server 2013 lab and I ran into this error "Error while enabling Windows feature: NetFx3, Error Code: -2146498298, Please try enabling Windows feature: NetFx3 from Windows management tool and then run setup again."

Installation Error

 

 

 

 

 

 

Started the server manager and tried to install the .Net Framework 3.5 with SP1 and it failed with error “Do you need to specify an alternate source path? One or more installation selections are missing source file on the destination”



Now the only choice I had was to install .Net Framework 3.5 was using Deployment Image Servicing and Management (DISM). For more information on DISM, refer to this article. I tried to install it using DISM by running the command dism /Online /Enable-Feature /FeatureName:NetFx3 /Source:D:\sources\sxs but it failed with below error.

 As it say “Error itself has the solution in it” indeed it had the solution. I just had to modify the command and run it with /all switch like this, dism /Online /Enable-Feature /FeatureName:NetFx3 /All /Source:D:\sources\sxs and it will complete successfully, as you can see.

Note: Make sure you have Windows Server 2012 media in the drive before you run this command.

 

After this SQL Server 2012 installation completed like a charm :)



Continued my Lync Server 2013 installation and completed with Archiving and Monitoring server roles.

 

Cheers,

Leave a Comment
  • Please add 2 and 2 and type the answer here:
  • Post
Wiki - Revision Comment List(Revision Comment)
Sort by: Published Date | Most Recent | Most Useful
Comments
  • Richard Mueller edited Revision 3. Comment: Modified title casing, added tags

  • Gulab Prasad edited Revision 2. Comment: update

  • Gulab Prasad edited Revision 1. Comment: Fomating

  • Gulab Prasad edited Original. Comment: formate

Page 1 of 1 (4 items)
Wikis - Comment List
Sort by: Published Date | Most Recent | Most Useful
Posting comments is temporarily disabled until 10:00am PST on Saturday, December 14th. Thank you for your patience.
Comments
  • Gulab Prasad edited Original. Comment: formate

  • Gulab Prasad edited Revision 1. Comment: Fomating

  • Gulab Prasad edited Revision 2. Comment: update

  • Richard Mueller edited Revision 3. Comment: Modified title casing, added tags

Page 1 of 1 (4 items)