SQL Server 2012 Installation SQL2012 error occurred when Windows feature NetFx3 was enabled

Source: Internet
Author: User

In the process of installing SQL Server 2012 on a Windows Server 2012 server, an error was reported, an installation failed,

During the installation of SQL 2012, the following error occurred: An error occurred while enabling Windows feature NetFx3, error code:-2146498298. Try to enable Windows features NetFx3 from Windows Management Tools, and then rerun Setup. For more information about how to enable Windows features, see http://go.microsoft.com/fwlink/?linkid=227143

Looked up a lot of information, found that there is a method, after testing, can be used.

The workaround:

1. Locate the Windows Server 2012 installation disk, such as the ISO file, to suspend it on the drive.

2. Open Window PowerShell and the administrator runs the following command:

Import-module Servermanager
Dism.exe/online/enable-feature/all/featurename:netfx3/source:d:\sources\sxs

(where Source:d:\sources\sxs, refers to the system drive installation disk path)

After 10 minutes, wait for the operation to complete, restart the system, and then reinstall SQL Server 2012 to install successfully.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.