Меню

При установке sql server 2019 ошибка

After release of SQL Server 2019, one of our customer was trying to install SQL Server 2019 and encountered an error message. Since I was able to reproduce the issue in my lab, I contacted SSMS product group and they were kind enough to fix this issue very quickly. As of now, this is already called out in the release notes. The purpose of this blog is to show how to confirm if you are hitting the same issue. We would learn how to look at various log file and what are the error messages we need to look.

Issue Description:

Installation of SQL Server 2019 from removable media fails if SQL Server Management Studio 18.3 or earlier is installed. In my lab, I downloaded ISO from download center and mounted it. Here is the final screen shot showing installation failure.

  sql2019-setup-01.jpg

When we click on the hyperlink on the screen, it opens up setup summary file which has this information about failed component. (Database Engine Services)

Detailed results:
  Feature:                       Database Engine Services
  Status:                        Failed
  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.

Next step is to look at Detail.txt file for any hint about dependent feature. (Search for “at Microsoft” keyword)

Target package: «E:1033_ENU_LPx64setupx64sqlncli.msi»
InstallPackage: MsiInstallProduct returned the result code 1602.

No retry-able MSI return code detected.
ExecuteActionWithRetryHelper.Failed actionToExecute is ‘Install_sqlncli_Cpu64_Action’, stack trace    at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.<>c__DisplayClass2_0.<ExecuteActionWithRetryHelper>b__0()
   at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.ExecuteActionHelper(ActionWorker workerDelegate)
   at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.ExecuteActionWithRetryHelper(WorkflowObject metaDb, ActionKey action, ActionMetadata actionMetadata, TextWriter statusStream)
   at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.InvokeAction(WorkflowObject metabase, TextWriter statusStream)
   at Microsoft.SqlServer.Setup.Chainer.Workflow.PendingActions.InvokeActions(WorkflowObject metaDb, TextWriter loggingStream)
   at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionEngine.RunActionQueue()
   at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.<>c__DisplayClass2_0.<ExecuteActionWithRetryHelper>b__0()
   at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.ExecuteActionHelper(ActionWorker workerDelegate)
   at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.ExecuteActionWithRetryHelper(WorkflowObject metaDb, ActionKey action, ActionMetadata actionMetadata, TextWriter statusStream)
   at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.InvokeAction(WorkflowObject metabase, TextWriter statusStream)
   at Microsoft.SqlServer.Setup.Chainer.Workflow.PendingActions.InvokeActions(WorkflowObject metaDb, TextWriter loggingStream)
   at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionEngine.RunActionQueue()
   at Microsoft.SqlServer.Setup.Chainer.Workflow.Workflow.RunWorkflow(WorkflowObject workflowObject, HandleInternalException exceptionHandler)
   at Microsoft.SqlServer.Chainer.Infrastructure.Action.Execute(String actionId, TextWriter errorStream)
   at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.<>c__DisplayClass2_0.<ExecuteActionWithRetryHelper>b__0()
   at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.ExecuteActionHelper(ActionWorker workerDelegate)
   at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.ExecuteActionWithRetryHelper(WorkflowObject metaDb, ActionKey action, ActionMetadata actionMetadata, TextWriter statusStream)
   at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.InvokeAction(WorkflowObject metabase, TextWriter statusStream)
   at Microsoft.SqlServer.Setup.Chainer.Workflow.PendingActions.InvokeActions(WorkflowObject metaDb, TextWriter loggingStream)
   at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionEngine.RunActionQueue()
   at Microsoft.SqlServer.Setup.Chainer.Workflow.Workflow.RunWorkflow(WorkflowObject workflowObject, HandleInternalException exceptionHandler)
   at Microsoft.SqlServer.Chainer.Infrastructure.Action.Execute(String actionId, TextWriter errorStream)
   at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.<>c__DisplayClass2_0.<ExecuteActionWithRetryHelper>b__0()
   at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.ExecuteActionHelper(ActionWorker workerDelegate)
   at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.ExecuteActionWithRetryHelper(WorkflowObject metaDb, ActionKey action, ActionMetadata actionMetadata, TextWriter statusStream)
   at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.InvokeAction(WorkflowObject metabase, TextWriter statusStream)
   at Microsoft.SqlServer.Setup.Chainer.Workflow.PendingActions.InvokeActions(WorkflowObject metaDb, TextWriter loggingStream)
   at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionEngine.RunActionQueue()
   at Microsoft.SqlServer.Setup.Chainer.Workflow.Workflow.RunWorkflow(WorkflowObject workflowObject, HandleInternalException exceptionHandler)
   at Microsoft.SqlServer.Chainer.Setup.Setup.RunRequestedWorkflow()
   at Microsoft.SqlServer.Chainer.Setup.Setup.Run(String[] args)
   at Microsoft.SqlServer.Chainer.Setup.Setup.Start(String[] args)
   at Microsoft.SqlServer.Chainer.Setup.Setup.Main()
Error: Action «Install_sqlncli_Cpu64_Action» failed during execution.
Completed Action: Install_sqlncli_Cpu64_Action, returned False

…Trimmed lines…

MSI (s) (5C:3C) [06:42:01:134]: Note: 1: 1729
MSI (s) (5C:3C) [06:42:01:134]: Product: Microsoft SQL Server 2012 Native Client  — Configuration failed.

MSI (s) (5C:3C) [06:42:01:134]: Windows Installer reconfigured the product. Product Name: Microsoft SQL Server 2012 Native Client. Product Version: 11.4.7462.6. Product Language: 1033. Manufacturer: Microsoft Corporation. Reconfiguration success or error status: 1602.

From here we can see that issue is during installation of SQLNCLI (SQL Server Native Client) and error code is 1602. The log file associate is sqlncli_Cpu64_1

MSI (s) (5C:3C) [06:42:01:009]: Note: 1: 2203 2: E:sqlncli.msi 3: -2147287038
MSI (s) (5C:3C) [06:42:01:009]: Source is incorrect. Unable to open or validate MSI package E:sqlncli.msi.
MSI (s) (5C:3C) [06:42:01:009]: Note: 1: 2203 2: E:sqlncli.msi 3: -2147287038
MSI (s) (5C:3C) [06:42:01:009]: Source is incorrect. Unable to open or validate MSI package E:sqlncli.msi.
Please insert the disk:

MSI (s) (5C:3C) [06:42:01:025]: Note: 1: 2265 2:  3: -2147287035
MSI (s) (5C:3C) [06:42:01:025]: User policy value ‘DisableRollback’ is 0
MSI (s) (5C:3C) [06:42:01:025]: Machine policy value ‘DisableRollback’ is 0
Action ended 6:42:01: InstallFinalize. Return value 2.
MSI (s) (5C:3C) [06:42:01:025]: Note: 1: 2318 2:
 

There we can see an interesting error : “Please insert the disk”.

If we check control panel, I already have SQL Server Native Client and mind you, this was installed when I installed SSMS 18.1.

sql2019-setup-02.jpg

Solution:

By now you would have understood the reason of the blog. If you are seeing messages in various logs, which are shown above, then you can conclude that you are hitting the issue due to preinstalled SSMS. Here is the screenshot from the release notes.

https://docs.microsoft.com/en-us/sql/sql-server/sql-server-version-15-release-notes

sql2019-setup-03.jpg

Here are my additional notes.

We have seen this issue earlier when we have SSMS 18.3 already installed and SQL 2019 setup is invoked from ISO mounted as drive. It was combination of few situations.

  • SSMS 18.3 already installed AND
  • SQL Server 2019 Setup was running from a mounted ISO.

We have below workarounds:

  • On existing machines, where SSMS 18.3 or lower is already installed.
    • Uninstall SQL Server 2012 Native Client which got installed with SSMS. Then install SQL Server 2019. OR
    • Instead of running setup from mounted ISO, copy the content of media to a local drive or a network share and start setup.exe from those locations.
  • On new machines, where SSMS is NOT installed.
    • First install SQL Server 2019 and then install SSMS 18.3 OR
    • Install version of SSMS greater than 18.3.1 and then install SQL Server 2019

I hope this blog would help someone find solution without contacting Microsoft Product Support team. Please comment and let me know.

  • Cheers,
  • Balmukund Lakhani
  • Twitter @blakhani

Overall summary: Final result: Ошибка:
дополнительные сведения см. ниже Exit code (Decimal):
-2061893606 Start time: 2022-01-12 20:10:00 End time: 2022-01-12 20:15:40 Requested action:
Install

Setup completed with required actions for features. Troubleshooting
information for those features: Next step for FullText:
Устраните ошибку, пользуясь следующими сведениями, удалите компонент,
а затем запустите установку еще раз. Next step for SQLEngine:
Устраните ошибку, пользуясь следующими сведениями, удалите компонент,
а затем запустите установку еще раз. Next step for Replication:
Устраните ошибку, пользуясь следующими сведениями, удалите компонент,
а затем запустите установку еще раз.

Machine Properties: Machine name: DESKTOP-NJDBJCL
Machine processor count: 8 OS version:
Майкрософт Windows 11 Домашняя (10.0.22000) OS service pack:
OS region: Россия OS language:
русский (Россия) OS architecture: x64 Process
architecture: 64-разрядная версия OS clustered:
Нет

Product features discovered: Product Instance
Instance ID Feature
Language Edition Version Clustered
Configured

Package properties: Description: Microsoft SQL
Server 2019 ProductName: SQL Server 2019 Type:
RTM Version: 15 SPLevel:
0 Installation location:
D:SQL2019ExpressAdv_RUSx64setup Installation edition:
Express

Product Update Status: Не обнаружено.

Параметры пользовательского ввода: 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: TABULAR ASSVCACCOUNT:
<пусто> ASSVCPASSWORD: <пусто> ASSVCSTARTUPTYPE:
Automatic ASSYSADMINACCOUNTS: <пусто> ASTELSVCACCT:
<пусто> ASTELSVCPASSWORD: <пусто>
ASTELSVCSTARTUPTYPE: 0 ASTEMPDIR: Temp
BROWSERSVCSTARTUPTYPE: Disabled CLTCTLRNAME:
<пусто> CLTRESULTDIR: <пусто> CLTSTARTUPTYPE:
0 CLTSVCACCOUNT: <пусто> CLTSVCPASSWORD:
<пусто> CLTWORKINGDIR: <пусто>
COMMFABRICENCRYPTION: 0 COMMFABRICNETWORKLEVEL: 0
COMMFABRICPORT: 0 CONFIGURATIONFILE:
CTLRSTARTUPTYPE: 0 CTLRSVCACCOUNT:
<пусто> CTLRSVCPASSWORD: <пусто> CTLRUSERS:
<пусто> ENABLERANU: true ENU:
false EXTSVCACCOUNT: <пусто> EXTSVCPASSWORD:
<пусто> FEATURES: SQLENGINE, REPLICATION,
FULLTEXT, CONN, BC, SDK, SNAC_SDK FILESTREAMLEVEL: 0
FILESTREAMSHARENAME: <пусто> FTSVCACCOUNT:
NT ServiceMSSQLFDLauncher FTSVCPASSWORD: <пусто>
HELP: false IACCEPTPYTHONLICENSETERMS:
false IACCEPTROPENLICENSETERMS: false
IACKNOWLEDGEENTCALLIMITS: false INDICATEPROGRESS:
false INSTALLSHAREDDIR: C:Program FilesMicrosoft SQL
Server INSTALLSHAREDWOWDIR: C:Program Files
(x86)Microsoft SQL Server INSTALLSQLDATADIR: <пусто>
INSTANCEDIR: D:Program FilesMicrosoft SQL Server
INSTANCEID: MSSQLSERVER INSTANCENAME:
MSSQLSERVER ISMASTERSVCACCOUNT: NT AUTHORITYNetwork
Service ISMASTERSVCPASSWORD: <пусто> ISMASTERSVCPORT:
8391 ISMASTERSVCSSLCERTCN: <пусто>
ISMASTERSVCSTARTUPTYPE: Automatic ISMASTERSVCTHUMBPRINT:
<пусто> ISSVCACCOUNT: NT AUTHORITYNetwork Service
ISSVCPASSWORD: <пусто> ISSVCSTARTUPTYPE:
Automatic ISTELSVCACCT: <пусто> ISTELSVCPASSWORD:
<пусто> ISTELSVCSTARTUPTYPE: 0 ISWORKERSVCACCOUNT:
NT AUTHORITYNetwork Service ISWORKERSVCCERT: <пусто>
ISWORKERSVCMASTER: <пусто> ISWORKERSVCPASSWORD:
<пусто> ISWORKERSVCSTARTUPTYPE: Automatic
MATRIXCMBRICKCOMMPORT: 0 MATRIXCMSERVERNAME:
<пусто> MATRIXNAME: <пусто> MRCACHEDIRECTORY:
NPENABLED: 0 PBDMSSVCACCOUNT:
<пусто> PBDMSSVCPASSWORD: <пусто>
PBDMSSVCSTARTUPTYPE: 0 PBENGSVCACCOUNT:
<пусто> PBENGSVCPASSWORD: <пусто>
PBENGSVCSTARTUPTYPE: 0 PBPORTRANGE:
<пусто> PBSCALEOUT: false PID:
***** QUIET: false QUIETSIMPLE: false ROLE: AllFeatures_WithDefaults
RSINSTALLMODE: DefaultNativeMode RSSVCACCOUNT:
<пусто> RSSVCPASSWORD: <пусто> RSSVCSTARTUPTYPE:
Automatic SAPWD: <пусто> SECURITYMODE:
<пусто> SQLBACKUPDIR: <пусто> SQLCOLLATION:
Cyrillic_General_CI_AS SQLJAVADIR: <пусто>
SQLMAXDOP: 0 SQLMAXMEMORY:
2147483647 SQLMINMEMORY: 0 SQLSVCACCOUNT:
NT AUTHORITYСИСТЕМА SQLSVCINSTANTFILEINIT: false
SQLSVCPASSWORD: ***** SQLSVCSTARTUPTYPE:
Automatic SQLSYSADMINACCOUNTS: DESKTOP-NJDBJCLKonnv
SQLTELSVCACCT: NT ServiceSQLTELEMETRY
SQLTELSVCPASSWORD: <пусто> SQLTELSVCSTARTUPTYPE:
Automatic SQLTEMPDBDIR: <пусто>
SQLTEMPDBFILECOUNT: 1 SQLTEMPDBFILEGROWTH: 64
SQLTEMPDBFILESIZE: 8 SQLTEMPDBLOGDIR:
<пусто> SQLTEMPDBLOGFILEGROWTH: 64 SQLTEMPDBLOGFILESIZE:
8 SQLUSERDBDIR: <пусто> SQLUSERDBLOGDIR:
<пусто> SUPPRESSPAIDEDITIONNOTICE: false
SUPPRESSPRIVACYSTATEMENTNOTICE: false TCPENABLED:
0 UIMODE: AutoAdvance UpdateEnabled:
true UpdateSource: MU USEMICROSOFTUPDATE:
false USESQLRECOMMENDEDMEMORYLIMITS: false X86:
false

Configuration file: C:Program FilesMicrosoft SQL
Server150Setup BootstrapLog20220112_200922ConfigurationFile.ini

Detailed results: Feature: Полнотекстовый и
семантический поиск Status: Сбой Reason for
failure: Возникла ошибка для одной из зависимостей
компонента, вызвавшая сбой процесса его установки. Next Step:
Устраните ошибку, пользуясь следующими сведениями, удалите компонент,
а затем запустите установку еще раз. Component name:
Экземпляры служб ядра СУБД SQL Server Component error code:
0x851A001A Error description: Ошибка при ожидании
дескриптора восстановления ядра СУБД. Возможные причины см. в журнале
ошибок SQL Server. Error help link:
https://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=15.0.4013.40&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026

Feature: Службы ядра СУБД Status:
Сбой Reason for failure: Возникла ошибка при установке
компонента. Next Step: Устраните ошибку,
пользуясь следующими сведениями, удалите компонент, а затем запустите
установку еще раз. Component name: Экземпляры служб
ядра СУБД SQL Server Component error code: 0x851A001A
Error description: Ошибка при ожидании дескриптора
восстановления ядра СУБД. Возможные причины см. в журнале ошибок SQL
Server. Error help link:
https://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=15.0.4013.40&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026

Feature: Репликация SQL Server Status:
Сбой Reason for failure: Возникла ошибка для одной из
зависимостей компонента, вызвавшая сбой процесса его установки. Next
Step: Устраните ошибку, пользуясь следующими
сведениями, удалите компонент, а затем запустите установку еще раз.
Component name: Экземпляры служб ядра СУБД SQL Server
Component error code: 0x851A001A Error description:
Ошибка при ожидании дескриптора восстановления ядра СУБД. Возможные
причины см. в журнале ошибок SQL Server. Error help link:
https://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=15.0.4013.40&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026

Feature: Обозреватель SQL Status:
Пройдено

Feature: Модуль записи SQL Status:
Пройдено

Feature: Обратная совместимость клиентских
средств Status: Пройдено

Feature: Пакет SDK клиентских средств
Status: Пройдено

Feature: Соединение с клиентскими средствами
Status: Пройдено

Feature: Пакет SDK средств связи клиента SQL
Status: Пройдено

Feature: Средства связи клиента SQL Status:
Пройдено

Feature: Файлы поддержки программы установки
Status: Пройдено

Rules with failures or warnings:

Global rules: Предупреждение IsFirewallEnabled
Брандмауэр Windows включен. Чтобы обеспечить удаленный доступ,
убедитесь, что открыты соответствующие порты. Сведения о портах,
которые необходимо открыть для каждого из компонентов, см. в
документации по правилам на странице
https://go.microsoft.com/fwlink/?linkid=2094702.

Rules report file: C:Program FilesMicrosoft SQL
Server150Setup
BootstrapLog20220112_200922SystemConfigurationCheck_Report.htm

Операцию исправления можно применять в следующих случаях.

Для исправления экземпляра SQL Server , который оказался поврежденным после успешной установки.

Для исправления экземпляра SQL Server , если операция обновления была отменена или завершилась ошибкой после сопоставления имени экземпляра с экземпляром после обновления.

Если в сводном журнале присутствует следующее сообщение, экземпляр можно исправить после ошибки обновления:

«Не удалось обновитьSQL Server . Чтобы продолжить, определите причину сбоя, устраните проблему, а затем запустите исправление установки».

Если в сводном журнале присутствует следующее сообщение, необходимо удалить и повторно установить SQL Server. Исправить экземпляр SQL Server невозможно.

«Не удалось обновитьSQL Server . Чтобы продолжить, определите причину сбоя и устраните проблему».

В ходе восстановления экземпляра SQL Serverвыполняются следующие действия.

Заменяются все отсутствующие или поврежденные файлы.

Заменяются все отсутствующие или поврежденные разделы реестра.

Для всех отсутствующих или недопустимых параметров конфигурации устанавливаются значения по умолчанию.

Перед тем как продолжить, при использовании отказоустойчивых кластеров SQL Server ознакомьтесь со следующими важными сведениями.

Исправление должно быть запущено на отдельных узлах кластера.

Для исправления узла отказоустойчивого кластера после неудачной операции «Подготовка» используйте кнопку Удалить узел , а затем еще раз осуществите шаг «Подготовка». Дополнительные сведения см. на странице Добавление и удаление узлов в отказоустойчивом кластере SQL Server (настройка).

Исправление неудавшейся установки SQL Server в центре установки

Запустите программу установки SQL Server (setup.exe), расположенную на установочном носителе SQL Server .

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

Для начала операции исправления нажмите кнопку Обслуживание в левой части области навигации, а затем кнопку Исправление .

Если центр установки был запущен из меню «Пуск», то в этот раз потребуется указать расположение установочного носителя.

Будут запущены правило поддержки установки и файлы подпрограмм, чтобы удостовериться, что в системе установлены необходимые компоненты и что компьютер отвечает правилам проверки. Для продолжения нажмите кнопку ОК или Установить .

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

Будут запущены правила исправления для проверки операции. Чтобы продолжить, нажмите кнопку Далее.

Страница «Готовность к исправлению» показывает, что операция готова к продолжению. Чтобы продолжить, нажмите кнопку Исправить.

Страница «Состояние исправления» показывает состояние операции исправления. Страница «Готово» показывает, что операция завершена.

Установка SQL Server 2019 Express не удалась, потому что не удалось найти драйвер 2017?

Я установил базовую конфигурацию SQL Server 2019 и в конце получил ошибку:

ой

Невозможно установить SQL Server (setup.exe).

Код выхода (десятичный): -2068052310

Описание ошибки: Не удается найти установочный пакет для продукта Microsoft ODBC Driver 17 for SQL Server. Повторите попытку установки, используя действительную копию пакета установки «msodbcsql.msi».

У меня есть файл журнала, если это полезно. Я озадачен, почему он ищет этого водителя.

Ошибка при установке MS SQL Server 2019 Express

Во время установки выскакивает окно: Ошибка

Или такое, если устанавливать в базовом режиме: введите сюда описание изображения

Overall summary: Final result: Ошибка: дополнительные сведения см. ниже Exit code (Decimal):
-2061893606 Start time: 2022-01-12 20:10:00 End time: 2022-01-12 20:15:40 Requested action:
Install

Setup completed with required actions for features. Troubleshooting information for those features: Next step for FullText:
Устраните ошибку, пользуясь следующими сведениями, удалите компонент, а затем запустите установку еще раз. Next step for SQLEngine:
Устраните ошибку, пользуясь следующими сведениями, удалите компонент, а затем запустите установку еще раз. Next step for Replication:
Устраните ошибку, пользуясь следующими сведениями, удалите компонент, а затем запустите установку еще раз.

Machine Properties: Machine name: DESKTOP-NJDBJCL
Machine processor count: 8 OS version:
Майкрософт Windows 11 Домашняя (10.0.22000) OS service pack:
OS region: Россия OS language:
русский (Россия) OS architecture: x64 Process architecture: 64-разрядная версия OS clustered:
Нет

Product features discovered: Product Instance
Instance ID Feature
Language Edition Version Clustered Configured

Package properties: Description: Microsoft SQL Server 2019 ProductName: SQL Server 2019 Type: RTM Version: 15 SPLevel:
0 Installation location:
D:SQL2019ExpressAdv_RUSx64setup Installation edition:
Express

Product Update Status: Не обнаружено.

Параметры пользовательского ввода: 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: TABULAR ASSVCACCOUNT:
<пусто> ASSVCPASSWORD: <пусто> ASSVCSTARTUPTYPE:
Automatic ASSYSADMINACCOUNTS: <пусто> ASTELSVCACCT:
<пусто> ASTELSVCPASSWORD: <пусто>
ASTELSVCSTARTUPTYPE: 0 ASTEMPDIR: Temp BROWSERSVCSTARTUPTYPE: Disabled CLTCTLRNAME:
<пусто> CLTRESULTDIR: <пусто> CLTSTARTUPTYPE:
0 CLTSVCACCOUNT: <пусто> CLTSVCPASSWORD:
<пусто> CLTWORKINGDIR: <пусто>
COMMFABRICENCRYPTION: 0 COMMFABRICNETWORKLEVEL: 0
COMMFABRICPORT: 0 CONFIGURATIONFILE:
CTLRSTARTUPTYPE: 0 CTLRSVCACCOUNT:
<пусто> CTLRSVCPASSWORD: <пусто> CTLRUSERS:
<пусто> ENABLERANU: true ENU:
false EXTSVCACCOUNT: <пусто> EXTSVCPASSWORD:
<пусто> FEATURES: SQLENGINE, REPLICATION, FULLTEXT, CONN, BC, SDK, SNAC_SDK FILESTREAMLEVEL: 0
FILESTREAMSHARENAME: <пусто> FTSVCACCOUNT:
NT ServiceMSSQLFDLauncher FTSVCPASSWORD: <пусто>
HELP: false IACCEPTPYTHONLICENSETERMS:
false IACCEPTROPENLICENSETERMS: false
IACKNOWLEDGEENTCALLIMITS: false INDICATEPROGRESS:
false INSTALLSHAREDDIR: C:Program FilesMicrosoft SQL Server INSTALLSHAREDWOWDIR: C:Program Files (x86)Microsoft SQL Server INSTALLSQLDATADIR: <пусто>
INSTANCEDIR: D:Program FilesMicrosoft SQL Server
INSTANCEID: MSSQLSERVER INSTANCENAME:
MSSQLSERVER ISMASTERSVCACCOUNT: NT AUTHORITYNetwork Service ISMASTERSVCPASSWORD: <пусто> ISMASTERSVCPORT:
8391 ISMASTERSVCSSLCERTCN: <пусто>
ISMASTERSVCSTARTUPTYPE: Automatic ISMASTERSVCTHUMBPRINT:
<пусто> ISSVCACCOUNT: NT AUTHORITYNetwork Service ISSVCPASSWORD: <пусто> ISSVCSTARTUPTYPE:
Automatic ISTELSVCACCT: <пусто> ISTELSVCPASSWORD: <пусто> ISTELSVCSTARTUPTYPE: 0 ISWORKERSVCACCOUNT:
NT AUTHORITYNetwork Service ISWORKERSVCCERT: <пусто> ISWORKERSVCMASTER: <пусто> ISWORKERSVCPASSWORD:
<пусто> ISWORKERSVCSTARTUPTYPE: Automatic
MATRIXCMBRICKCOMMPORT: 0 MATRIXCMSERVERNAME:
<пусто> MATRIXNAME: <пусто> MRCACHEDIRECTORY:
NPENABLED: 0 PBDMSSVCACCOUNT:
<пусто> PBDMSSVCPASSWORD: <пусто>
PBDMSSVCSTARTUPTYPE: 0 PBENGSVCACCOUNT:
<пусто> PBENGSVCPASSWORD: <пусто>
PBENGSVCSTARTUPTYPE: 0 PBPORTRANGE:
<пусто> PBSCALEOUT: false PID:
***** QUIET: false QUIETSIMPLE: false ROLE: AllFeatures_WithDefaults
RSINSTALLMODE: DefaultNativeMode RSSVCACCOUNT:
<пусто> RSSVCPASSWORD: <пусто> RSSVCSTARTUPTYPE:
Automatic SAPWD: <пусто> SECURITYMODE:
<пусто> SQLBACKUPDIR: <пусто> SQLCOLLATION:
Cyrillic_General_CI_AS SQLJAVADIR: <пусто>
SQLMAXDOP: 0 SQLMAXMEMORY:
2147483647 SQLMINMEMORY: 0 SQLSVCACCOUNT:
NT AUTHORITYСИСТЕМА SQLSVCINSTANTFILEINIT: false
SQLSVCPASSWORD: ***** SQLSVCSTARTUPTYPE:
Automatic SQLSYSADMINACCOUNTS: DESKTOP-NJDBJCLKonnv
SQLTELSVCACCT: NT ServiceSQLTELEMETRY
SQLTELSVCPASSWORD: <пусто> SQLTELSVCSTARTUPTYPE:
Automatic SQLTEMPDBDIR: <пусто>
SQLTEMPDBFILECOUNT: 1 SQLTEMPDBFILEGROWTH: 64
SQLTEMPDBFILESIZE: 8 SQLTEMPDBLOGDIR:
<пусто> SQLTEMPDBLOGFILEGROWTH: 64 SQLTEMPDBLOGFILESIZE:
8 SQLUSERDBDIR: <пусто> SQLUSERDBLOGDIR:
<пусто> SUPPRESSPAIDEDITIONNOTICE: false
SUPPRESSPRIVACYSTATEMENTNOTICE: false TCPENABLED:
0 UIMODE: AutoAdvance UpdateEnabled:
true UpdateSource: MU USEMICROSOFTUPDATE:
false USESQLRECOMMENDEDMEMORYLIMITS: false X86:
false

Configuration file: C:Program FilesMicrosoft SQL Server150Setup BootstrapLog20220112_200922ConfigurationFile.ini

Detailed results: Feature: Полнотекстовый и семантический поиск Status: Сбой Reason for failure: Возникла ошибка для одной из зависимостей компонента, вызвавшая сбой процесса его установки. Next Step:
Устраните ошибку, пользуясь следующими сведениями, удалите компонент, а затем запустите установку еще раз. Component name:
Экземпляры служб ядра СУБД SQL Server Component error code:
0x851A001A Error description: Ошибка при ожидании дескриптора восстановления ядра СУБД. Возможные причины см. в журнале ошибок SQL Server. Error help link:
https://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=15.0.4013.40&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026

Feature: Службы ядра СУБД Status:
Сбой Reason for failure: Возникла ошибка при установке компонента. Next Step: Устраните ошибку, пользуясь следующими сведениями, удалите компонент, а затем запустите установку еще раз. Component name: Экземпляры служб ядра СУБД SQL Server Component error code: 0x851A001A
Error description: Ошибка при ожидании дескриптора восстановления ядра СУБД. Возможные причины см. в журнале ошибок SQL Server. Error help link:
https://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=15.0.4013.40&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026

Feature: Репликация SQL Server Status:
Сбой Reason for failure: Возникла ошибка для одной из зависимостей компонента, вызвавшая сбой процесса его установки. Next Step: Устраните ошибку, пользуясь следующими сведениями, удалите компонент, а затем запустите установку еще раз.
Component name: Экземпляры служб ядра СУБД SQL Server
Component error code: 0x851A001A Error description:
Ошибка при ожидании дескриптора восстановления ядра СУБД. Возможные причины см. в журнале ошибок SQL Server. Error help link:
https://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=15.0.4013.40&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026

Feature: Обозреватель SQL Status:
Пройдено

Feature: Модуль записи SQL Status:
Пройдено

Feature: Обратная совместимость клиентских средств Status: Пройдено

Feature: Пакет SDK клиентских средств
Status: Пройдено

Feature: Соединение с клиентскими средствами
Status: Пройдено

Feature: Пакет SDK средств связи клиента SQL
Status: Пройдено

Feature: Средства связи клиента SQL Status: Пройдено

Feature: Файлы поддержки программы установки
Status: Пройдено

Rules with failures or warnings:

Global rules: Предупреждение IsFirewallEnabled
Брандмауэр Windows включен. Чтобы обеспечить удаленный доступ, убедитесь, что открыты соответствующие порты. Сведения о портах, которые необходимо открыть для каждого из компонентов, см. в документации по правилам на странице https://go.microsoft.com/fwlink/?linkid=2094702.

Rules report file: C:Program FilesMicrosoft SQL Server150Setup BootstrapLog20220112_200922SystemConfigurationCheck_Report.htm

  • Включил службу «Установщик модулей Windows» и «Центр обновления Windows». метод (установка учетной записи запуска службы SQL Server Database Engine на NT AUTHORITYNETWORK SERVICE)
  • Так же пробовал ставить NT AuthoritySystem

По факту всегда один результат: Завершено с ошибками

Generic Answer

This answer applies to all installation issues with SQL Server. It is a generic answer describing the steps required to analyse further details.

SQL Server Setup Routine Logging

When you installed SQL Server 2019 a detailed (very verbose) setup log was created in a sub-directory like this:

C:Program FilesMicrosoft SQL ServerVVVSetup BootstrapLogYYYYMMDD_HHMMSSDetail.txt
  • VVV = SQL Server Version
    • 100 = SQL Server 2008 / 2008 R2
    • 110 = SQL Server 2012 / 2012 R2
    • 120 = SQL Server 2014
    • 130 = SQL Server 2016
    • 140 = SQL Server 2017
    • 150 = SQL Server 2019
  • YYYYMMDD = Date the installation occurred
    • e.g. 20200727
  • HHMMSS = Time the installation occurred
    • e.g. 110523

An actual path would be:

C:Program FilesMicrosoft SQL Server150Setup BootstrapLog20200727_110523Detail.txt
                                       ^                         ^        ^
                                       |                         |        |
              SQL Server 2019      ----+                         |        | 
              July 27th, 2020      ------------------------------+        |
              11.05am (23 seconds) ---------------------------------------+

Detail.txt

The Detail.txt will contain a detailed description at or around the time of failure.

Example Failure / Error / Exception

A section where a failure occurs will look similar to this:

(01) 2020-06-17 13:11:20 Slp: ----------------------------------------------------------------------
(01) 2020-06-17 13:11:20 Slp: Running Action: ProcessUpdateParametersAction
(01) 2020-06-17 13:11:20 Slp: 
(01) 2020-06-17 13:11:20 Slp: Product Update Status:
(01) 2020-06-17 13:11:20 Slp:   User selected not to include product updates.
(01) 2020-06-17 13:11:20 Slp:   Error message:
(01) 2020-06-17 13:11:20 Slp: The following is an exception stack listing the exceptions in outermost to innermost order
(01) 2020-06-17 13:11:20 Slp: Inner exceptions are being indented
(01) 2020-06-17 13:11:20 Slp: 
(01) 2020-06-17 13:11:20 Slp: Exception type: Microsoft.SqlServer.Configuration.SmartSetupExtension.MuSearchException
(01) 2020-06-17 13:11:20 Slp:     Message: 
(01) 2020-06-17 13:11:20 Slp:         SQL Server setup failed to search for product updates. This may indicate that the Windows Update service does not have online access to the Microsoft Update server or Windows Server Update Services.
(01) 2020-06-17 13:11:20 Slp:     HResult : 0x85190003
(01) 2020-06-17 13:11:20 Slp:         FacilityCode : 1305 (519)
(01) 2020-06-17 13:11:20 Slp:         ErrorCode : 3 (0003)
(01) 2020-06-17 13:11:20 Slp:     Data: 
(01) 2020-06-17 13:11:20 Slp:       WatsonData = Microsoft.SqlServer.Configuration.SmartSetupExtension.MuSearchException@3
(01) 2020-06-17 13:11:20 Slp:     Stack: 
(01) 2020-06-17 13:11:20 Slp:         at Microsoft.SqlServer.Configuration.SmartSetupExtension.MuSearchUtility.TrySearch(String serviceId, String query)
(01) 2020-06-17 13:11:20 Slp:         at Microsoft.SqlServer.Configuration.SmartSetupExtension.MuSearchEngine.Search(String serviceId, String query)
(01) 2020-06-17 13:11:20 Slp:         at Microsoft.SqlServer.Configuration.SmartSetupExtension.MuSetupSearchEngine.SearchUpdates()
(01) 2020-06-17 13:11:20 Slp:         at Microsoft.SqlServer.Configuration.SmartSetupExtension.SearchUpdatesAction.ExecuteAction(String actionId)
(01) 2020-06-17 13:11:20 Slp:         at Microsoft.SqlServer.Chainer.Infrastructure.Action.Execute(String actionId, TextWriter errorStream)
(01) 2020-06-17 13:11:20 Slp:         at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.<>c__DisplayClasse.<ExecuteActionWithRetryHelper>b__b()
(01) 2020-06-17 13:11:20 Slp:         at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.ExecuteActionHelper(ActionWorker workerDelegate)
(01) 2020-06-17 13:11:20 Slp:     Inner exception type: Microsoft.SqlServer.Configuration.SmartSetupExtension.WuaUpdateSearchException
(01) 2020-06-17 13:11:20 Slp:         Message: 
(01) 2020-06-17 13:11:20 Slp:                 Failed to search for updates with query 'CategoryIDs contains '6F210755-A742-449E-A57D-E459E20596C8''. Error: Ausnahme von HRESULT: 0x80240438
(01) 2020-06-17 13:11:20 Slp:         HResult : 0x85170004
(01) 2020-06-17 13:11:20 Slp:                 FacilityCode : 1303 (517)
(01) 2020-06-17 13:11:20 Slp:                 ErrorCode : 4 (0004)
(01) 2020-06-17 13:11:20 Slp:         Data: 
(01) 2020-06-17 13:11:20 Slp:           Query = CategoryIDs contains '6F210755-A742-449E-A57D-E459E20596C8'
(01) 2020-06-17 13:11:20 Slp:           ErrorMessage = Ausnahme von HRESULT: 0x80240438
(01) 2020-06-17 13:11:20 Slp:           WatsonData = Microsoft.SqlServer.Configuration.SmartSetupExtension.WuaUpdateSearchException@4
(01) 2020-06-17 13:11:20 Slp:         Stack: 
(01) 2020-06-17 13:11:20 Slp:                 at Microsoft.SqlServer.Configuration.SmartSetupExtension.WuaUpdateSearcher.Search(Int32 timeout, String criteria)
(01) 2020-06-17 13:11:20 Slp:                 at Microsoft.SqlServer.Configuration.SmartSetupExtension.MuSearchUtility.Search(String serviceId, String query)
(01) 2020-06-17 13:11:20 Slp:         Inner exception type: System.Runtime.InteropServices.COMException
(01) 2020-06-17 13:11:20 Slp:             Message: 
(01) 2020-06-17 13:11:20 Slp:                         Ausnahme von HRESULT: 0x80240438
(01) 2020-06-17 13:11:20 Slp:             HResult : 0x80240438
(01) 2020-06-17 13:11:20 Slp:             Stack: 
(01) 2020-06-17 13:11:20 Slp:                         at Microsoft.SqlServer.Interop.WUApiLib.IUpdateSearcher.EndSearch(ISearchJob searchJob)
(01) 2020-06-17 13:11:20 Slp:                         at Microsoft.SqlServer.Configuration.SmartSetupExtension.WuaUpdateSearcher.Search(Int32 timeout, String criteria)
(01) 2020-06-17 13:11:20 Slp: 
(01) 2020-06-17 13:11:20 Slp: Completed Action: ProcessUpdateParametersAction, returned True
(01) 2020-06-17 13:11:20 Slp: Completed Action: ExecuteDownloadSetupUpdatesWorkflow, returned True
(01) 2020-06-17 13:11:20 Slp: Completed Action: ExecuteOuterSetupStartUI, returned True
(01) 2020-06-17 13:11:20 Slp: ----------------------------------------------------------------------

In this case, the error that occurred had no impact on the installation as the availability of the online update check is not a prerequisite.

Finding the Error Code

In your case, you should be able to find the error code 0x84BB0001 by opening the Detail.txt installation log file in an editor of your choice and searching for the code.

Depending on what you find, you will have to:

  • Grant permissions to registry
  • Remove components
  • Install certain components
  • ….

Educated Guess to your specific issue

As you pointed out in the comments, you already have Visual Studio installed. This has been known to cause issues during the installation of SQL Server xxxx depending on the version used.

Microsoft Visual C++ 20xx Redistributable (x86) and Microsoft Visual C++ 20xx Redistributable (x64) are also known to cause issues, when installing a lower version of SQL Server.

E.g. installing SQL Server 2016 on a Windows Server 2016 where Microsoft Visual C++ 2017 Redistributable (x86) has been installed will halt the installation.

Possible Solution(s)

  • De-install Visual Studio after saving your settings.
  • De-install any Visual C++ 20xx Redistributable that has a higher version than the SQL Server Version you are installing
  • De-install the Microsoft SQL Server 2019 (64-bit) setup program before you try a re-install.

Good luck.

Generic Answer

This answer applies to all installation issues with SQL Server. It is a generic answer describing the steps required to analyse further details.

SQL Server Setup Routine Logging

When you installed SQL Server 2019 a detailed (very verbose) setup log was created in a sub-directory like this:

C:Program FilesMicrosoft SQL ServerVVVSetup BootstrapLogYYYYMMDD_HHMMSSDetail.txt
  • VVV = SQL Server Version
    • 100 = SQL Server 2008 / 2008 R2
    • 110 = SQL Server 2012 / 2012 R2
    • 120 = SQL Server 2014
    • 130 = SQL Server 2016
    • 140 = SQL Server 2017
    • 150 = SQL Server 2019
  • YYYYMMDD = Date the installation occurred
    • e.g. 20200727
  • HHMMSS = Time the installation occurred
    • e.g. 110523

An actual path would be:

C:Program FilesMicrosoft SQL Server150Setup BootstrapLog20200727_110523Detail.txt
                                       ^                         ^        ^
                                       |                         |        |
              SQL Server 2019      ----+                         |        | 
              July 27th, 2020      ------------------------------+        |
              11.05am (23 seconds) ---------------------------------------+

Detail.txt

The Detail.txt will contain a detailed description at or around the time of failure.

Example Failure / Error / Exception

A section where a failure occurs will look similar to this:

(01) 2020-06-17 13:11:20 Slp: ----------------------------------------------------------------------
(01) 2020-06-17 13:11:20 Slp: Running Action: ProcessUpdateParametersAction
(01) 2020-06-17 13:11:20 Slp: 
(01) 2020-06-17 13:11:20 Slp: Product Update Status:
(01) 2020-06-17 13:11:20 Slp:   User selected not to include product updates.
(01) 2020-06-17 13:11:20 Slp:   Error message:
(01) 2020-06-17 13:11:20 Slp: The following is an exception stack listing the exceptions in outermost to innermost order
(01) 2020-06-17 13:11:20 Slp: Inner exceptions are being indented
(01) 2020-06-17 13:11:20 Slp: 
(01) 2020-06-17 13:11:20 Slp: Exception type: Microsoft.SqlServer.Configuration.SmartSetupExtension.MuSearchException
(01) 2020-06-17 13:11:20 Slp:     Message: 
(01) 2020-06-17 13:11:20 Slp:         SQL Server setup failed to search for product updates. This may indicate that the Windows Update service does not have online access to the Microsoft Update server or Windows Server Update Services.
(01) 2020-06-17 13:11:20 Slp:     HResult : 0x85190003
(01) 2020-06-17 13:11:20 Slp:         FacilityCode : 1305 (519)
(01) 2020-06-17 13:11:20 Slp:         ErrorCode : 3 (0003)
(01) 2020-06-17 13:11:20 Slp:     Data: 
(01) 2020-06-17 13:11:20 Slp:       WatsonData = Microsoft.SqlServer.Configuration.SmartSetupExtension.MuSearchException@3
(01) 2020-06-17 13:11:20 Slp:     Stack: 
(01) 2020-06-17 13:11:20 Slp:         at Microsoft.SqlServer.Configuration.SmartSetupExtension.MuSearchUtility.TrySearch(String serviceId, String query)
(01) 2020-06-17 13:11:20 Slp:         at Microsoft.SqlServer.Configuration.SmartSetupExtension.MuSearchEngine.Search(String serviceId, String query)
(01) 2020-06-17 13:11:20 Slp:         at Microsoft.SqlServer.Configuration.SmartSetupExtension.MuSetupSearchEngine.SearchUpdates()
(01) 2020-06-17 13:11:20 Slp:         at Microsoft.SqlServer.Configuration.SmartSetupExtension.SearchUpdatesAction.ExecuteAction(String actionId)
(01) 2020-06-17 13:11:20 Slp:         at Microsoft.SqlServer.Chainer.Infrastructure.Action.Execute(String actionId, TextWriter errorStream)
(01) 2020-06-17 13:11:20 Slp:         at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.<>c__DisplayClasse.<ExecuteActionWithRetryHelper>b__b()
(01) 2020-06-17 13:11:20 Slp:         at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.ExecuteActionHelper(ActionWorker workerDelegate)
(01) 2020-06-17 13:11:20 Slp:     Inner exception type: Microsoft.SqlServer.Configuration.SmartSetupExtension.WuaUpdateSearchException
(01) 2020-06-17 13:11:20 Slp:         Message: 
(01) 2020-06-17 13:11:20 Slp:                 Failed to search for updates with query 'CategoryIDs contains '6F210755-A742-449E-A57D-E459E20596C8''. Error: Ausnahme von HRESULT: 0x80240438
(01) 2020-06-17 13:11:20 Slp:         HResult : 0x85170004
(01) 2020-06-17 13:11:20 Slp:                 FacilityCode : 1303 (517)
(01) 2020-06-17 13:11:20 Slp:                 ErrorCode : 4 (0004)
(01) 2020-06-17 13:11:20 Slp:         Data: 
(01) 2020-06-17 13:11:20 Slp:           Query = CategoryIDs contains '6F210755-A742-449E-A57D-E459E20596C8'
(01) 2020-06-17 13:11:20 Slp:           ErrorMessage = Ausnahme von HRESULT: 0x80240438
(01) 2020-06-17 13:11:20 Slp:           WatsonData = Microsoft.SqlServer.Configuration.SmartSetupExtension.WuaUpdateSearchException@4
(01) 2020-06-17 13:11:20 Slp:         Stack: 
(01) 2020-06-17 13:11:20 Slp:                 at Microsoft.SqlServer.Configuration.SmartSetupExtension.WuaUpdateSearcher.Search(Int32 timeout, String criteria)
(01) 2020-06-17 13:11:20 Slp:                 at Microsoft.SqlServer.Configuration.SmartSetupExtension.MuSearchUtility.Search(String serviceId, String query)
(01) 2020-06-17 13:11:20 Slp:         Inner exception type: System.Runtime.InteropServices.COMException
(01) 2020-06-17 13:11:20 Slp:             Message: 
(01) 2020-06-17 13:11:20 Slp:                         Ausnahme von HRESULT: 0x80240438
(01) 2020-06-17 13:11:20 Slp:             HResult : 0x80240438
(01) 2020-06-17 13:11:20 Slp:             Stack: 
(01) 2020-06-17 13:11:20 Slp:                         at Microsoft.SqlServer.Interop.WUApiLib.IUpdateSearcher.EndSearch(ISearchJob searchJob)
(01) 2020-06-17 13:11:20 Slp:                         at Microsoft.SqlServer.Configuration.SmartSetupExtension.WuaUpdateSearcher.Search(Int32 timeout, String criteria)
(01) 2020-06-17 13:11:20 Slp: 
(01) 2020-06-17 13:11:20 Slp: Completed Action: ProcessUpdateParametersAction, returned True
(01) 2020-06-17 13:11:20 Slp: Completed Action: ExecuteDownloadSetupUpdatesWorkflow, returned True
(01) 2020-06-17 13:11:20 Slp: Completed Action: ExecuteOuterSetupStartUI, returned True
(01) 2020-06-17 13:11:20 Slp: ----------------------------------------------------------------------

In this case, the error that occurred had no impact on the installation as the availability of the online update check is not a prerequisite.

Finding the Error Code

In your case, you should be able to find the error code 0x84BB0001 by opening the Detail.txt installation log file in an editor of your choice and searching for the code.

Depending on what you find, you will have to:

  • Grant permissions to registry
  • Remove components
  • Install certain components
  • ….

Educated Guess to your specific issue

As you pointed out in the comments, you already have Visual Studio installed. This has been known to cause issues during the installation of SQL Server xxxx depending on the version used.

Microsoft Visual C++ 20xx Redistributable (x86) and Microsoft Visual C++ 20xx Redistributable (x64) are also known to cause issues, when installing a lower version of SQL Server.

E.g. installing SQL Server 2016 on a Windows Server 2016 where Microsoft Visual C++ 2017 Redistributable (x86) has been installed will halt the installation.

Possible Solution(s)

  • De-install Visual Studio after saving your settings.
  • De-install any Visual C++ 20xx Redistributable that has a higher version than the SQL Server Version you are installing
  • De-install the Microsoft SQL Server 2019 (64-bit) setup program before you try a re-install.

Good luck.

Здравствуйте, хотел установить Microsoft SQL Server 2019, но столкнулся с некоторыми ошибками:

Кликните здесь для просмотра всего текста

1)Полнотекстовый и сематический поиск
Описание проблемы:[ Ошибка установки Экземпляры служб ядра СУБД SQL Server
Служба не ответила на запрос своевременно.
Код ошибки: 0x80004005
Причина:Возникла ошибка для одной из зависимостей компонента, вызвавшая сбой процесса его установки.

2)Служб ядра СУБД
Описание проблемы:Ошибка установки Экземпляры служб ядра СУБД SQL Server
Служба не ответила на запрос своевременно.
Код ошибки: 0x80004005
Причина:Возникла ошибка при установке компонента.

3)Репликация SQL Server
Описание проблемы:Ошибка установки Экземпляры служб ядра СУБД SQL Server
Служба не ответила на запрос своевременно.
Код ошибки: 0x80004005

4)Обозреватель SQL
Описание проблемы: Ошибка установки Обозреватель SQL Server
Служба не ответила на запрос своевременно.
Код ошибки: 0x84BB0001
Причина:Возникла ошибка при установке компонента.

Лог установки:

Кликните здесь для просмотра всего текста

Overall summary:
Final result: Ошибка: дополнительные сведения см. ниже
Exit code (Decimal): -2068119551
Start time: 2022-04-24 13:25:09
End time: 2022-04-24 13:40:10
Requested action: Install

Setup completed with required actions for features.
Troubleshooting information for those features:
Next step for FullText: Устраните ошибку, пользуясь следующими сведениями, удалите компонент, а затем запустите установку еще раз.
Next step for SQLEngine: Устраните ошибку, пользуясь следующими сведениями, удалите компонент, а затем запустите установку еще раз.
Next step for Replication: Устраните ошибку, пользуясь следующими сведениями, удалите компонент, а затем запустите установку еще раз.
Next step for Browser: Устраните ошибку, пользуясь следующими сведениями, удалите компонент, а затем запустите установку еще раз.

Machine Properties:
Machine name: DESKTOP-4625JV3
Machine processor count: 4
OS version: Майкрософт Windows 10 Pro (10.0.19043)
OS service pack:
OS region: Россия
OS language: русский (Россия)
OS architecture: x64
Process architecture: 64-разрядная версия
OS clustered: Нет

Product features discovered:
Product Instance Instance ID Feature Language Edition Version Clustered Configured

Package properties:
Description: Microsoft SQL Server 2019
ProductName: SQL Server 2019
Type: RTM
Version: 15
SPLevel: 0
Installation location: C:SQL2019ExpressAdv_RUSx64setup
Installation edition: Express

Product Update Status:
Не обнаружено.

Параметры пользовательского ввода:
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: TABULAR
ASSVCACCOUNT: <пусто>
ASSVCPASSWORD: <пусто>
ASSVCSTARTUPTYPE: Automatic
ASSYSADMINACCOUNTS: <пусто>
ASTELSVCACCT: <пусто>
ASTELSVCPASSWORD: <пусто>
ASTELSVCSTARTUPTYPE: 0
ASTEMPDIR: Temp
BROWSERSVCSTARTUPTYPE: Automatic
CLTCTLRNAME: <пусто>
CLTRESULTDIR: <пусто>
CLTSTARTUPTYPE: 0
CLTSVCACCOUNT: <пусто>
CLTSVCPASSWORD: <пусто>
CLTWORKINGDIR: <пусто>
COMMFABRICENCRYPTION: 0
COMMFABRICNETWORKLEVEL: 0
COMMFABRICPORT: 0
CONFIGURATIONFILE:
CTLRSTARTUPTYPE: 0
CTLRSVCACCOUNT: <пусто>
CTLRSVCPASSWORD: <пусто>
CTLRUSERS: <пусто>
ENABLERANU: true
ENU: false
EXTSVCACCOUNT: <пусто>
EXTSVCPASSWORD: <пусто>
FEATURES: SQLENGINE, REPLICATION, FULLTEXT
FILESTREAMLEVEL: 0
FILESTREAMSHARENAME: <пусто>
FTSVCACCOUNT: NT ServiceMSSQLFDLauncher$SQLEXPRESS
FTSVCPASSWORD: <пусто>
HELP: false
IACCEPTPYTHONLICENSETERMS: false
IACCEPTROPENLICENSETERMS: false
IACKNOWLEDGEENTCALLIMITS: false
INDICATEPROGRESS: false
INSTALLSHAREDDIR: C:Program FilesMicrosoft SQL Server
INSTALLSHAREDWOWDIR: C:Program Files (x86)Microsoft SQL Server
INSTALLSQLDATADIR: <пусто>
INSTANCEDIR: C:Program FilesMicrosoft SQL Server
INSTANCEID: SQLEXPRESS
INSTANCENAME: SQLEXPRESS
ISMASTERSVCACCOUNT: NT AUTHORITYNetwork Service
ISMASTERSVCPASSWORD: <пусто>
ISMASTERSVCPORT: 8391
ISMASTERSVCSSLCERTCN: <пусто>
ISMASTERSVCSTARTUPTYPE: Automatic
ISMASTERSVCTHUMBPRINT: <пусто>
ISSVCACCOUNT: NT AUTHORITYNetwork Service
ISSVCPASSWORD: <пусто>
ISSVCSTARTUPTYPE: Automatic
ISTELSVCACCT: <пусто>
ISTELSVCPASSWORD: <пусто>
ISTELSVCSTARTUPTYPE: 0
ISWORKERSVCACCOUNT: NT AUTHORITYNetwork Service
ISWORKERSVCCERT: <пусто>
ISWORKERSVCMASTER: <пусто>
ISWORKERSVCPASSWORD: <пусто>
ISWORKERSVCSTARTUPTYPE: Automatic
MATRIXCMBRICKCOMMPORT: 0
MATRIXCMSERVERNAME: <пусто>
MATRIXNAME: <пусто>
MRCACHEDIRECTORY:
NPENABLED: 0
PBDMSSVCACCOUNT: <пусто>
PBDMSSVCPASSWORD: <пусто>
PBDMSSVCSTARTUPTYPE: 0
PBENGSVCACCOUNT: <пусто>
PBENGSVCPASSWORD: <пусто>
PBENGSVCSTARTUPTYPE: 0
PBPORTRANGE: <пусто>
PBSCALEOUT: false
PID: *****
QUIET: false
QUIETSIMPLE: false
ROLE: AllFeatures_WithDefaults
RSINSTALLMODE: DefaultNativeMode
RSSVCACCOUNT: <пусто>
RSSVCPASSWORD: <пусто>
RSSVCSTARTUPTYPE: Automatic
SAPWD: <пусто>
SECURITYMODE: <пусто>
SQLBACKUPDIR: <пусто>
SQLCOLLATION: Cyrillic_General_CI_AS
SQLJAVADIR: <пусто>
SQLMAXDOP: 0
SQLMAXMEMORY: 2147483647
SQLMINMEMORY: 0
SQLSVCACCOUNT: NT AUTHORITYNETWORK SERVICE
SQLSVCINSTANTFILEINIT: true
SQLSVCPASSWORD: *****
SQLSVCSTARTUPTYPE: Automatic
SQLSYSADMINACCOUNTS: DESKTOP-4625JV3Administrator
SQLTELSVCACCT: NT ServiceSQLTELEMETRY$SQLEXPRESS
SQLTELSVCPASSWORD: <пусто>
SQLTELSVCSTARTUPTYPE: Automatic
SQLTEMPDBDIR: <пусто>
SQLTEMPDBFILECOUNT: 1
SQLTEMPDBFILEGROWTH: 64
SQLTEMPDBFILESIZE: 8
SQLTEMPDBLOGDIR: <пусто>
SQLTEMPDBLOGFILEGROWTH: 64
SQLTEMPDBLOGFILESIZE: 8
SQLUSERDBDIR: <пусто>
SQLUSERDBLOGDIR: <пусто>
SUPPRESSPAIDEDITIONNOTICE: false
SUPPRESSPRIVACYSTATEMENTNOTICE: false
TCPENABLED: 0
UIMODE: AutoAdvance
UpdateEnabled: true
UpdateSource: MU
USEMICROSOFTUPDATE: false
USESQLRECOMMENDEDMEMORYLIMITS: false
X86: false

Configuration file: C:Program FilesMicrosoft SQL Server150Setup BootstrapLog20220424_132407ConfigurationFile.in i

Detailed results:
Feature: Полнотекстовый и семантический поиск
Status: Сбой
Reason for failure: Возникла ошибка для одной из зависимостей компонента, вызвавшая сбой процесса его установки.
Next Step: Устраните ошибку, пользуясь следующими сведениями, удалите компонент, а затем запустите установку еще раз.
Component name: Экземпляры служб ядра СУБД SQL Server
Component error code: 0x80004005
Error description: Служба не ответила на запрос своевременно.
Error help link: https://go.microsoft.com/fwlin… 0xDC80C325

Feature: Службы ядра СУБД
Status: Сбой
Reason for failure: Возникла ошибка при установке компонента.
Next Step: Устраните ошибку, пользуясь следующими сведениями, удалите компонент, а затем запустите установку еще раз.
Component name: Экземпляры служб ядра СУБД SQL Server
Component error code: 0x80004005
Error description: Служба не ответила на запрос своевременно.
Error help link: https://go.microsoft.com/fwlin… 0xDC80C325

Feature: Репликация SQL Server
Status: Сбой
Reason for failure: Возникла ошибка для одной из зависимостей компонента, вызвавшая сбой процесса его установки.
Next Step: Устраните ошибку, пользуясь следующими сведениями, удалите компонент, а затем запустите установку еще раз.
Component name: Экземпляры служб ядра СУБД SQL Server
Component error code: 0x80004005
Error description: Служба не ответила на запрос своевременно.
Error help link: https://go.microsoft.com/fwlin… 0xDC80C325

Feature: Обозреватель SQL
Status: Сбой
Reason for failure: Возникла ошибка при установке компонента.
Next Step: Устраните ошибку, пользуясь следующими сведениями, удалите компонент, а затем запустите установку еще раз.
Component name: Обозреватель SQL Server
Component error code: 0x84BB0001
Error description: Служба не ответила на запрос своевременно.
Error help link: https://go.microsoft.com/fwlin… 0xDC80C325

Feature: Модуль записи SQL
Status: Пройдено

Feature: Пакет SDK средств связи клиента SQL
Status: Пройдено

Feature: Средства связи клиента SQL
Status: Пройдено

Feature: Файлы поддержки программы установки
Status: Пройдено

Rules with failures or warnings:

Rules report file: C:Program FilesMicrosoft SQL Server150Setup BootstrapLog20220424_132407SystemConfigurationC heck_Report.htm

Rules report file:Image: Info(4 фото)

Что я предпринимал до того как написать на форм:
1) Удалял Microsoft SQL Server 2019 через панель управления и переустанавливал (не помогло)
2) Удалял все что связано с Microsoft SQL Server 2019 через панель управления (не помогло)
3) Менял

AGTSVCACCOUNT:

NT AUTHORITYNETWORK SERVICE (не помогло)
4) Вручную включить службы SQL: Агент SQL Server (SQLEXPRESS)(ошибка 1068) и SQL Server (SQLEXPRESS) (ошибка 1053)

После завершения установки, устанавливается: SQL Server 2019 Configuration Manager, но не запускается(Отказано в доступе:
[0x8007005]
Все установщики запускал от имени администратора
Надеюсь кто-то сможет помочь, так как без SQL очень тяжело. Если нужна еще какая дополнения информация из логов, буду предоставлять

__________________
Помощь в написании контрольных, курсовых и дипломных работ, диссертаций здесь

  • Remove From My Forums
  • Question

  • Hi,

    I have a problem installing MS SQL 2019 Developer edition on my PC with Windows 10 Home. I had a MS SQL 2016 Express installed. But I removed it when I tried to install the 2019 developer version. The installation guides displays this error message:

    Unable to install SQL Server (setup.exe).
    Exit code (Decimal): -2068119551Error description: Attempted to preform an unauthorized operation.

    In the Detail.txt (the last bit) in the log folder I get this:

    (01) 2019-12-23 17:18:23 Slp: Error result: -2068119551
    (01) 2019-12-23 17:18:23 Slp: Result facility code: 1211
    (01) 2019-12-23 17:18:23 Slp: Result error code: 1
    (01) 2019-12-23 17:18:23 Slp: WER: Application level consent value ‘True’ was mapped to consent status ‘WerConsentApproved’
    (01) 2019-12-23 17:18:23 Slp: WER: Result of the submission:: ‘WerReportQueued’
    (01) 2019-12-23 17:18:23 Slp: WER: Submitted 1 of 1 failures to the Watson data repository
    (01) 2019-12-23 17:18:23 Slp: SetupTelemetry: Closing Telemetry Session
    (01) 2019-12-23 17:18:23 Slp: Sco: Attempting to create base registry key HKEY_LOCAL_MACHINE, machine
    (01) 2019-12-23 17:18:23 Slp: Sco: Attempting to open registry subkey SOFTWAREMicrosoftSQMClient
    (01) 2019-12-23 17:18:23 Slp: Sco: Attempting to get registry value MachineId
    (01) 2019-12-23 17:18:23 Slp: Sco: Attempting to create base registry key HKEY_LOCAL_MACHINE, machine
    (01) 2019-12-23 17:18:23 Slp: Sco: Attempting to open registry subkey SoftwareMicrosoftMicrosoft SQL Server150
    (01) 2019-12-23 17:18:23 Slp: SetupTelemetry: Not creating telemetry audit log. Value ‘UserRequestedLocalAuditDirectory’ doesn’t exist in ‘HKLMSoftwareMicrosoftMicrosoft SQL Server150’
    (01) 2019-12-23 17:18:23 Slp: Sco: Attempting to create base registry key HKEY_LOCAL_MACHINE, machine
    (01) 2019-12-23 17:18:23 Slp: Sco: Attempting to open registry subkey SoftwareMicrosoftMicrosoft SQL Server150
    (01) 2019-12-23 17:18:23 Slp: Sco: Attempting to get registry value CustomerFeedback
    (01) 2019-12-23 17:18:23 Slp: Sco: Attempting to get registry value EnableErrorReporting
    (01) 2019-12-23 17:18:23 Slp: Sco: Attempting to create base registry key HKEY_LOCAL_MACHINE, machine
    (01) 2019-12-23 17:18:23 Slp: Sco: Attempting to open registry subkey SoftwareMicrosoftMicrosoft SQL ServerInstance Names
    (01) 2019-12-23 17:18:23 Slp: Sco: Attempting to open registry subkey SQL
    (01) 2019-12-23 17:18:23 Slp: Sco: Attempting to get registry value MSSQLSERVER01
    (01) 2019-12-23 17:18:23 Slp: Sco: Attempting to create base registry key HKEY_LOCAL_MACHINE, machine
    (01) 2019-12-23 17:18:23 Slp: Sco: Attempting to open registry subkey SoftwareMicrosoftMicrosoft SQL ServerMSSQL15.MSSQLSERVER01CPE
    (01) 2019-12-23 17:18:23 Slp: Sco: Attempting to get registry value CustomerFeedback
    (01) 2019-12-23 17:18:23 Slp: Sco: Attempting to get registry value EnableErrorReporting
    (01) 2019-12-23 17:18:23 Slp: Sco: Attempting to create base registry key HKEY_LOCAL_MACHINE, machine
    (01) 2019-12-23 17:18:23 Slp: Sco: Attempting to open registry subkey SoftwareMicrosoftMicrosoft SQL ServerInstance Names
    (01) 2019-12-23 17:18:23 Slp: Sco: Attempting to open registry subkey OLAP
    (01) 2019-12-23 17:18:23 Slp: Sco: Attempting to create base registry key HKEY_LOCAL_MACHINE, machine
    (01) 2019-12-23 17:18:23 Slp: Sco: Attempting to open registry subkey SoftwareMicrosoftMicrosoft SQL ServerInstance Names
    (01) 2019-12-23 17:18:23 Slp: Sco: Attempting to open registry subkey RS
    (01) 2019-12-23 17:18:23 Slp: SetupTelemetry: Telemetry has an active session with 44 events.

    I run the installation as a Administrator. I tried to uninstall all MS SQL related programs in the Programs in Control Panel and removed the MS SQL Server folder in Program Files.

    Hope that you can help me, please?

    Best regards
    Hoegni

    • Moved by

      Monday, December 23, 2019 7:48 PM
      Installation question

Answers

  • Hi hogni1,

    Thank you for your reply.

    >>Component error code:         
    1639

      Error description:            
    Invalid command line argument. Consult the Windows Installer SDK for detailed command line help.

    The error message in Summary.txt you posted is as same as before.

    Could you please share us the C:Program FilesMicrosoft SQL Server150Setup BootstrapLog20191226_111654sql_engine_core_inst_Cpu64_1.log?

    And could you please take a look at this
    similar thread and this
    blog which might help?

    Best Regards,

    Amelia


    MSDN Community Support
    Please remember to click «Mark as Answer» the responses that resolved your issue, and to click «Unmark as Answer» if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to
    MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    • Marked as answer by
      hogni1
      Friday, December 27, 2019 6:50 AM

0 0 голоса
Рейтинг статьи
Подписаться
Уведомить о
guest

0 комментариев
Старые
Новые Популярные
Межтекстовые Отзывы
Посмотреть все комментарии

А вот еще интересные материалы:

  • Яшка сломя голову остановился исправьте ошибки
  • Ясность цели позволяет целеустремленно добиваться намеченного исправьте ошибки
  • Ясность цели позволяет целеустремленно добиваться намеченного где ошибка
  • При установке виндовс 10 ошибка system service exception
  • При установке виндовс 10 ошибка oobelocal