Ошибка установки sql server 2012 express

  • Remove From My Forums
  • Question

  • Attempting to install Microsoft SQL Server 2012 Express Edition on my Windows 7 Ultimate 64 bit computer.

    During the installation process the following error is displayed…

    SQL Server Setup

    An attempt was made to load a program with an incorrect format. (exception from HRESULT: 0x8007000B)

    LinkID: 20476

    Product Name: Microsoft SQL Server

    Message Source: setup.rll

    Any help on this would be greatly appreciated. Plan to install Microsoft Visual Studio 2012 Express also after this if this has any barring on how I should be installing this product.

    Thanks

    Colin

Answers

  • Thanks for your reply — I’m installing Microsoft SQL Server 2012 Express on a Windows 7 64-bit computer should I pre-install .NET 3.5 or .NET 4.0 ? — not 100% sure on this from your reply.

    I’ve uninstalled .NET 4.5 from my machine and will install 3.5 or 4.0 based on what you believe I should reinstall.

    Thanks, Colin

    Hello,

    It seems you are not reading my comment properly.

    .Net 3.5 SP1 is required ,install it before proceeding.This is corrupted in your case so uninstall it first

    .NET 4.0 is a requirement for SQL Server 2012. SQL Server installs .NET 4.0 during the feature installation step.

    • If you are installing the SQL Server Express editions, ensure that an Internet connection is available on the computer. SQL Server Setup downloads and installs the .NET Framework 4 because it is not included in the SQL Server Express media.


    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

    • Edited by

      Monday, August 19, 2013 3:02 PM
      removed install

    • Marked as answer by
      Sofiya Li
      Monday, August 26, 2013 9:21 AM

  • Hi Colin,

    As Shanky post, according to hardware and software requirement, before we installing SQL Server 2012 Express, we need to ensure you have downloaded and installed Microsoft .Net Framework
    3.5 SP1 and Windows Installer 4.5.

    There are some steps for reinstalling SQL Server Express , you can refer to the following points.
    1. Uninstall any previous SQL Server 2012 Express components (setup files, registry items, etc.),
    2. Download and install Microsoft .Net Framework 3.5 SP1 from
    here.
    3. Download and install Windows Installer 4.5 from
    here.
    4. Install VS 2012
    5. Install VS 2012 SP1
    6. Redownload SQL Server 2012 Express installer
    7. Right click installer and run as administrator.

    In addition, if this not work, could you please help us to collect the detailed error message and the following error log? It is very useful for our research.

    C:Program FilesMicrosoft SQL Server110Setup BootstrapLOGSummary.txt.
    C:Program FilesMicrosoft SQL Server110Setup BootstrapLog<YYYYMMDD_HHMM>Detail.txt

    There are more details about uninstalling SQL Server, you can review the steps (provided by Yu yoyo).
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/4d6158a1-b601-428c-aad4-a1716e76de1a/install-sql-server-problem

    Thanks,
    Sofiya Li


    Sofiya Li
    TechNet Community Support

    • Marked as answer by
      Sofiya Li
      Monday, August 26, 2013 9:19 AM

I have an up-to-date Windows 10 PC. I want to install SQL Server Express 2012. I downloaded these products

1) SQLEXPRADV_x64_ENU

2) SQLEXPRADV_x86_ENU

3) SQLEXPRWT_x64_ENU

4) SQLEXPRWT_x86_ENU

from Microsoft and I tried to individually install them. Each time I tried to individually install these different products, I hit this

    TITLE: SQL Server Setup failure.
    ——————————

   
    SQL Server Setup has encountered the following error:

   
    An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B).

   
    For help, click:
http://go.microsoft.com/fwlink?LinkID=20476&ProdName=Microsoft    %20SQL%20Server&EvtSrc=setup.rll&EvtID=50000&EvtType=0x2990711A%25400x38AD03A5

   
    ——————————
    BUTTONS:

   
    OK
    ——————————

error message box. The help URL led
here and pretty much told me nothing. That first alert dialog box opened this

    Product Name    Microsoft SQL Server

   
    Message Source    setup.rll

   
    Message ID    50000

   
    LinkID        20476

   
    EvtType        0x2990711A%400x38AD03A5

help message box text. I did much research: Microsoft Answers / Stack Overflow / Google and I tried the suggestions. No luck — although it looks like other folks have hit this bug, I never saw a solution that worked for my situation and I pretty much hit a
wall. I’d like to know how to fix all this and install SQL Server 2K12 on this Win 10 PC.

Thank you!

  • Remove From My Forums
  • Question

  • Attempting to install Microsoft SQL Server 2012 Express Edition on my Windows 7 Ultimate 64 bit computer.

    During the installation process the following error is displayed…

    SQL Server Setup

    An attempt was made to load a program with an incorrect format. (exception from HRESULT: 0x8007000B)

    LinkID: 20476

    Product Name: Microsoft SQL Server

    Message Source: setup.rll

    Any help on this would be greatly appreciated. Plan to install Microsoft Visual Studio 2012 Express also after this if this has any barring on how I should be installing this product.

    Thanks

    Colin

Answers

  • Thanks for your reply — I’m installing Microsoft SQL Server 2012 Express on a Windows 7 64-bit computer should I pre-install .NET 3.5 or .NET 4.0 ? — not 100% sure on this from your reply.

    I’ve uninstalled .NET 4.5 from my machine and will install 3.5 or 4.0 based on what you believe I should reinstall.

    Thanks, Colin

    Hello,

    It seems you are not reading my comment properly.

    .Net 3.5 SP1 is required ,install it before proceeding.This is corrupted in your case so uninstall it first

    .NET 4.0 is a requirement for SQL Server 2012. SQL Server installs .NET 4.0 during the feature installation step.

    • If you are installing the SQL Server Express editions, ensure that an Internet connection is available on the computer. SQL Server Setup downloads and installs the .NET Framework 4 because it is not included in the SQL Server Express media.


    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

    • Edited by

      Monday, August 19, 2013 3:02 PM
      removed install

    • Marked as answer by
      Sofiya Li
      Monday, August 26, 2013 9:21 AM
  • Hi Colin,

    As Shanky post, according to hardware and software requirement, before we installing SQL Server 2012 Express, we need to ensure you have downloaded and installed Microsoft .Net Framework
    3.5 SP1 and Windows Installer 4.5.

    There are some steps for reinstalling SQL Server Express , you can refer to the following points.
    1. Uninstall any previous SQL Server 2012 Express components (setup files, registry items, etc.),
    2. Download and install Microsoft .Net Framework 3.5 SP1 from
    here.
    3. Download and install Windows Installer 4.5 from
    here.
    4. Install VS 2012
    5. Install VS 2012 SP1
    6. Redownload SQL Server 2012 Express installer
    7. Right click installer and run as administrator.

    In addition, if this not work, could you please help us to collect the detailed error message and the following error log? It is very useful for our research.

    C:Program FilesMicrosoft SQL Server110Setup BootstrapLOGSummary.txt.
    C:Program FilesMicrosoft SQL Server110Setup BootstrapLog<YYYYMMDD_HHMM>Detail.txt

    There are more details about uninstalling SQL Server, you can review the steps (provided by Yu yoyo).
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/4d6158a1-b601-428c-aad4-a1716e76de1a/install-sql-server-problem

    Thanks,
    Sofiya Li


    Sofiya Li
    TechNet Community Support

    • Marked as answer by
      Sofiya Li
      Monday, August 26, 2013 9:19 AM
  • Remove From My Forums
  • Вопрос

  • Приветствую участников! Нужна помощь разобраться с ошибкой при установке SQL Server 2012 Express SP1 with Tools появляется «Ошибка при ожидании дескриптора восстановления компонента Database Engine».

    Картинка тут     s2.ipicture.ru/uploads/20140202/JxT7Obvn.png

    Журнал ошибок SQL Server прилагается    rghost.ru/52153650

    Ранее на данном компьютере уже была установлена и нормально работала эта же версия SQL Server, удалилась корректно вот по этой инструкции technet.microsoft.com/ru-ru/library/ms143412.aspx, конфигурация не менялясь, ошибка возникла
    при повторной установке с аналогичными параметрами

    Буду весьма признателен за оперативную помощь

    • Изменено

      2 февраля 2014 г. 18:41

Ответы

  • Проблема решена. При настроке установки у служб SQL Server и Агент SQL Сервера выставил системную учетную запись NT AUTHORITYсистема, вместо тех что были по умолчанию. После этого установка прошла без ошибок.

    • Помечено в качестве ответа
      dmshush
      3 февраля 2014 г. 8:37

Столкнулся с интересной ошибкой при установке MS SQL Server 2014 на новом сервере Windows Server 2012 R2. Установка SQL Server прерывается почти в самом конце с ошибкой «Не найден дескриптор запуска компонента Database Engine» (Could not find the Database Engine startup handle).

ошибка Could not find the Database Engine startup handle при установке SQL Server 2014

В логе установки Summary.txt при этом присутствует ошибка:

Feature: Database Engine Services

Status: Failed: see logs for details
Reason for failure: An error occurred during the setup process of the feature.
Next Step: Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
Component name: SQL Server Database Engine Services Instance Features
Component error code: 0x851A0019
Error description: Could not find the Database Engine startup handle.

Данная ошибка установки MS SQL Server связана с тем, что используются стандартные настройки установки, при котором служба SQL Server запускается под непривилегированной учетной записью NT ServiceMSSQL$V2014. У данной учетной записи может быть недостаточно полномочий для запуска службы SQL Server, поэтому запустить службу невозможно, и установщик завершается с ошибкой «Could not find the Database Engine startup handle». Также эта ошибка может указывать на то, что ранее на компьютере уже пытались установить SQL Server и не очистили файлы и службы, оставшиеся от предыдущей установки.

Чтобы исправить ошибку установки SQL Server:

  1. Корректно деинсталлируйте все программы, связанные с SQL Server через Панель управления и перезагрузите сервер (проверьте, что не осталось файлов и папок в каталоге C:Program FilesMicrosoft SQL ServerMSSQL12.xxx);
  2. Запустите чистую установку из дистрибутива SQL Server. На вкладке «Server Configuration» убедитесь, что служба SQL Server Database Engine запускается под учетной записью NT ServiceMSSQLSERVER; учетная запись NT ServiceMSSQLSERVER для запуска службы SQL Server Database Engine
  3. Измените эту учетную запись на NT AUTHORITYSYSTEM; запуск установки MSSQLSERVER под NT AUTHORITYSYSTEM
  4. Продолжите установку SQL Server. Ошибка больше не должна появляться.

После окончания установки настоятельно рекомендуем изменить учетную запись, под которой запускается служба SQL Server Database Engine на непривилегированную учетную запись. Эта учетная запись не обязательно должна обладать правами локального администратора сервера (вполне достаточно полномочий внутри SQL Server). Можно использовать аккаунты с правами sysadmin — NT ServiceMSSQLSERVICE или NT ServiceSQLSERVERAGENT. Чтобы изменить учетную запись, под которой работает SQL Server:

  1. Запустите SQL Server Configuration Manager и перейдите в раздел SQL Server Services;
  2. Щелкните по SQL Server (MSSQLSERVER), нажмите кнопку Browse и в поле This account укажите учетную запись, под которой нужно запускать службу или используйте управляемую учетную запись — gMSA (Group Managed Service Accounts). Укажите пароль пользователя и сохраните изменения; измените учетную запись для запуска службы SQL Server (MSSQLSERVER),
  3. Перезапустите службы SQL Server.

Этот способ поможет вам исправить ошибку «Не найден дескриптор запуска компонента Database Engine» при установке любых версий SQL Server (2016, 2014, 2012 или 2008).

Все сделали по инструкции, но MS SQL Server все равно бунтует? Можно пойти на какой-нибудь форум и пожаловаться там.

Помогаем

Unrecognizable

Highload решил упростить вам задачу и просто собрал топ причин, почему не устанавливается Microsoft SQL Server, в одном материале.

Даже если перед установкой новой версии MS SQL Server вы удалили старую, что-то могло не удалиться. Это «что-то» система продолжает держать и не дает поставить новую СУБД (систему управления базами данных).

Решение: почистить файлы вручную (вплоть до реестра) или какой-то программой; переустановить фреймворк и распространяемый Visual C++ Redistributable

Пользователя, которого вы назначили управлять сервером, не существует (или у него нет нужных прав)

В начале установки нужно задать пользователя и пароль учетной записи, которая будет управлять службой MS SQL Server. Если этого пользователя нет, он ограничен в правах доступа или система просто решила испортить вам день, с СУБД будут проблемы. Она либо не установится, либо установится криво.

Вибудовуйте якісний і привабливий бренд роботодавця всього за один місяць.

РЕЄСТРУЙТЕСЯ!

Contract agreement

Решение: можно долго и нудно разбираться с текущим пользователем, но лучше просто создать нового; или вообще использовать системную учетную запись (SYSTEM)

Имя компьютера и/или имя пользователя задано кириллицей 

То есть русскими буквами. Примитивная причина, но иногда такое случается.

Решение: поменять имя компьютера на английское 🙂 И заодно проверить всех пользователей

Вы ввели неправильный пароль пользователя

Опять же — чистая невнимательность. Если на этапе установки ввести не тот пароль для пользователя, который будет управлять службой, Microsoft SQL Server не напишет вам, что он неправильный.

Решение: вручную проверить пароль пользователя

Версия SQL Server не поддерживается текущей версией Windows Server

Или наоборот. Посмотрите список требований к вашей версии SQL Server на сайте Microsoft. Если вашего Windows Server в списке нет — ничего не попишешь.

Решение: поставить другую версию SQL Server, или обновить Windows Server, или просто поставить SQL не на сервер, а на обычный Windows

Версия SQL Server не поддерживается вашей Windows

Например, SQL Server 2012 подходит для Windows от Vista до семерки, а с установкой на десятку могут быть проблемы.

Решение: как и в прошлом пункте, только с поправкой на обычный Windows; если очень нужна именно эта версия SQL, можно попробовать запустить ее в режиме совместимости с какой нибудь из других версий Windows — «методом проб и ошибок»

Вы поставили новую версию SQL Server

Это не совсем проблема, так как в этом случае все, скорее всего, установится, но не будет окошка с запуском программы. В новых версиях MS SQL сам сервер и SQL Server Management Studio (SSMS, визуальная оболочка) разъединены. Поэтому если нужна именно программа, в которой можно будет визуально работать с базами, то нужно ставить еще и SSMS.

Решение: поставить старую версию SQL Server, установить Management Studio или просто работать без графической оболочки

Вы засорили реестр

Иногда это приводит не к ошибке инсталляции, а к ее бесконечной загрузке. Если прошло несколько часов и ничего не установилось — это оно.

Решение: удалить из реестра HKLMSOFTWAREWOW6432NodeMicrosoftMicrosoft SQL Server Management Studio; а лучше вообще почистить реестр вручную или программой

Вы скачали кривой дистрибутив

Такое тоже может быть, особенно если скачивали не с официального сайта.

Решение: скачать нормальный дистрибутив 🙂

Мешают вирусы

В этом случае, как именно они повлияют на установку, предсказать невозможно.

Решение: удалить Microsoft SQL Server подчистую (то есть, в том числе из реестра); проверить ПК на вирусы; установить все заново

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

image

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

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

Dism /online /enable-feature /featurename:NetFX3 /All /Source:S:sourcesSxS /LimitAccess

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

image

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

image

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

image

После этого можно заново повторить процедуру установки необходимых компонент 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.

image

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

В нашем примере файл расположен в каталоге
%USERPROFILE%AppDataLocalMicrosoft_CorporationLandingPage.exe_StrongName_ryspccglaxmt4nhllj5z3thycltsvyyx11.0.0.0

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

image

Источники информации:

  • Tom Van Gaever  — Installation of SQL Server 2012 on Server 2012 beta: NetFx3.5 is a Feature on Demand
  • Microsoft Connect — 640350 — Install VS2008, 2010 and SQL 2008 R2, generates installer error

I have written a C# WinForms application to install SQL Server 2012 Express with SP4 on the end-user’s computer and then read-write to it.
My goal is for this distributed App to install SQL on Windows Vista, 7, 8, 8.1, and
Windows 10.

It successfully installs on Windows 10 but not on Windows7.

I’ve checked the requirements for installing SQL on Windows 7 and the system I attempted to install it on has those requirements, i.e., Windows 7 SP1, .NET Framework 3.5 SP1, Windows Powershell 2.0.

The install proceeds without issue, until the very end, at which time it fails but doesn’t state why it’s failing.

I’m wondering if the issue is related to the bootstrapper package.xml file.
I modified this file, based on information from a Vista system and my own Windows10 system.

I’m probably grasping at straws here, but as the «install.log» file is unclear on why SQL fails, I’ve included my package.xml file for examination.

I based the «VersionNT» «FailIf» properties on a set of «Windows Version Numbers» I found Online.

Windows Version Numbers

I tried to use the values set forth for Windows 7 SP1, but those appear as «Version Number» «6.1.7601», which does not fall in line with what I found in the package.xml file.

Could someone tell me, from looking at my package.xml, if the values in this file are correct for installing SQL Server 2012 Service Pack 4 (SP4) Express on the aforementioned Windows systems?

The install reports: «Result of checks for command ‘SqlExpress2012SQLEXPR32_x86_ENU.EXE’ is ‘Install’.» But then ends up reporting: «Process exited with code -2068578304
Status of package » after install is ‘InstallUnknown’
Status of package ‘SQL Server 2012 Express’ after install is ‘InstallFailed’»

Here is my «package.xml» file. Perhaps something is missing or incomplete.

<?xml version=»1.0″ encoding=»utf-8″ ?>
<Package
  xmlns=»http://schemas.microsoft.com/developer/2004/01/bootstrapper»
  Name=»DisplayName»
  Culture=»Culture»
  LicenseAgreement=»eula.rtf»>

  <PackageFiles CopyAllPackageFiles=»false»>
    <PackageFile Name=»SQLEXPR32_x86_ENU.EXE» HomeSite=»SqlExpr32Exe» PublicKey=»3082010a0282010100db4b8be9036a5fc81b5d0a0539e4d50e92d0c4e18be8a40d051958c03cd729dd89b7686e4b9f7ebc9abd548639a9f1383516e61dacfbae6bdc0930efb81edf6cf84a9a559748c82389b3592734bd9531479c0fce40353237fee9f34fa41aa4b379bc809b3f2498c4d16fd57fe7438de4dcf2d2e6ae66ed043a2194a657dc03db2cc61bff2b39a85dbf55fedd49df540594ab33dfa47d31a64dbd56cf1631683f846b1c6df3eed5308aee651b9eb7081c297e93bdf27d42763822d47b7cf4b8b9719ec394f482863582a674bd0233fa548685a325beaa895ee2395f2641981adeb9e6468578bb51320247ece4f91fbd045175e6129b76eb859714220aa113f7610203010001″/>
    <PackageFile Name=»SQLEXPR_x64_ENU.EXE» HomeSite=»SqlExpr64Exe» PublicKey=»3082010a0282010100db4b8be9036a5fc81b5d0a0539e4d50e92d0c4e18be8a40d051958c03cd729dd89b7686e4b9f7ebc9abd548639a9f1383516e61dacfbae6bdc0930efb81edf6cf84a9a559748c82389b3592734bd9531479c0fce40353237fee9f34fa41aa4b379bc809b3f2498c4d16fd57fe7438de4dcf2d2e6ae66ed043a2194a657dc03db2cc61bff2b39a85dbf55fedd49df540594ab33dfa47d31a64dbd56cf1631683f846b1c6df3eed5308aee651b9eb7081c297e93bdf27d42763822d47b7cf4b8b9719ec394f482863582a674bd0233fa548685a325beaa895ee2395f2641981adeb9e6468578bb51320247ece4f91fbd045175e6129b76eb859714220aa113f7610203010001″/>
    <PackageFile Name=»eula.rtf»/>
  </PackageFiles>

  <InstallChecks>
    <ExternalCheck Property=»SQLExpressChk» PackageFile=»SqlExpressChk.exe» Arguments=»11.0.7001 1033″/>
  </InstallChecks>

  <Commands Reboot=»Defer»>

    <!— Defines a new installation (x86) —>
    <Command PackageFile=»SQLEXPR32_x86_ENU.EXE»
         Arguments=’/q /hideconsole /action=Install /features=SQL /instancename=SQLEXPRESS /enableranu=1 /sqlsvcaccount=»LocalSystem» /AddCurrentUserAsSqlAdmin /IAcceptSqlServerLicenseTerms /skiprules=RebootRequiredCheck’
         EstimatedInstalledBytes=»225000000″
         EstimatedInstallSeconds=»420″>
      <InstallConditions>
        <FailIf Property=»VersionNT» Compare=»ValueNotExists» String=»InvalidPlatformOS»/>
        <FailIf Property=»VersionNT» Compare=»VersionLessThan» Value=»5.1.2″ String=»InvalidPlatformXP»/>
        <FailIf Property=»VersionNT» Compare=»VersionEqualTo» Value=»5.2.0″ String=»InvalidPlatform2K3″/>
        <FailIf Property=»VersionNT» Compare=»VersionEqualTo» Value=»5.2.1″ String=»InvalidPlatform2K3″/>
        <FailIf Property=»VersionNT» Compare=»VersionEqualTo» Value=»6.0.0″ String=»InvalidPlatformOSServicePack»/>
        <FailIf Property=»VersionNT» Compare=»VersionEqualTo» Value=»6.0.1″ String=»InvalidPlatformOSServicePack»/>
        <FailIf Property=»VersionNT» Compare=»VersionEqualTo» Value=»6.1.0″ String=»InvalidPlatformOSServicePack»/>
        <FailIf Property=»AdminUser» Compare=»ValueEqualTo» Value=»false» String=»AdminRequired»/>
        <FailIf Property=»SQLExpressChk» Compare=»ValueEqualTo» Value=»-1″ String=»InvalidUpgradeNotExpress»/>
        <FailIf Property=»SQLExpressChk» Compare=»ValueEqualTo» Value=»-2″ String=»InvalidUpgradeNotExpressCore»/>
        <FailIf Property=»SQLExpressChk» Compare=»ValueEqualTo» Value=»-3″ String=»InvalidUpgradeLanguage»/>
        <FailIf Property=»SQLExpressChk» Compare=»ValueEqualTo» Value=»-4″ String=»InvalidUpgradeWoW»/>
        <FailIf Property=»SQLExpressChk» Compare=»ValueLessThan» Value=»-4″ String=»GeneralFailure»/>
        <BypassIf Property=»ProcessorArchitecture» Compare=»ValueNotEqualTo» Value=»Intel»/>
        <BypassIf Property=»SQLExpressChk» Compare=»ValueNotEqualTo» Value=»1″/>
      </InstallConditions>
      <ExitCodes>
        <ExitCode Value=»0″ Result=»Success»/>
        <ExitCode Value=»1641″ Result=»SuccessReboot»/>
        <ExitCode Value=»3010″ Result=»SuccessReboot»/>
        <!— 0x84BE0BC2 (1214,3010) —>
        <ExitCode Value=»-2067919934″ Result=»FailReboot»/>
        <!— 0x84C10BC2 (1217,3010) —>
        <ExitCode Value=»-2067723326″ Result=»FailReboot»/>
        <!— 0x84BE0007 (1214,7) —>
        <ExitCode Value=»-2067922937″ Result=»Fail» String=»AdminRequired»/>
        <!— 0x84C4001F (1220,31) —>
        <ExitCode Value=»-2067529697″ Result=»Fail» String=»AdminRequired»/>
        <!— 0x84BE0001 (1214,1)—>
        <ExitCode Value=»-2067922943″ Result=»Fail» String=»InvalidPlatformOSServicePack»/>
        <!— 0x84C4000E (1220,14) —>
        <ExitCode Value=»-2067529714″ Result=»Fail» String=»InvalidPlatformOSLanguage»/>
        <!— 0x84C4000B (1220,11) —>
        <ExitCode Value=»-2067529717″ Result=»Fail» String=»AnotherInstanceRunning»/>
        <!— 0x84BE01F8 (1214,504) —>
        <ExitCode Value=»-2067922440″ Result=»Fail» String=»BetaComponentsFailure»/>
        <!— 0x84BE01FA (1214,506) —>
        <ExitCode Value=»-2067922438″ Result=»Fail» String=»BetaComponentsFailure»/>
        <!— 0x84BE0202 (1214,514) —>
        <ExitCode Value=»-2067922430″ Result=»Fail» String=»InvalidPlatformArchitecture»/>
        <!— 0x84BE0203 (1214,515) —>
        <ExitCode Value=»-2067922429″ Result=»Fail» String=»InvalidPlatformArchitecture»/>
        <ExitCode Value=»216″ Result=»Fail» String=»InvalidPlatformArchitecture»/>
        <DefaultExitCode Result=»Fail» FormatMessageFromSystem=»true» String=»GeneralFailure» />
      </ExitCodes>
    </Command>

    <!— Defines an upgrade installation (x86) —>
    <Command PackageFile=»SQLEXPR32_x86_ENU.EXE»
         Arguments=»/q /hideconsole /action=Upgrade /instancename=SQLEXPRESS /IAcceptSqlServerLicenseTerms /skiprules=RebootRequiredCheck»
         EstimatedInstalledBytes=»225000000″
         EstimatedInstallSeconds=»420″>
      <InstallConditions>
        <BypassIf Property=»ProcessorArchitecture» Compare=»ValueNotEqualTo» Value=»Intel»/>
        <BypassIf Property=»SQLExpressChk» Compare=»ValueNotEqualTo» Value=»2″/>
      </InstallConditions>
      <ExitCodes>
        <ExitCode Value=»0″ Result=»Success»/>
        <ExitCode Value=»1641″ Result=»SuccessReboot»/>
        <ExitCode Value=»3010″ Result=»SuccessReboot»/>
        <!— 0x84BE0BC2 (1214,3010) —>
        <ExitCode Value=»-2067919934″ Result=»FailReboot»/>
        <!— 0x84C10BC2 (1217,3010) —>
        <ExitCode Value=»-2067723326″ Result=»FailReboot»/>
        <!— 0x84BE0007 (1214,7) —>
        <ExitCode Value=»-2067922937″ Result=»Fail» String=»AdminRequired»/>
        <!— 0x84C4001F (1220,31) —>
        <ExitCode Value=»-2067529697″ Result=»Fail» String=»AdminRequired»/>
        <!— 0x84BE0001 (1214,1)—>
        <ExitCode Value=»-2067922943″ Result=»Fail» String=»InvalidPlatformOSServicePack»/>
        <!— 0x84C4000E (1220,14) —>
        <ExitCode Value=»-2067529714″ Result=»Fail» String=»InvalidPlatformOSLanguage»/>
        <!— 0x84C4000B (1220,11) —>
        <ExitCode Value=»-2067529717″ Result=»Fail» String=»AnotherInstanceRunning»/>
        <!— 0x84BE01F8 (1214,504) —>
        <ExitCode Value=»-2067922440″ Result=»Fail» String=»BetaComponentsFailure»/>
        <!— 0x84BE01FA (1214,506) —>
        <ExitCode Value=»-2067922438″ Result=»Fail» String=»BetaComponentsFailure»/>
        <!— 0x84BE0202 (1214,514) —>
        <ExitCode Value=»-2067922430″ Result=»Fail» String=»InvalidPlatformArchitecture»/>
        <!— 0x84BE0203 (1214,515) —>
        <ExitCode Value=»-2067922429″ Result=»Fail» String=»InvalidPlatformArchitecture»/>
        <ExitCode Value=»216″ Result=»Fail» String=»InvalidPlatformArchitecture»/>
        <DefaultExitCode Result=»Fail» FormatMessageFromSystem=»true» String=»GeneralFailure» />
      </ExitCodes>
    </Command>

    <!— Defines a new installation (amd64) —>
    <Command PackageFile=»SQLEXPR_x64_ENU.EXE»
         Arguments=’/q /hideconsole /action=Install /features=SQL /instancename=SQLEXPRESS /enableranu=1 /sqlsvcaccount=»LocalSystem» /AddCurrentUserAsSqlAdmin /IAcceptSqlServerLicenseTerms /skiprules=RebootRequiredCheck’
         EstimatedInstalledBytes=»225000000″
         EstimatedInstallSeconds=»420″>
      <InstallConditions>
        <BypassIf Property=»ProcessorArchitecture» Compare=»ValueNotEqualTo» Value=»amd64″/>
        <BypassIf Property=»SQLExpressChk» Compare=»ValueNotEqualTo» Value=»1″/>
      </InstallConditions>
      <ExitCodes>
        <ExitCode Value=»0″ Result=»Success»/>
        <ExitCode Value=»1641″ Result=»SuccessReboot»/>
        <ExitCode Value=»3010″ Result=»SuccessReboot»/>
        <!— 0x84BE0BC2 (1214,3010) —>
        <ExitCode Value=»-2067919934″ Result=»FailReboot»/>
        <!— 0x84C10BC2 (1217,3010) —>
        <ExitCode Value=»-2067723326″ Result=»FailReboot»/>
        <!— 0x84BE0007 (1214,7) —>
        <ExitCode Value=»-2067922937″ Result=»Fail» String=»AdminRequired»/>
        <!— 0x84C4001F (1220,31) —>
        <ExitCode Value=»-2067529697″ Result=»Fail» String=»AdminRequired»/>
        <!— 0x84BE0001 (1214,1)—>
        <ExitCode Value=»-2067922943″ Result=»Fail» String=»InvalidPlatformOSServicePack»/>
        <!— 0x84C4000E (1220,14) —>
        <ExitCode Value=»-2067529714″ Result=»Fail» String=»InvalidPlatformOSLanguage»/>
        <!— 0x84C4000B (1220,11) —>
        <ExitCode Value=»-2067529717″ Result=»Fail» String=»AnotherInstanceRunning»/>
        <!— 0x84BE01F8 (1214,504) —>
        <ExitCode Value=»-2067922440″ Result=»Fail» String=»BetaComponentsFailure»/>
        <!— 0x84BE01FA (1214,506) —>
        <ExitCode Value=»-2067922438″ Result=»Fail» String=»BetaComponentsFailure»/>
        <!— 0x84BE0202 (1214,514) —>
        <ExitCode Value=»-2067922430″ Result=»Fail» String=»InvalidPlatformArchitecture»/>
        <!— 0x84BE0203 (1214,515) —>
        <ExitCode Value=»-2067922429″ Result=»Fail» String=»InvalidPlatformArchitecture»/>
        <ExitCode Value=»216″ Result=»Fail» String=»InvalidPlatformArchitecture»/>
        <DefaultExitCode Result=»Fail» FormatMessageFromSystem=»true» String=»GeneralFailure» />
      </ExitCodes>
    </Command>

    <!— Defines an upgrade installation (amd64) —>
    <Command PackageFile=»SQLEXPR_x64_ENU.EXE»
         Arguments=»/q /hideconsole /action=Upgrade /instancename=SQLEXPRESS /IAcceptSqlServerLicenseTerms /skiprules=RebootRequiredCheck»
         EstimatedInstalledBytes=»225000000″
         EstimatedInstallSeconds=»420″>
      <InstallConditions>
        <BypassIf Property=»ProcessorArchitecture» Compare=»ValueNotEqualTo» Value=»amd64″/>
        <BypassIf Property=»SQLExpressChk» Compare=»ValueNotEqualTo» Value=»2″/>
      </InstallConditions>
      <ExitCodes>
        <ExitCode Value=»0″ Result=»Success»/>
        <ExitCode Value=»1641″ Result=»SuccessReboot»/>
        <ExitCode Value=»3010″ Result=»SuccessReboot»/>
        <!— 0x84BE0BC2 (1214,3010) —>
        <ExitCode Value=»-2067919934″ Result=»FailReboot»/>
        <!— 0x84C10BC2 (1217,3010) —>
        <ExitCode Value=»-2067723326″ Result=»FailReboot»/>
        <!— 0x84BE0007 (1214,7) —>
        <ExitCode Value=»-2067922937″ Result=»Fail» String=»AdminRequired»/>
        <!— 0x84C4001F (1220,31) —>
        <ExitCode Value=»-2067529697″ Result=»Fail» String=»AdminRequired»/>
        <!— 0x84BE0001 (1214,1)—>
        <ExitCode Value=»-2067922943″ Result=»Fail» String=»InvalidPlatformOSServicePack»/>
        <!— 0x84C4000E (1220,14) —>
        <ExitCode Value=»-2067529714″ Result=»Fail» String=»InvalidPlatformOSLanguage»/>
        <!— 0x84C4000B (1220,11) —>
        <ExitCode Value=»-2067529717″ Result=»Fail» String=»AnotherInstanceRunning»/>
        <!— 0x84BE01F8 (1214,504) —>
        <ExitCode Value=»-2067922440″ Result=»Fail» String=»BetaComponentsFailure»/>
        <!— 0x84BE01FA (1214,506) —>
        <ExitCode Value=»-2067922438″ Result=»Fail» String=»BetaComponentsFailure»/>
        <!— 0x84BE0202 (1214,514) —>
        <ExitCode Value=»-2067922430″ Result=»Fail» String=»InvalidPlatformArchitecture»/>
        <!— 0x84BE0203 (1214,515) —>
        <ExitCode Value=»-2067922429″ Result=»Fail» String=»InvalidPlatformArchitecture»/>
        <ExitCode Value=»216″ Result=»Fail» String=»InvalidPlatformArchitecture»/>
        <DefaultExitCode Result=»Fail» FormatMessageFromSystem=»true» String=»GeneralFailure» />
      </ExitCodes>
    </Command>

  </Commands>

  <Strings>
    <String Name=»DisplayName»>SQL Server 2012 Express</String>
    <String Name=»Culture»>en</String>
    <String Name=»SqlExpr32Exe»>http://go.microsoft.com/fwlink/?LinkID=230852&amp;clcid=0x409</String>
    <String Name=»SqlExpr64Exe»>http://go.microsoft.com/fwlink/?LinkID=230853&amp;clcid=0x409</String>
    <String Name=»AdminRequired»>You do not have the permissions required to install SQL Server 2012 Express. Please contact your administrator.</String>
    <String Name=»GeneralFailure»>An error occurred attempting to install SQL Server 2012 Express.</String>
    <String Name=»InvalidPlatformOS»>The current operating system version does not support SQL Server 2012 Express.</String>
    <String Name=»InvalidPlatformOSServicePack»>The current operating system does not meet Service Pack level requirements for SQL Server 2012 Express. Install the most recent Service Pack from the Microsoft download center at
http://www.microsoft.com/downloads before continuing setup.</String>
    <String Name=»InvalidPlatformOSLanguage»>The English version of SQL Server 2012 Express can only be installed on a Windows operating system of the same language.</String>
    <String Name=»AnotherInstanceRunning»>Another instance of setup is already running. The running instance must complete before this setup can proceed.</String>
    <String Name=»BetaComponentsFailure»>A beta version of the .NET Framework or SQL Server was detected on the computer. Uninstall any previous beta versions of SQL Server 2012 components, SQL Server Support Files, or .NET Framework
before continuing.</String>
    <String Name=»InvalidPlatformArchitecture»>This version of SQL Server 2012 Express is not supported for the current processor architecture.</String>
    <String Name=»InvalidUpgradeNotExpress»>The instance of SQL Server named ‘SQLEXPRESS’ is a not an instance of SQL Server Express. It cannot be upgraded to SQL Server 2012 Express.</String>
    <String Name=»InvalidUpgradeNotExpressCore»>The instance of SQL Server Express named ‘SQLEXPRESS’ contains components that are not included in SQL Server 2012 Express. SQL Server 2012 Express cannot upgrade this instance.
Please use SQL Server 2012 Express with Advanced Services instead.</String>
    <String Name=»InvalidUpgradeLanguage»>The instance of SQL Server Express named ‘SQLEXPRESS’ is a different language version than this SQL Server 2012 Express. SQL Server 2012 Express cannot upgrade this instance.</String>
    <String Name=»InvalidUpgradeWoW»>SQL Server 2012 Express (x64) cannot upgrade the existing instance of SQL Server Express (x64 WoW) named ‘SQLEXPRESS’. Uninstall this instance of SQL Server Express and retry installing SQL
Server 2012 Express (x64).</String>
  </Strings>
</Package>

I have written a C# WinForms application to install SQL Server 2012 Express with SP4 on the end-user’s computer and then read-write to it.
My goal is for this distributed App to install SQL on Windows Vista, 7, 8, 8.1, and
Windows 10.

It successfully installs on Windows 10 but not on Windows7.

I’ve checked the requirements for installing SQL on Windows 7 and the system I attempted to install it on has those requirements, i.e., Windows 7 SP1, .NET Framework 3.5 SP1, Windows Powershell 2.0.

The install proceeds without issue, until the very end, at which time it fails but doesn’t state why it’s failing.

I’m wondering if the issue is related to the bootstrapper package.xml file.
I modified this file, based on information from a Vista system and my own Windows10 system.

I’m probably grasping at straws here, but as the «install.log» file is unclear on why SQL fails, I’ve included my package.xml file for examination.

I based the «VersionNT» «FailIf» properties on a set of «Windows Version Numbers» I found Online.

Windows Version Numbers

I tried to use the values set forth for Windows 7 SP1, but those appear as «Version Number» «6.1.7601», which does not fall in line with what I found in the package.xml file.

Could someone tell me, from looking at my package.xml, if the values in this file are correct for installing SQL Server 2012 Service Pack 4 (SP4) Express on the aforementioned Windows systems?

The install reports: «Result of checks for command ‘SqlExpress2012SQLEXPR32_x86_ENU.EXE’ is ‘Install’.» But then ends up reporting: «Process exited with code -2068578304
Status of package » after install is ‘InstallUnknown’
Status of package ‘SQL Server 2012 Express’ after install is ‘InstallFailed’»

Here is my «package.xml» file. Perhaps something is missing or incomplete.

<?xml version=»1.0″ encoding=»utf-8″ ?>
<Package
  xmlns=»http://schemas.microsoft.com/developer/2004/01/bootstrapper»
  Name=»DisplayName»
  Culture=»Culture»
  LicenseAgreement=»eula.rtf»>

  <PackageFiles CopyAllPackageFiles=»false»>
    <PackageFile Name=»SQLEXPR32_x86_ENU.EXE» HomeSite=»SqlExpr32Exe» PublicKey=»3082010a0282010100db4b8be9036a5fc81b5d0a0539e4d50e92d0c4e18be8a40d051958c03cd729dd89b7686e4b9f7ebc9abd548639a9f1383516e61dacfbae6bdc0930efb81edf6cf84a9a559748c82389b3592734bd9531479c0fce40353237fee9f34fa41aa4b379bc809b3f2498c4d16fd57fe7438de4dcf2d2e6ae66ed043a2194a657dc03db2cc61bff2b39a85dbf55fedd49df540594ab33dfa47d31a64dbd56cf1631683f846b1c6df3eed5308aee651b9eb7081c297e93bdf27d42763822d47b7cf4b8b9719ec394f482863582a674bd0233fa548685a325beaa895ee2395f2641981adeb9e6468578bb51320247ece4f91fbd045175e6129b76eb859714220aa113f7610203010001″/>
    <PackageFile Name=»SQLEXPR_x64_ENU.EXE» HomeSite=»SqlExpr64Exe» PublicKey=»3082010a0282010100db4b8be9036a5fc81b5d0a0539e4d50e92d0c4e18be8a40d051958c03cd729dd89b7686e4b9f7ebc9abd548639a9f1383516e61dacfbae6bdc0930efb81edf6cf84a9a559748c82389b3592734bd9531479c0fce40353237fee9f34fa41aa4b379bc809b3f2498c4d16fd57fe7438de4dcf2d2e6ae66ed043a2194a657dc03db2cc61bff2b39a85dbf55fedd49df540594ab33dfa47d31a64dbd56cf1631683f846b1c6df3eed5308aee651b9eb7081c297e93bdf27d42763822d47b7cf4b8b9719ec394f482863582a674bd0233fa548685a325beaa895ee2395f2641981adeb9e6468578bb51320247ece4f91fbd045175e6129b76eb859714220aa113f7610203010001″/>
    <PackageFile Name=»eula.rtf»/>
  </PackageFiles>

  <InstallChecks>
    <ExternalCheck Property=»SQLExpressChk» PackageFile=»SqlExpressChk.exe» Arguments=»11.0.7001 1033″/>
  </InstallChecks>

  <Commands Reboot=»Defer»>

    <!— Defines a new installation (x86) —>
    <Command PackageFile=»SQLEXPR32_x86_ENU.EXE»
         Arguments=’/q /hideconsole /action=Install /features=SQL /instancename=SQLEXPRESS /enableranu=1 /sqlsvcaccount=»LocalSystem» /AddCurrentUserAsSqlAdmin /IAcceptSqlServerLicenseTerms /skiprules=RebootRequiredCheck’
         EstimatedInstalledBytes=»225000000″
         EstimatedInstallSeconds=»420″>
      <InstallConditions>
        <FailIf Property=»VersionNT» Compare=»ValueNotExists» String=»InvalidPlatformOS»/>
        <FailIf Property=»VersionNT» Compare=»VersionLessThan» Value=»5.1.2″ String=»InvalidPlatformXP»/>
        <FailIf Property=»VersionNT» Compare=»VersionEqualTo» Value=»5.2.0″ String=»InvalidPlatform2K3″/>
        <FailIf Property=»VersionNT» Compare=»VersionEqualTo» Value=»5.2.1″ String=»InvalidPlatform2K3″/>
        <FailIf Property=»VersionNT» Compare=»VersionEqualTo» Value=»6.0.0″ String=»InvalidPlatformOSServicePack»/>
        <FailIf Property=»VersionNT» Compare=»VersionEqualTo» Value=»6.0.1″ String=»InvalidPlatformOSServicePack»/>
        <FailIf Property=»VersionNT» Compare=»VersionEqualTo» Value=»6.1.0″ String=»InvalidPlatformOSServicePack»/>
        <FailIf Property=»AdminUser» Compare=»ValueEqualTo» Value=»false» String=»AdminRequired»/>
        <FailIf Property=»SQLExpressChk» Compare=»ValueEqualTo» Value=»-1″ String=»InvalidUpgradeNotExpress»/>
        <FailIf Property=»SQLExpressChk» Compare=»ValueEqualTo» Value=»-2″ String=»InvalidUpgradeNotExpressCore»/>
        <FailIf Property=»SQLExpressChk» Compare=»ValueEqualTo» Value=»-3″ String=»InvalidUpgradeLanguage»/>
        <FailIf Property=»SQLExpressChk» Compare=»ValueEqualTo» Value=»-4″ String=»InvalidUpgradeWoW»/>
        <FailIf Property=»SQLExpressChk» Compare=»ValueLessThan» Value=»-4″ String=»GeneralFailure»/>
        <BypassIf Property=»ProcessorArchitecture» Compare=»ValueNotEqualTo» Value=»Intel»/>
        <BypassIf Property=»SQLExpressChk» Compare=»ValueNotEqualTo» Value=»1″/>
      </InstallConditions>
      <ExitCodes>
        <ExitCode Value=»0″ Result=»Success»/>
        <ExitCode Value=»1641″ Result=»SuccessReboot»/>
        <ExitCode Value=»3010″ Result=»SuccessReboot»/>
        <!— 0x84BE0BC2 (1214,3010) —>
        <ExitCode Value=»-2067919934″ Result=»FailReboot»/>
        <!— 0x84C10BC2 (1217,3010) —>
        <ExitCode Value=»-2067723326″ Result=»FailReboot»/>
        <!— 0x84BE0007 (1214,7) —>
        <ExitCode Value=»-2067922937″ Result=»Fail» String=»AdminRequired»/>
        <!— 0x84C4001F (1220,31) —>
        <ExitCode Value=»-2067529697″ Result=»Fail» String=»AdminRequired»/>
        <!— 0x84BE0001 (1214,1)—>
        <ExitCode Value=»-2067922943″ Result=»Fail» String=»InvalidPlatformOSServicePack»/>
        <!— 0x84C4000E (1220,14) —>
        <ExitCode Value=»-2067529714″ Result=»Fail» String=»InvalidPlatformOSLanguage»/>
        <!— 0x84C4000B (1220,11) —>
        <ExitCode Value=»-2067529717″ Result=»Fail» String=»AnotherInstanceRunning»/>
        <!— 0x84BE01F8 (1214,504) —>
        <ExitCode Value=»-2067922440″ Result=»Fail» String=»BetaComponentsFailure»/>
        <!— 0x84BE01FA (1214,506) —>
        <ExitCode Value=»-2067922438″ Result=»Fail» String=»BetaComponentsFailure»/>
        <!— 0x84BE0202 (1214,514) —>
        <ExitCode Value=»-2067922430″ Result=»Fail» String=»InvalidPlatformArchitecture»/>
        <!— 0x84BE0203 (1214,515) —>
        <ExitCode Value=»-2067922429″ Result=»Fail» String=»InvalidPlatformArchitecture»/>
        <ExitCode Value=»216″ Result=»Fail» String=»InvalidPlatformArchitecture»/>
        <DefaultExitCode Result=»Fail» FormatMessageFromSystem=»true» String=»GeneralFailure» />
      </ExitCodes>
    </Command>

    <!— Defines an upgrade installation (x86) —>
    <Command PackageFile=»SQLEXPR32_x86_ENU.EXE»
         Arguments=»/q /hideconsole /action=Upgrade /instancename=SQLEXPRESS /IAcceptSqlServerLicenseTerms /skiprules=RebootRequiredCheck»
         EstimatedInstalledBytes=»225000000″
         EstimatedInstallSeconds=»420″>
      <InstallConditions>
        <BypassIf Property=»ProcessorArchitecture» Compare=»ValueNotEqualTo» Value=»Intel»/>
        <BypassIf Property=»SQLExpressChk» Compare=»ValueNotEqualTo» Value=»2″/>
      </InstallConditions>
      <ExitCodes>
        <ExitCode Value=»0″ Result=»Success»/>
        <ExitCode Value=»1641″ Result=»SuccessReboot»/>
        <ExitCode Value=»3010″ Result=»SuccessReboot»/>
        <!— 0x84BE0BC2 (1214,3010) —>
        <ExitCode Value=»-2067919934″ Result=»FailReboot»/>
        <!— 0x84C10BC2 (1217,3010) —>
        <ExitCode Value=»-2067723326″ Result=»FailReboot»/>
        <!— 0x84BE0007 (1214,7) —>
        <ExitCode Value=»-2067922937″ Result=»Fail» String=»AdminRequired»/>
        <!— 0x84C4001F (1220,31) —>
        <ExitCode Value=»-2067529697″ Result=»Fail» String=»AdminRequired»/>
        <!— 0x84BE0001 (1214,1)—>
        <ExitCode Value=»-2067922943″ Result=»Fail» String=»InvalidPlatformOSServicePack»/>
        <!— 0x84C4000E (1220,14) —>
        <ExitCode Value=»-2067529714″ Result=»Fail» String=»InvalidPlatformOSLanguage»/>
        <!— 0x84C4000B (1220,11) —>
        <ExitCode Value=»-2067529717″ Result=»Fail» String=»AnotherInstanceRunning»/>
        <!— 0x84BE01F8 (1214,504) —>
        <ExitCode Value=»-2067922440″ Result=»Fail» String=»BetaComponentsFailure»/>
        <!— 0x84BE01FA (1214,506) —>
        <ExitCode Value=»-2067922438″ Result=»Fail» String=»BetaComponentsFailure»/>
        <!— 0x84BE0202 (1214,514) —>
        <ExitCode Value=»-2067922430″ Result=»Fail» String=»InvalidPlatformArchitecture»/>
        <!— 0x84BE0203 (1214,515) —>
        <ExitCode Value=»-2067922429″ Result=»Fail» String=»InvalidPlatformArchitecture»/>
        <ExitCode Value=»216″ Result=»Fail» String=»InvalidPlatformArchitecture»/>
        <DefaultExitCode Result=»Fail» FormatMessageFromSystem=»true» String=»GeneralFailure» />
      </ExitCodes>
    </Command>

    <!— Defines a new installation (amd64) —>
    <Command PackageFile=»SQLEXPR_x64_ENU.EXE»
         Arguments=’/q /hideconsole /action=Install /features=SQL /instancename=SQLEXPRESS /enableranu=1 /sqlsvcaccount=»LocalSystem» /AddCurrentUserAsSqlAdmin /IAcceptSqlServerLicenseTerms /skiprules=RebootRequiredCheck’
         EstimatedInstalledBytes=»225000000″
         EstimatedInstallSeconds=»420″>
      <InstallConditions>
        <BypassIf Property=»ProcessorArchitecture» Compare=»ValueNotEqualTo» Value=»amd64″/>
        <BypassIf Property=»SQLExpressChk» Compare=»ValueNotEqualTo» Value=»1″/>
      </InstallConditions>
      <ExitCodes>
        <ExitCode Value=»0″ Result=»Success»/>
        <ExitCode Value=»1641″ Result=»SuccessReboot»/>
        <ExitCode Value=»3010″ Result=»SuccessReboot»/>
        <!— 0x84BE0BC2 (1214,3010) —>
        <ExitCode Value=»-2067919934″ Result=»FailReboot»/>
        <!— 0x84C10BC2 (1217,3010) —>
        <ExitCode Value=»-2067723326″ Result=»FailReboot»/>
        <!— 0x84BE0007 (1214,7) —>
        <ExitCode Value=»-2067922937″ Result=»Fail» String=»AdminRequired»/>
        <!— 0x84C4001F (1220,31) —>
        <ExitCode Value=»-2067529697″ Result=»Fail» String=»AdminRequired»/>
        <!— 0x84BE0001 (1214,1)—>
        <ExitCode Value=»-2067922943″ Result=»Fail» String=»InvalidPlatformOSServicePack»/>
        <!— 0x84C4000E (1220,14) —>
        <ExitCode Value=»-2067529714″ Result=»Fail» String=»InvalidPlatformOSLanguage»/>
        <!— 0x84C4000B (1220,11) —>
        <ExitCode Value=»-2067529717″ Result=»Fail» String=»AnotherInstanceRunning»/>
        <!— 0x84BE01F8 (1214,504) —>
        <ExitCode Value=»-2067922440″ Result=»Fail» String=»BetaComponentsFailure»/>
        <!— 0x84BE01FA (1214,506) —>
        <ExitCode Value=»-2067922438″ Result=»Fail» String=»BetaComponentsFailure»/>
        <!— 0x84BE0202 (1214,514) —>
        <ExitCode Value=»-2067922430″ Result=»Fail» String=»InvalidPlatformArchitecture»/>
        <!— 0x84BE0203 (1214,515) —>
        <ExitCode Value=»-2067922429″ Result=»Fail» String=»InvalidPlatformArchitecture»/>
        <ExitCode Value=»216″ Result=»Fail» String=»InvalidPlatformArchitecture»/>
        <DefaultExitCode Result=»Fail» FormatMessageFromSystem=»true» String=»GeneralFailure» />
      </ExitCodes>
    </Command>

    <!— Defines an upgrade installation (amd64) —>
    <Command PackageFile=»SQLEXPR_x64_ENU.EXE»
         Arguments=»/q /hideconsole /action=Upgrade /instancename=SQLEXPRESS /IAcceptSqlServerLicenseTerms /skiprules=RebootRequiredCheck»
         EstimatedInstalledBytes=»225000000″
         EstimatedInstallSeconds=»420″>
      <InstallConditions>
        <BypassIf Property=»ProcessorArchitecture» Compare=»ValueNotEqualTo» Value=»amd64″/>
        <BypassIf Property=»SQLExpressChk» Compare=»ValueNotEqualTo» Value=»2″/>
      </InstallConditions>
      <ExitCodes>
        <ExitCode Value=»0″ Result=»Success»/>
        <ExitCode Value=»1641″ Result=»SuccessReboot»/>
        <ExitCode Value=»3010″ Result=»SuccessReboot»/>
        <!— 0x84BE0BC2 (1214,3010) —>
        <ExitCode Value=»-2067919934″ Result=»FailReboot»/>
        <!— 0x84C10BC2 (1217,3010) —>
        <ExitCode Value=»-2067723326″ Result=»FailReboot»/>
        <!— 0x84BE0007 (1214,7) —>
        <ExitCode Value=»-2067922937″ Result=»Fail» String=»AdminRequired»/>
        <!— 0x84C4001F (1220,31) —>
        <ExitCode Value=»-2067529697″ Result=»Fail» String=»AdminRequired»/>
        <!— 0x84BE0001 (1214,1)—>
        <ExitCode Value=»-2067922943″ Result=»Fail» String=»InvalidPlatformOSServicePack»/>
        <!— 0x84C4000E (1220,14) —>
        <ExitCode Value=»-2067529714″ Result=»Fail» String=»InvalidPlatformOSLanguage»/>
        <!— 0x84C4000B (1220,11) —>
        <ExitCode Value=»-2067529717″ Result=»Fail» String=»AnotherInstanceRunning»/>
        <!— 0x84BE01F8 (1214,504) —>
        <ExitCode Value=»-2067922440″ Result=»Fail» String=»BetaComponentsFailure»/>
        <!— 0x84BE01FA (1214,506) —>
        <ExitCode Value=»-2067922438″ Result=»Fail» String=»BetaComponentsFailure»/>
        <!— 0x84BE0202 (1214,514) —>
        <ExitCode Value=»-2067922430″ Result=»Fail» String=»InvalidPlatformArchitecture»/>
        <!— 0x84BE0203 (1214,515) —>
        <ExitCode Value=»-2067922429″ Result=»Fail» String=»InvalidPlatformArchitecture»/>
        <ExitCode Value=»216″ Result=»Fail» String=»InvalidPlatformArchitecture»/>
        <DefaultExitCode Result=»Fail» FormatMessageFromSystem=»true» String=»GeneralFailure» />
      </ExitCodes>
    </Command>

  </Commands>

  <Strings>
    <String Name=»DisplayName»>SQL Server 2012 Express</String>
    <String Name=»Culture»>en</String>
    <String Name=»SqlExpr32Exe»>http://go.microsoft.com/fwlink/?LinkID=230852&amp;clcid=0x409</String>
    <String Name=»SqlExpr64Exe»>http://go.microsoft.com/fwlink/?LinkID=230853&amp;clcid=0x409</String>
    <String Name=»AdminRequired»>You do not have the permissions required to install SQL Server 2012 Express. Please contact your administrator.</String>
    <String Name=»GeneralFailure»>An error occurred attempting to install SQL Server 2012 Express.</String>
    <String Name=»InvalidPlatformOS»>The current operating system version does not support SQL Server 2012 Express.</String>
    <String Name=»InvalidPlatformOSServicePack»>The current operating system does not meet Service Pack level requirements for SQL Server 2012 Express. Install the most recent Service Pack from the Microsoft download center at
http://www.microsoft.com/downloads before continuing setup.</String>
    <String Name=»InvalidPlatformOSLanguage»>The English version of SQL Server 2012 Express can only be installed on a Windows operating system of the same language.</String>
    <String Name=»AnotherInstanceRunning»>Another instance of setup is already running. The running instance must complete before this setup can proceed.</String>
    <String Name=»BetaComponentsFailure»>A beta version of the .NET Framework or SQL Server was detected on the computer. Uninstall any previous beta versions of SQL Server 2012 components, SQL Server Support Files, or .NET Framework
before continuing.</String>
    <String Name=»InvalidPlatformArchitecture»>This version of SQL Server 2012 Express is not supported for the current processor architecture.</String>
    <String Name=»InvalidUpgradeNotExpress»>The instance of SQL Server named ‘SQLEXPRESS’ is a not an instance of SQL Server Express. It cannot be upgraded to SQL Server 2012 Express.</String>
    <String Name=»InvalidUpgradeNotExpressCore»>The instance of SQL Server Express named ‘SQLEXPRESS’ contains components that are not included in SQL Server 2012 Express. SQL Server 2012 Express cannot upgrade this instance.
Please use SQL Server 2012 Express with Advanced Services instead.</String>
    <String Name=»InvalidUpgradeLanguage»>The instance of SQL Server Express named ‘SQLEXPRESS’ is a different language version than this SQL Server 2012 Express. SQL Server 2012 Express cannot upgrade this instance.</String>
    <String Name=»InvalidUpgradeWoW»>SQL Server 2012 Express (x64) cannot upgrade the existing instance of SQL Server Express (x64 WoW) named ‘SQLEXPRESS’. Uninstall this instance of SQL Server Express and retry installing SQL
Server 2012 Express (x64).</String>
  </Strings>
</Package>

Системное администрирование

1
Посты

1
Пользователи

0
Likes

4,369
Просмотры

10-150 Okolokompa Форум

(@dom)

Сообщения: 200

Honorable Member

Я столкнулся с интересной ошибкой при установке MS SQL Server 2014 на новую виртуальную машину под управлением Windows Server 2012 R2. Установка SQL Server была прервана почти в конце с ошибкой « Не удалось найти дескриптор запуска компонента Database Engine ». 

В журнале установки SQL произошла следующая ошибка (файл summary.txt):

Особенность: Услуги СУБД
Статус: Ошибка: подробности см. В журналах.
Причина сбоя: во время процесса установки функции произошла ошибка.
Следующий шаг: используйте следующую информацию для устранения ошибки, удалите эту функцию, а затем снова запустите процесс установки.
Имя компонента: функции экземпляра служб СУБД SQL Server
Код ошибки компонента: 0x851A0019
Описание ошибки: не удалось найти дескриптор запуска компонента Database Engine.

Эта ошибка установки MS SQL Server связана со стандартными параметрами установки, когда SQL Server запускается под непривилегированной учетной записью NT Service MSSQL $ V2014 . Эта учетная запись может не иметь права на запуск службы SQL Server, поэтому она не может быть запущена, и установщик возвращает ошибку «Не удалось найти дескриптор запуска компонента Database Engine». Кроме того, эта ошибка может указывать на то, что кто-то уже пытался установить SQL Server на этот компьютер, а файлы или службы, оставшиеся после установки, не были удалены.

Чтобы исправить ошибку установки SQL Server:

  • Правильно удалите все программы, связанные с SQL Server, из панели управления и перезапустите сервер (убедитесь, что в папке C: Program Files Microsoft SQL Server MSSQL12.xxx нет файлов или папок).
  • Запустите установку из дистрибутива SQL Server с нуля. На вкладке Конфигурация сервера убедитесь, что служба ядра СУБД SQL Server запущена с учетной записью NT Service MSSQLSERVER;
  • Измените эту учетную запись на NT AUTHORITY SYSTEM;
  • Продолжите установку SQL Server. Ошибка не должна появиться снова.

После завершения установки мы настоятельно рекомендуем изменить учетную запись, под которой запускается компонент SQL Server Database Engine, на непривилегированную учетную запись.

Вам не нужно предоставлять этой учетной записи права локального администратора (достаточно предоставить необходимые привилегии в настройках безопасности SQL Server).

Вы можете использовать учетные записи с привилегиями системного администратора: NT Service MSSQLSERVICE или NT Service SQLSERVERAGENT.

Чтобы изменить учетную запись, под которой работает SQL Server:

  1. Запустите диспетчер конфигурации SQL Server и перейдите к службам SQL Server;
  2. Нажмите SQL Server (MSSQLSERVER), затем нажмите кнопку «Обзор» и в поле «Эта учетная запись» укажите учетную запись, под которой должна быть запущена служба, или используйте gMSA (учетная запись группы управляемых служб). Введите пароль пользователя и сохраните изменения;
  3. Перезапустите службы SQL Server.

Этот метод поможет вам исправить ошибку «Не удалось найти дескриптор запуска компонента Database Engine» во время установки любых версий SQL Server (2016, 2014, 2012 или 2008 r2).

Размещено : 03/03/2020 5:46 дп

I’m trying to install SQL Server 2012 Express on a computer with Windows Server 2012 Foundation, I must recall that this is an Active Directory domain controller but I cannot install the server on another computer.

I have the following error:

Wait on the Database Engine recovery handle failed. Check the SQL Server error log for potential causes.

This is my error log:

2015-04-08 15:40:43.55 Server      Microsoft SQL Server 2012 - 11.0.2100.60 (Intel X86) 
    Feb 10 2012 19:13:17 
    Copyright (c) Microsoft Corporation
    Express Edition on Windows NT 6.2 <X64> (Build 9200: ) (WOW64)

2015-04-08 15:40:43.55 Server      (c) Microsoft Corporation.
2015-04-08 15:40:43.55 Server      All rights reserved.
2015-04-08 15:40:43.55 Server      Server process ID is 4220.
2015-04-08 15:40:43.55 Server      System Manufacturer: 'Dell Inc.', System Model: 'PowerEdge T100'.
2015-04-08 15:40:43.55 Server      Authentication mode is WINDOWS-ONLY.
2015-04-08 15:40:43.55 Server      Logging SQL Server messages in file 'c:Program Files (x86)Microsoft SQL ServerMSSQL11.SQLEXPRESSMSSQLLogERRORLOG'.
2015-04-08 15:40:43.55 Server      The service account is 'NT ServiceMSSQL$SQLEXPRESS'. This is an informational message; no user action is required.
2015-04-08 15:40:43.55 Server      Registry startup parameters: 
     -d c:Program Files (x86)Microsoft SQL ServerMSSQL11.SQLEXPRESSMSSQLDATAmaster.mdf
     -e c:Program Files (x86)Microsoft SQL ServerMSSQL11.SQLEXPRESSMSSQLLogERRORLOG
     -l c:Program Files (x86)Microsoft SQL ServerMSSQL11.SQLEXPRESSMSSQLDATAmastlog.ldf
2015-04-08 15:40:43.55 Server      Command Line Startup Parameters:
     -s "SQLEXPRESS"
     -m "SqlSetup"
     -Q
     -q "Modern_Spanish_CI_AS"
     -T 4022
     -T 4010
     -T 3659
     -T 3610
     -T 8015
     -d "c:Program Files (x86)Microsoft SQL ServerMSSQL11.SQLEXPRESSMSSQLTemplate Datamaster.mdf"
     -l "c:Program Files (x86)Microsoft SQL ServerMSSQL11.SQLEXPRESSMSSQLTemplate Datamastlog.ldf"
2015-04-08 15:40:43.75 Server      SQL Server detected 1 sockets with 2 cores per socket and 2 logical processors per socket, 2 total logical processors; using 2 logical processors based on SQL Server licensing. This is an informational message; no user action is required.
2015-04-08 15:40:43.75 Server      SQL Server is starting at normal priority base (=7). This is an informational message only. No user action is required.
2015-04-08 15:40:43.75 Server      Detected 4086 MB of RAM. This is an informational message; no user action is required.
2015-04-08 15:40:43.75 Server      Using conventional memory in the memory manager.
2015-04-08 15:40:43.83 Server      Perfmon counters for resource governor pools and groups failed to initialize and are disabled.
2015-04-08 15:40:43.85 Server      This instance of SQL Server last reported using a process ID of 4372 at 08/04/2015 03:40:37 p. m. (local) 08/04/2015 08:40:37 p. m. (UTC). This is an informational message only; no user action is required.
2015-04-08 15:40:43.85 Server      Node configuration: node 0: CPU mask: 0x00000003:0 Active CPU mask: 0x00000003:0. This message provides a description of the NUMA configuration for this computer. This is an informational message only. No user action is required.
2015-04-08 15:40:43.86 Server      Using dynamic lock allocation.  Initial allocation of 2500 Lock blocks and 5000 Lock Owner blocks per node.  This is an informational message only.  No user action is required.
2015-04-08 15:40:43.87 Server      CLR version v4.0.30319 loaded.
2015-04-08 15:40:43.88 Server      Database Mirroring Transport is disabled in the endpoint configuration.
2015-04-08 15:40:43.88 Server      Software Usage Metrics is disabled.
2015-04-08 15:40:43.88 spid7s      Warning ******************
2015-04-08 15:40:43.88 spid7s      SQL Server started in single-user mode. This an informational message only. No user action is required.
2015-04-08 15:40:43.89 spid7s      Starting up database 'master'.
2015-04-08 15:40:43.93 Server      Common language runtime (CLR) functionality initialized using CLR version v4.0.30319 from C:WindowsMicrosoft.NETFrameworkv4.0.30319.
2015-04-08 15:40:43.97 spid7s      2 transactions rolled forward in database 'master' (1:0). This is an informational message only. No user action is required.
2015-04-08 15:40:44.16 spid7s      0 transactions rolled back in database 'master' (1:0). This is an informational message only. No user action is required.
2015-04-08 15:40:44.16 spid7s      Recovery is writing a checkpoint in database 'master' (1). This is an informational message only. No user action is required.
2015-04-08 15:40:44.39 spid7s      Service Master Key could not be decrypted using one of its encryptions. See sys.key_encryptions for details.
2015-04-08 15:40:44.44 spid7s      SQL Server Audit is starting the audits. This is an informational message. No user action is required.
2015-04-08 15:40:44.44 spid7s      SQL Server Audit has started the audits. This is an informational message. No user action is required.
2015-04-08 15:40:44.69 spid7s      SQL Trace ID 1 was started by login "sa".
2015-04-08 15:40:44.69 spid7s      Server name is 'SERVIDORSQLEXPRESS'. This is an informational message only. No user action is required.
2015-04-08 15:40:44.71 spid7s      Failed to verify Authenticode signature on DLL 'c:Program Files (x86)Microsoft SQL ServerMSSQL11.SQLEXPRESSMSSQLBinnftimport.dll'.
2015-04-08 15:40:44.71 spid9s      Starting up database 'mssqlsystemresource'.
2015-04-08 15:40:44.83 spid7s      Starting up database 'msdb'.
2015-04-08 15:40:44.87 spid9s      The resource database build version is 11.00.2100. This is an informational message only. No user action is required.
2015-04-08 15:40:44.98 spid7s      1 transactions rolled forward in database 'msdb' (4:0). This is an informational message only. No user action is required.
2015-04-08 15:40:45.09 spid9s      Starting up database 'model'.
2015-04-08 15:40:45.13 spid7s      0 transactions rolled back in database 'msdb' (4:0). This is an informational message only. No user action is required.
2015-04-08 15:40:45.41 spid9s      Clearing tempdb database.
2015-04-08 15:40:46.82 spid11s     Error: 17190, Severity: 16, State: 1.
2015-04-08 15:40:46.82 spid11s     Initializing the FallBack certificate failed with error code: 1, state: 20, error number: 0.
2015-04-08 15:40:46.82 spid11s     Unable to initialize SSL encryption because a valid certificate could not be found, and it is not possible to create a self-signed certificate.
2015-04-08 15:40:46.82 spid11s     Error: 17182, Severity: 16, State: 1.
2015-04-08 15:40:46.82 spid11s     TDSSNIClient initialization failed with error 0x80092004, status code 0x80. Reason: Unable to initialize SSL support. 
2015-04-08 15:40:46.82 spid11s     Error: 17182, Severity: 16, State: 1.
2015-04-08 15:40:46.82 spid11s     TDSSNIClient initialization failed with error 0x80092004, status code 0x1. Reason: Initialization failed with an infrastructure error. Check for previous errors. 
2015-04-08 15:40:46.82 spid11s     Error: 17826, Severity: 18, State: 3.
2015-04-08 15:40:46.82 spid11s     Could not start the network library because of an internal error in the network library. To determine the cause, review the errors immediately preceding this one in the error log.
2015-04-08 15:40:46.82 spid11s     Error: 17120, Severity: 16, State: 1.
2015-04-08 15:40:46.82 spid11s     SQL Server could not spawn FRunCommunicationsManager thread. Check the SQL Server error log and the Windows event logs for information about possible related problems.

Any clue on what can be happening?

Regards…

  • Remove From My Forums
  • Question

  • I think the problem is related to older installations.

    I tried uninstalling them, editing the registry, but the problem is still here. Installation hangs.

    Here you can see the logs:

    http://jpst.it/D0nd

    I am using Windows 10, 64 bits, version 1511, build 10586.0

    The file I am using is SQLEXPR_x86_ENU.exe

    thanks for your help!

Answers

  • Hi Mr.Plow,

    Firstly, I would recommend you use the
    Microsoft Fix-It tool to remove any previous SQL Server instances completely.

    Secondly, according to the above log file, some messages indicate that many .msi files don’t exist in your setup file. Could you please re-download SQL Server 2012 Service Pack 2 (SP2) Express (SP2 is required for SQL Server 2012 on
    Windows 10) from this
    link and install it again?

    Thirdly, make sure that you copy SQL Server setup file to local drive, also ensure that you right-click SQL Server setup and select “Run as administrator” to start it after extracting the downloaded file. In addition, please disable windows security/defender
    and any antivirus software.

    There is a similar blog about how to install SQL Server Express on Windows 10 for your reference.
    http://www.codeproject.com/Articles/1036673/Installation-of-SQL-Server-Express-on-Windows

    However, if you still fail to install SQL Server 2012 SP2 Express on Windows 10, please help to post the SQL Server summary.txt and detail.txt log files which locate under %Program files%Microsoft SQL Server110Setup BootstrapLog bootstrapLog.

    Thanks,
    Lydia Zhang


    Lydia Zhang
    TechNet Community Support

    • Edited by

      Tuesday, November 10, 2015 7:48 AM

    • Proposed as answer by
      Lydia ZhangMicrosoft contingent staff
      Monday, November 16, 2015 5:52 AM
    • Marked as answer by
      Lydia ZhangMicrosoft contingent staff
      Tuesday, November 17, 2015 7:54 AM
  • Remove From My Forums
  • Question

  • Attempting to install Microsoft SQL Server 2012 Express Edition on my Windows 7 Ultimate 64 bit computer.

    During the installation process the following error is displayed…

    SQL Server Setup

    An attempt was made to load a program with an incorrect format. (exception from HRESULT: 0x8007000B)

    LinkID: 20476

    Product Name: Microsoft SQL Server

    Message Source: setup.rll

    Any help on this would be greatly appreciated. Plan to install Microsoft Visual Studio 2012 Express also after this if this has any barring on how I should be installing this product.

    Thanks

    Colin

Answers

  • Thanks for your reply — I’m installing Microsoft SQL Server 2012 Express on a Windows 7 64-bit computer should I pre-install .NET 3.5 or .NET 4.0 ? — not 100% sure on this from your reply.

    I’ve uninstalled .NET 4.5 from my machine and will install 3.5 or 4.0 based on what you believe I should reinstall.

    Thanks, Colin

    Hello,

    It seems you are not reading my comment properly.

    .Net 3.5 SP1 is required ,install it before proceeding.This is corrupted in your case so uninstall it first

    .NET 4.0 is a requirement for SQL Server 2012. SQL Server installs .NET 4.0 during the feature installation step.

    • If you are installing the SQL Server Express editions, ensure that an Internet connection is available on the computer. SQL Server Setup downloads and installs the .NET Framework 4 because it is not included in the SQL Server Express media.


    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

    • Edited by

      Monday, August 19, 2013 3:02 PM
      removed install

    • Marked as answer by
      Sofiya Li
      Monday, August 26, 2013 9:21 AM
  • Hi Colin,

    As Shanky post, according to hardware and software requirement, before we installing SQL Server 2012 Express, we need to ensure you have downloaded and installed Microsoft .Net Framework
    3.5 SP1 and Windows Installer 4.5.

    There are some steps for reinstalling SQL Server Express , you can refer to the following points.
    1. Uninstall any previous SQL Server 2012 Express components (setup files, registry items, etc.),
    2. Download and install Microsoft .Net Framework 3.5 SP1 from
    here.
    3. Download and install Windows Installer 4.5 from
    here.
    4. Install VS 2012
    5. Install VS 2012 SP1
    6. Redownload SQL Server 2012 Express installer
    7. Right click installer and run as administrator.

    In addition, if this not work, could you please help us to collect the detailed error message and the following error log? It is very useful for our research.

    C:Program FilesMicrosoft SQL Server110Setup BootstrapLOGSummary.txt.
    C:Program FilesMicrosoft SQL Server110Setup BootstrapLog<YYYYMMDD_HHMM>Detail.txt

    There are more details about uninstalling SQL Server, you can review the steps (provided by Yu yoyo).
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/4d6158a1-b601-428c-aad4-a1716e76de1a/install-sql-server-problem

    Thanks,
    Sofiya Li


    Sofiya Li
    TechNet Community Support

    • Marked as answer by
      Sofiya Li
      Monday, August 26, 2013 9:19 AM

I am trying to install SQL Server 2012 Express, but I get this error (I try to uninstall and delete registry key, try to change account for database engine to NT AuthoritySystem, but reinstall still not working):

Feature failure reason:

An error occurred for a dependency of the feature causing the setup process for the feature to fail.

Error details:

Error installing SQL Server Writer Component
The installer has encountered an unexpected error installing this package. This may indicate a problem with the package. The error code is 29559.
Error code: 29559
Log file: C:Program FilesMicrosoft SQL Server110Setup BootstrapLog20160310_225904SqlWriter_Cpu32_1.log

Here is the summary of setup bootstrap:

Overall summary:
  Final result:                  Failed: see details below
  Exit code (Decimal):           -2068024457
  Start time:                    2016-03-10 23:00:02
  End time:                      2016-03-10 23:03:10
  Requested action:              Install

Setup completed with required actions for features.
Troubleshooting information for those features:
  Next step for SQLEngine:       Use the following information to resolve the error, and then try the setup process again.
  Next step for Replication:     Use the following information to resolve the error, and then try the setup process again.
  Next step for Writer:          Use the following information to resolve the error, and then try the setup process again.

Machine Properties:
  Machine name:                  NHAT-PC
  Machine processor count:       2
  OS version:                    Future Windows Version
  OS service pack:               
  OS region:                     United States
  OS language:                   English (United States)
  OS architecture:               x86
  Process architecture:          32 Bit
  OS clustered:                  No

Product features discovered:
  Product              Instance             Instance ID                    Feature                                  Language             Edition              Version         Clustered  Configured
  SQL Server 2012                                                          Management Tools - Basic                 1033                 Express Edition      11.2.5058.0     No         Yes       
  SQL Server 2012                                                          Management Tools - Complete              1033                 Express Edition      11.2.5058.0     No         Yes       
  SQL Server 2012                                                          Client Tools Connectivity                1033                 Express Edition      11.2.5058.0     No         Yes       
  SQL Server 2012                                                          Client Tools Backwards Compatibility     1033                 Express Edition      11.2.5058.0     No         Yes       
  SQL Server 2012                                                          Client Tools SDK                         1033                 Express Edition      11.2.5058.0     No         Yes       

Package properties:
  Description:                   Microsoft SQL Server 2012
  ProductName:                   SQL Server 2012
  Type:                          RTM
  Version:                       11
  Installation location:         E:1885bc8762c587e3d8x86setup
  Installation edition:          Express

  Slipstream:                    True
  SP Level                       2

Product Update Status:
  Success: KB 2958429

Product Updates Selected for Installation:
  Title:                         Service Pack 2
  Knowledge Based Article:       KB 2958429
  Version:                       11.2.5058.0
  Architecture:                  x86
  Language:                      1033

  Update Source:                 Slipstream


User Input Settings:
  ACTION:                        Install
  ADDCURRENTUSERASSQLADMIN:      true
  AGTSVCACCOUNT:                 NT AUTHORITYNETWORK SERVICE
  AGTSVCPASSWORD:                *****
  AGTSVCSTARTUPTYPE:             Disabled
  ASBACKUPDIR:                   Backup
  ASCOLLATION:                   Latin1_General_CI_AS
  ASCONFIGDIR:                   Config
  ASDATADIR:                     Data
  ASLOGDIR:                      Log
  ASPROVIDERMSOLAP:              1
  ASSERVERMODE:                  MULTIDIMENSIONAL
  ASSVCACCOUNT:                  <empty>
  ASSVCPASSWORD:                 <empty>
  ASSVCSTARTUPTYPE:              Automatic
  ASSYSADMINACCOUNTS:            <empty>
  ASTEMPDIR:                     Temp
  BROWSERSVCSTARTUPTYPE:         Automatic
  CLTCTLRNAME:                   <empty>
  CLTRESULTDIR:                  <empty>
  CLTSTARTUPTYPE:                0
  CLTSVCACCOUNT:                 <empty>
  CLTSVCPASSWORD:                <empty>
  CLTWORKINGDIR:                 <empty>
  COMMFABRICENCRYPTION:          0
  COMMFABRICNETWORKLEVEL:        0
  COMMFABRICPORT:                0
  CONFIGURATIONFILE:             
  CTLRSTARTUPTYPE:               0
  CTLRSVCACCOUNT:                <empty>
  CTLRSVCPASSWORD:               <empty>
  CTLRUSERS:                     <empty>
  ENABLERANU:                    true
  ENU:                           true
  ERRORREPORTING:                false
  FEATURES:                      SQLENGINE, REPLICATION
  FILESTREAMLEVEL:               0
  FILESTREAMSHARENAME:           <empty>
  FTSVCACCOUNT:                  <empty>
  FTSVCPASSWORD:                 <empty>
  HELP:                          false
  IACCEPTSQLSERVERLICENSETERMS:  true
  INDICATEPROGRESS:              false
  INSTALLSHAREDDIR:              C:Program FilesMicrosoft SQL Server
  INSTALLSHAREDWOWDIR:           <empty>
  INSTALLSQLDATADIR:             <empty>
  INSTANCEDIR:                   C:Program FilesMicrosoft SQL Server
  INSTANCEID:                    DQN
  INSTANCENAME:                  DQN
  ISSVCACCOUNT:                  NT AUTHORITYNetwork Service
  ISSVCPASSWORD:                 <empty>
  ISSVCSTARTUPTYPE:              Automatic
  MATRIXCMBRICKCOMMPORT:         0
  MATRIXCMSERVERNAME:            <empty>
  MATRIXNAME:                    <empty>
  NPENABLED:                     0
  PID:                           *****
  QUIET:                         false
  QUIETSIMPLE:                   false
  ROLE:                          AllFeatures_WithDefaults
  RSINSTALLMODE:                 DefaultNativeMode
  RSSHPINSTALLMODE:              DefaultSharePointMode
  RSSVCACCOUNT:                  <empty>
  RSSVCPASSWORD:                 <empty>
  RSSVCSTARTUPTYPE:              Automatic
  SAPWD:                         *****
  SECURITYMODE:                  SQL
  SQLBACKUPDIR:                  <empty>
  SQLCOLLATION:                  SQL_Latin1_General_CP1_CI_AS
  SQLSVCACCOUNT:                 NT AUTHORITYSYSTEM
  SQLSVCPASSWORD:                *****
  SQLSVCSTARTUPTYPE:             Automatic
  SQLSYSADMINACCOUNTS:           NHAT-PCnhat
  SQLTEMPDBDIR:                  <empty>
  SQLTEMPDBLOGDIR:               <empty>
  SQLUSERDBDIR:                  <empty>
  SQLUSERDBLOGDIR:               <empty>
  SQMREPORTING:                  false
  TCPENABLED:                    0
  UIMODE:                        AutoAdvance
  UpdateEnabled:                 true
  UpdateSource:                  Slipstream
  X86:                           false

  Configuration file:            C:Program FilesMicrosoft SQL Server110Setup BootstrapLog20160310_225904ConfigurationFile.ini

Detailed results:
  Feature:                       Database Engine Services
  Status:                        Failed: see logs for details
  Reason for failure:            An error occurred for a dependency of the feature causing the setup process for the feature to fail.
  Next Step:                     Use the following information to resolve the error, and then try the setup process again.
  Component name:                SQL Server Writer Component
  Component error code:          29559
  Component log file:            C:Program FilesMicrosoft SQL Server110Setup BootstrapLog20160310_225904SqlWriter_Cpu32_1.log
  Error description:             The installer has encountered an unexpected error installing this package. This may indicate a problem with the package. The error code is 29559.
  Error help link:               http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=11.0.5058.0&EvtType=SqlWriter.msi%40Do_sqlServiceSidType_32%4029559

  Feature:                       SQL Server Replication
  Status:                        Failed: see logs for details
  Reason for failure:            An error occurred for a dependency of the feature causing the setup process for the feature to fail.
  Next Step:                     Use the following information to resolve the error, and then try the setup process again.
  Component name:                SQL Server Writer Component
  Component error code:          29559
  Component log file:            C:Program FilesMicrosoft SQL Server110Setup BootstrapLog20160310_225904SqlWriter_Cpu32_1.log
  Error description:             The installer has encountered an unexpected error installing this package. This may indicate a problem with the package. The error code is 29559.
  Error help link:               http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=11.0.5058.0&EvtType=SqlWriter.msi%40Do_sqlServiceSidType_32%4029559

  Feature:                       SQL Writer
  Status:                        Failed: see logs for details
  Reason for failure:            An error occurred during the setup process of the feature.
  Next Step:                     Use the following information to resolve the error, and then try the setup process again.
  Component name:                SQL Server Writer Component
  Component error code:          29559
  Component log file:            C:Program FilesMicrosoft SQL Server110Setup BootstrapLog20160310_225904SqlWriter_Cpu32_1.log
  Error description:             The installer has encountered an unexpected error installing this package. This may indicate a problem with the package. The error code is 29559.
  Error help link:               http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=11.0.5058.0&EvtType=SqlWriter.msi%40Do_sqlServiceSidType_32%4029559

Rules with failures:

Global rules:

Scenario specific rules:

Rules report file:               C:Program FilesMicrosoft SQL Server110Setup BootstrapLog20160310_225904SystemConfigurationCheck_Report.htm

My machine is Windows 10 x86, and has only 2GB of RAM.

The contents of the setup log file SqlWriter_Cpu32_1.log is available here (hosted on OneDrive).

  • Remove From My Forums
  • Question

  • I cannot install neither SQL server 2012 express nor Management Studio 16 on my computer.

    It says: Microsoft Sql Server 2012 Native Client: There is a problem with this Windows Installer package. A DLL required for this installation to complete could not be run.

    I have tried every solution I found, but non of them worked.

    I have the log files but I cannot post the link yet (as I am new I cannot do that here), sfc scan only found the winhlp.exe file corrupted, nothing else, no DLLs.

    Maybe useful from the error log: BootstrapperEngineDataModel.OnError: Burn engine encountered error. PackageId: sqlncli_x64, ErrorType: WindowsInstaller, ErrorCode: 1723, Data: 1723,SNAC_SetClientSSNLDefaults_64,SNAC_SetClientSSNLDefaults,C:WINDOWSInstallerMSIC280.tmp,
    ErrorMessage: There is a problem with this Windows Installer package. A DLL required for this installation to complete could not be run. Contact your support personnel or package vendor. , UIHint: 0
    [133C:0610][2017-02-03T14:23:51]i000: MainViewModel.AddFailedCondition: Error: Microsoft SQL Server 2012 Native Client : There is a problem with this Windows Installer package. A DLL required for this installation to complete could not be run. Contact your
    support personnel or package vendor.
    [133C:0610][2017-02-03T14:23:51]e000: MainViewModel.OnPackageError: setup failed for packageId: sqlncli_x64, package: Microsoft SQL Server 2012 Native Client , errorCode: 1723, errorMessage: There is a problem with this Windows Installer package. A DLL required
    for this installation to complete could not be run.

    Already asked the question on TechNet, but they said I should ask here.

    Please help!

    • Edited by

      Friday, February 3, 2017 1:43 PM

При установке SQL Server Express 2012 проверка правил не удалась, и установка не могла быть выполнена, но в системе явно был установлен .Net 4.0, почему он сообщает о такой ошибке? Сообщение об ошибке:

Не удалось выполнить правило «Интернет-соединение с центром загрузки Microsoft .NET Framework 4.0».

 Невозможно установить SQL Server Express, поскольку этот компьютер не может получить доступ к Microsoft .NET Framework 4 
 Центр загрузок: http://go.microsoft.com/fwlink/?LinkID=195181.

 Убедитесь, что этот компьютер подключен к Интернету и может получить доступ к этому центру загрузки,
 Или установите Microsoft .NET Framework 4 на этот компьютер,
 Затем снова запустите программу установки SQL Server.

Решение:

Перед установкой sqlserver express 2012, помимо установки «Microsoft .NET Framework 4», вам также необходимо установить «полный языковой пакет Microsoft .NET Framework 4 (x86 / x64)»

Ссылка для загрузки полного языкового пакета Microsoft .NET Framework 4:

http://www.microsoft.com/zh-cn/download/details.aspx?id=3324

  • Ошибка установки sql server 2012 0x84b10001
  • Ошибка установки sql express xspider
  • Ошибка установки sp1 windows 7
  • Ошибка установки sleeping dogs
  • Ошибка установки sims 4 не совпадает контрольная сумма