Error while enabling windows feature netfx3 error code

SQL Server 2012 — Проблемы установки на Windows Server 2012

При попытке установить RTM версию SQL Server 2012 Standard на свеже-установленную ОС Windows Server 2012 при отсутствии прямого подключения к интернету можно получить ошибку включения зависимой компоненты: NetFx3 -2146498298

При этом процесс установки проходит до конца но не устанавливает основные компоненты SQL Server.

Для решения этой проблемы нам потребуется отдельно установить компоненты .Net Framework 3.5. Так как эти компоненты входят в состав дистрибутива Windows Server 2012, можно вставив установочный диск ОС (в нашем примере буква диска — S:), выполнить команду (с правами Администратора):

Dism /online /enable-feature /featurename: NetFX3 /All /Source: S:\sources\SxS /LimitAccess

Или же мы можем установить эти компоненты через мастер добавления ролей и возможностей Add Roles and Features Wizard в оснастке Server Manager. После того как на шаге Features мы отметим .NET Framework 3.5 Features вызовем окно дополнительной настройки указания места расположения установочных файлов ОС – Specify an alternate source path

Укажем каталог полный пусть к подкаталогу Sources\SxS на нашем DVD-накопителе или сетевой папке, в которую мы предварительно скопировали содержимое установочного диска Windows Server 2012.

Если путь указан верно, то процесс добавления компонент .Net Framework 3.5 пройдёт успешно.

После этого можно заново повторить процедуру установки необходимых компонент SQL Server 2012. Возможно при повторном запуске инсталлятора мы получим ошибку:

System.IO.FileNotFoundException: Could not load file or assembly ‘System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089’ or one of its dependencies. The system cannot find the file specified.

Появление этой ошибки будет вести к отмене вызова окна программы установки SQL Server. Эта “болячка” известна ещё со времени SQL Server 2008 R2 и для решения этой проблемы необходимо найти указанный в тексте ошибки файл user.config и удалить его.

В нашем примере файл расположен в каталоге
%USERPROFILE%\AppData\Local\Microsoft_Corporation\LandingPage.exe_StrongName_ryspccglaxmt4nhllj5z3thycltsvyyx\11.0.0.0

После этого процесс установки SQL Server 2012 должен завершиться без ошибок.

Error while enabling windows feature netfx3 error code

This forum has migrated to Microsoft Q&A. Visit Microsoft Q&A to post new questions.

Answered by:

Question

I can’t install SQL Server 2012 on my windows 8 Pro, every time I try I get this error: Error while trying to enable NetFx3

Читайте также:  Софт для создания сборки windows

Can anyone help, please.

Answers

Windows 8 does not include .NET 3.5 (include .NET 2.0 and 3.0) by default.

1. We can make sure this feature is enabled by check in Program and Features.

a. Go to Settings. Choose Control Panel then choose Programs.

b. Click Turn Windows features on or off, and the user will see Windows feature window.

c. You can enable this feature by click on .NET Framework 3.5 (include .NET 2.0 and 3.0) select it and click OK. After this step, it will download the entire package from internet and install the .NET Framework 3.5 feature.

This option requires an Internet connection.

2. As Alberto suggested, you can use the command to enable .NET Framework 3.5 (include .NET 2.0 and 3.0) feature in offline mode to avoid interruption before run SQL Server Setup.

For your information:

Installing the .NET Framework 3.5 on Windows 8 or 8.1

Error while enabling windows feature netfx3 error code

Вопрос

Поднял виртуальный сервер c windows server 2012 enterprise edition, на нем ставлю SQL Server 2012. При подготовке все отлично,ошибко нету, но в процессе установки вылетает ошибка о : Ошибка установки Microsoft .Net framework 3.5.

dism.exe /online /enable-feature /featurename:NetFX3 /Source:d:\sources\sxs не помогло.

Что можно еще предпринять?

Ответы

Помогло с Добавлением диска .

If you have Windows Server 2012 iso file or DVD, you can install .net framework 3.5 on Windows Server 2012 easly.

1. You have to insert Windows Server 2012 DVD or iso to D drive.

2. Open Add Roles and Features Wizard

3. Select .NET Framework 3.5 Features and then click next,

4. Select Specify an alternate source path link in the Confirm installation selections screen.

5. Path: D:\Sources\SxS and then click OK.

6. Finally click Install button.

Все ответы

SQL Server 2012 начал поддерживаться на Windows Server 2012?

Источник верно указан для включения файлов компонента? В смысле на диске D:\ действительно лежат файлы?

Вроде как да, где то вычитал что поддерживает.

Источник верно указан. Менял диски бесполезно.

Мне не попадалась информация о поддержке SQL Server 2012 на Windows Server 2012. Полагаю, проблема в этом.

.NET Framework 3.5 можно установить, к слову, с помощью мастера добавления ролей и компонентов.

— проверьте пути, еще решения такие, сделайте mount iso-образа, благо теперь такой функционал есть, командную строку запускайте от администратора

Читайте также:  Как отказаться от установки обновлений windows

dism.exe /online /enable-feature /featurename:NetFX3 /Source:d:\sources\sxs /LimitAccess

/LimitAccess дает исключить WSUS

— смените локаль системы на английскую — English (United States)

— попробовать через powershell, так или так:

Enable-WindowsOptionalFeature –Online –FeatureName NetFx3 –All

Enable-WindowsOptionalFeature –Online –FeatureName NetFx3 –All -LimitAccess -Source x:\sources\sxs

Error while enabling windows feature netfx3 error code

This forum has migrated to Microsoft Q&A. Visit Microsoft Q&A to post new questions.

Answered by:

Question

I can’t install SQL Server 2012 on my windows 8 Pro, every time I try I get this error: Error while trying to enable NetFx3

Can anyone help, please.

Answers

Windows 8 does not include .NET 3.5 (include .NET 2.0 and 3.0) by default.

1. We can make sure this feature is enabled by check in Program and Features.

a. Go to Settings. Choose Control Panel then choose Programs.

b. Click Turn Windows features on or off, and the user will see Windows feature window.

c. You can enable this feature by click on .NET Framework 3.5 (include .NET 2.0 and 3.0) select it and click OK. After this step, it will download the entire package from internet and install the .NET Framework 3.5 feature.

This option requires an Internet connection.

2. As Alberto suggested, you can use the command to enable .NET Framework 3.5 (include .NET 2.0 and 3.0) feature in offline mode to avoid interruption before run SQL Server Setup.

For your information:

Installing the .NET Framework 3.5 on Windows 8 or 8.1

How to install .Net Framework 3.0/3.5(NetFx3) on Windows Server 2012

By Tirtha Ghosh
Post date

Installing windows server and .NET Framework has always been a kids stuff till we realized that Server 2012 R2 release onwards, it is not available by default to be added from ‘Add Remove Windows Server Role Features’. Hence like all, I was stumped at installation of SQL server 2012 which requires Netfx3 and so will the problem appear for any application that depends on .Net Framework 3.5

Problem Description

I was installing SQL Server 2012 on a Windows Server 2012 R2 Standard virtual machine, and the installation was already in progress when I received the following error:

Error while enabling Windows feature: NetFx3, Error Code: -2146498298, 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

Читайте также:  Windows для packard bell pav80

Since I did not enable .NET Framework 3.5 before installing SQL Server 2012, setup tried to enable it but failed.

I then tried to enable .NET Framework 3.5 on Windows Server 2012 using the “Add Roles and Features Wizard” of Windows Serve 2012 and to my surprise it failed again.

Solution

On the new Server Manager of Windows Server 2012, we made a click on the Manage menu, and selected the option “Add Roles and Features”.

On the first page of Add Roles and Features Wizard, click on the Next button.

On the installation type page, we chose “Role-based or feature-based installation”.

On the Server Selection page of the wizard, we selected the actual server where we were installing SQL Server 2012

On the “Server Roles” page of the wizard, we just clicked on the Next button.

On the “Features” page of the Wizard, we clicked on the checkbox next to “.NET Framework 3.5 Features”, and then clicked on the Next button.

On the confirmation page, we just clicked on the Install button.

The installation using the “Add Roles and Features Wizard” failed with an error

Learn more on Cloud Infrastructure management

It turns out that Windows Server 2012 does not include NetFx3 when it is installed as .Net Framework 4.5 is provided by default. It doesn’t mean that it is gone, but it has to be installed separately.

Hence the fundamental problem here is that you need to tell windows where to find the NetFX installation files –simple.

  • Insert the Windows installation media.
  • Start the Add Roles and Features Wizard again.
  • On theSelect features page, select the .Net Framework 3.5 Features check box, and then click Next.
  • On the Confirm installation selections page, click the Specify an alternate source path link.

  • On the Specify Alternate Source Path page, type the path of the SxS folder as a local path or as a network share path. The screen shot for this step is listed below.

Click OK.

Click Install to finish the wizard

Conclusion

By default, on Windows Server 2012 (R2) the NetFx3 (.Net Framework 3.5) feature is not installed because it has already installed the .Net Framework 4.5; however some applications may require the NetFx3 feature and in this post we have seen how to make server 2012 work backward.

Оцените статью