Компьютер, который я пытаюсь установить, SQL Server 2017 Express никогда не устанавливался успешно, и восстановление не помогает.Я много раз пытался удалить с помощью различных деинсталляторов из MS, добавить удалить программы в панели управления и, конечно, MS MS удалить носитель.Когда я пытаюсь установить SQL Server 2017 с установочного носителя, я получаю следующую ошибку:
Компилятору MOF не удалось подключиться к серверу WMI.Это либо из-за семантической ошибки, такой как несовместимость с существующим хранилищем WMI, либо из-за фактической ошибки, такой как сбой запуска сервера WMI.
Когда я нажимаю «ОК», я сразу получаю еще одну ОШИБКУ:
Сбой при удалении счетчика PerfLib 2.0 с кодом выхода 2. Командная строка: C: \ WINDOWS \ system32 \ unlodctr.exe /m:hkengperfctr.xml из каталога C: \ Program Files \ Microsoft SQL Server \ 140 \ Shared.
при запускеДиспетчер конфигурации SQL Server 2017 Я вижу следующее:
MMC не удалось создать оснастку.Оснастка может быть установлена неправильно.Имя: Диспетчер конфигурации SQL Server.CLSID: {11E6488B-29AF-469D-9B9A-7A9048D36999}
Вот ссылки на файлы журналов:
Это журнал sql_engine_core_inst_Cpu64_1
=== Verbose logging started: 5/21/2019 10:19:10 Build type: SHIP UNICODE 5.00.10011.00 Calling process: C:\Program Files\Microsoft SQL Server\140\Setup Bootstrap\SQL2017\x64\ScenarioEngine.exe ===
MSI (c) (68:14) [10:19:10:283]: Resetting cached policy values
MSI (c) (68:14) [10:19:10:283]: Machine policy value 'Debug' is 0
MSI (c) (68:14) [10:19:10:283]: ******* RunEngine:
******* Product: C:\Users\aryc\Downloads\SQLEXPRADV_x64_ENU\x64\setup\sql_engine_core_inst.msi
******* Action:
******* CommandLine: **********
MSI (c) (68:14) [10:19:10:283]: Client-side and UI is none or basic: Running entire install on the server.
MSI (c) (68:14) [10:19:10:283]: Grabbed execution mutex.
MSI (c) (68:14) [10:19:10:283]: Cloaking enabled.
MSI (c) (68:14) [10:19:10:283]: Attempting to enable all disabled privileges before calling Install on Server
MSI (c) (68:14) [10:19:10:283]: Incrementing counter to disable shutdown. Counter after increment: 0
MSI (s) (00:38) [10:19:10:299]: Running installation inside multi-package transaction C:\Users\aryc\Downloads\SQLEXPRADV_x64_ENU\x64\setup\sql_engine_core_inst.msi
MSI (s) (00:38) [10:19:10:299]: Grabbed execution mutex.
MSI (s) (00:38) [10:19:10:299]: Resetting cached policy values
MSI (s) (00:38) [10:19:10:299]: Machine policy value 'Debug' is 0
MSI (s) (00:38) [10:19:10:299]: ******* RunEngine:
******* Product: C:\Users\aryc\Downloads\SQLEXPRADV_x64_ENU\x64\setup\sql_engine_core_inst.msi
******* Action:
******* CommandLine: **********
MSI (s) (00:38) [10:19:10:299]: Machine policy value 'TransformsSecure' is 0
MSI (s) (00:38) [10:19:10:299]: User policy value 'TransformsAtSource' is 0
MSI (s) (00:38) [10:19:10:299]: Machine policy value 'DisableUserInstalls' is 0
MSI (s) (00:38) [10:19:10:299]: Specified instance {36C9ADEE-91B0-4FFA-9CBA-9164CE6089D5} via transform :InstID02.mst;:InstName02.mst is already installed. MSINEWINSTANCE requires a new instance that is not installed.
MSI (s) (00:38) [10:19:10:299]: MainEngineThread is returning 1639
MSI (s) (00:38) [10:19:10:299]: User policy value 'DisableRollback' is 0
MSI (s) (00:38) [10:19:10:299]: Machine policy value 'DisableRollback' is 0
MSI (s) (00:38) [10:19:10:299]: Incrementing counter to disable shutdown. Counter after increment: 0
MSI (s) (00:38) [10:19:10:299]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
MSI (s) (00:38) [10:19:10:299]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
MSI (s) (00:38) [10:19:10:299]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied. Counter after decrement: -1
MSI (c) (68:14) [10:19:10:299]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied. Counter after decrement: -1
MSI (c) (68:14) [10:19:10:299]: MainEngineThread is returning 1639
=== Verbose logging stopped: 5/21/2019 10:19:10 ===
Это журнал Summary_aryc_20190521_101725
This is the Summary_aryc_20190521_101725 log
Overall summary:
Final result: Failed: see details below
Exit code (Decimal): -2068052377
Start time: 2019-05-21 10:17:25
End time: 2019-05-21 10:38:21
Requested action: Install
Setup completed with required actions for features.
Troubleshooting information for those features:
Next step for FullText: Use the following information to resolve the error, and then try the setup process again.
Next step for SQLEngine: Use the following information to resolve the error, and then try the setup process again.
Machine Properties:
Machine name: aryc
Machine processor count: 8
OS version: Microsoft Windows 10 Pro (10.0.17134)
OS service pack:
OS region: United States
OS language: English (United States)
OS architecture: x64
Process architecture: 64 Bit
OS clustered: No
Product features discovered:
Product Instance Instance ID Feature Language Edition Version Clustered Configured
Package properties:
Description: Microsoft SQL Server 2017
ProductName: SQL Server 2017
Type: RTM
Version: 14
SPLevel: 0
Installation location: C:\Users\aryc\Downloads\SQLEXPRADV_x64_ENU\x64\setup\
Installation edition: Express
Product Update Status:
None discovered.
User Input Settings:
ACTION: Install
ADDCURRENTUSERASSQLADMIN: true
AGTSVCACCOUNT: NT AUTHORITY\NETWORK SERVICE
AGTSVCPASSWORD: *****
AGTSVCSTARTUPTYPE: Disabled
ASBACKUPDIR: Backup
ASCOLLATION: Latin1_General_CI_AS
ASCONFIGDIR: Config
ASDATADIR: Data
ASLOGDIR: Log
ASPROVIDERMSOLAP: 1
ASSERVERMODE: TABULAR
ASSVCACCOUNT: <empty>
ASSVCPASSWORD: <empty>
ASSVCSTARTUPTYPE: Automatic
ASSYSADMINACCOUNTS: <empty>
ASTELSVCACCT: <empty>
ASTELSVCPASSWORD: <empty>
ASTELSVCSTARTUPTYPE: 0
ASTEMPDIR: Temp
BROWSERSVCSTARTUPTYPE: Disabled
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
EXTSVCACCOUNT: <empty>
EXTSVCPASSWORD: <empty>
FEATURES: SQLENGINE, FULLTEXT
FILESTREAMLEVEL: 0
FILESTREAMSHARENAME: <empty>
FTSVCACCOUNT: NT Service\MSSQLFDLauncher
FTSVCPASSWORD: <empty>
HELP: false
IACCEPTPYTHONLICENSETERMS: false
IACCEPTROPENLICENSETERMS: false
IACCEPTSQLSERVERLICENSETERMS: true
INDICATEPROGRESS: false
INSTALLSHAREDDIR: C:\Program Files\Microsoft SQL Server\
INSTALLSHAREDWOWDIR: C:\Program Files (x86)\Microsoft SQL Server\
INSTALLSQLDATADIR: <empty>
INSTANCEDIR: C:\Program Files\Microsoft SQL Server\
INSTANCEID: MSSQLSERVER
INSTANCENAME: MSSQLSERVER
ISMASTERSVCACCOUNT: NT AUTHORITY\Network Service
ISMASTERSVCPASSWORD: <empty>
ISMASTERSVCPORT: 8391
ISMASTERSVCSSLCERTCN: <empty>
ISMASTERSVCSTARTUPTYPE: Automatic
ISMASTERSVCTHUMBPRINT: <empty>
ISSVCACCOUNT: NT AUTHORITY\Network Service
ISSVCPASSWORD: <empty>
ISSVCSTARTUPTYPE: Automatic
ISTELSVCACCT: <empty>
ISTELSVCPASSWORD: <empty>
ISTELSVCSTARTUPTYPE: 0
ISWORKERSVCACCOUNT: NT AUTHORITY\Network Service
ISWORKERSVCCERT: <empty>
ISWORKERSVCMASTER: <empty>
ISWORKERSVCPASSWORD: <empty>
ISWORKERSVCSTARTUPTYPE: Automatic
MATRIXCMBRICKCOMMPORT: 0
MATRIXCMSERVERNAME: <empty>
MATRIXNAME: <empty>
MRCACHEDIRECTORY:
NPENABLED: 0
PBDMSSVCACCOUNT: <empty>
PBDMSSVCPASSWORD: <empty>
PBDMSSVCSTARTUPTYPE: 0
PBENGSVCACCOUNT: <empty>
PBENGSVCPASSWORD: <empty>
PBENGSVCSTARTUPTYPE: 0
PBPORTRANGE: <empty>
PBSCALEOUT: false
PID: *****
QUIET: false
QUIETSIMPLE: false
ROLE: AllFeatures_WithDefaults
RSINSTALLMODE: DefaultNativeMode
RSSVCACCOUNT: <empty>
RSSVCPASSWORD: <empty>
RSSVCSTARTUPTYPE: Automatic
SAPWD: *****
SECURITYMODE: SQL
SQLBACKUPDIR: <empty>
SQLCOLLATION: SQL_Latin1_General_CP1_CI_AS
SQLSVCACCOUNT: NT Service\MSSQLSERVER
SQLSVCINSTANTFILEINIT: false
SQLSVCPASSWORD: <empty>
SQLSVCSTARTUPTYPE: Automatic
SQLSYSADMINACCOUNTS: MAINMAN\aryc
SQLTELSVCACCT: NT Service\SQLTELEMETRY
SQLTELSVCPASSWORD: <empty>
SQLTELSVCSTARTUPTYPE: Automatic
SQLTEMPDBDIR: <empty>
SQLTEMPDBFILECOUNT: 1
SQLTEMPDBFILEGROWTH: 64
SQLTEMPDBFILESIZE: 8
SQLTEMPDBLOGDIR: <empty>
SQLTEMPDBLOGFILEGROWTH: 64
SQLTEMPDBLOGFILESIZE: 8
SQLUSERDBDIR: <empty>
SQLUSERDBLOGDIR: <empty>
SUPPRESSPRIVACYSTATEMENTNOTICE: false
TCPENABLED: 0
UIMODE: AutoAdvance
UpdateEnabled: true
UpdateSource: MU
USEMICROSOFTUPDATE: false
X86: false
Configuration file: C:\Program Files\Microsoft SQL Server\140\Setup Bootstrap\Log\20190521_101725\ConfigurationFile.ini
Detailed results:
Feature: Full-Text and Semantic Extractions for Search
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.
Component name: SQL Server Database Engine Services Instance Features
Component error code: 1639
Component log file: C:\Program Files\Microsoft SQL Server\140\Setup Bootstrap\Log\20190521_101725\sql_engine_core_inst_Cpu64_1.log
Error description: Invalid command line argument. Consult the Windows Installer SDK for detailed command line help.
Error help link: https://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=14.0.1000.169&EvtType=sql_engine_core_inst.msi%400x162A16FE%400x1639
Feature: Database Engine Services
Status: Failed
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 Database Engine Services Instance Features
Component error code: 1639
Component log file: C:\Program Files\Microsoft SQL Server\140\Setup Bootstrap\Log\20190521_101725\sql_engine_core_inst_Cpu64_1.log
Error description: Invalid command line argument. Consult the Windows Installer SDK for detailed command line help.
Error help link: https://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=14.0.1000.169&EvtType=sql_engine_core_inst.msi%400x162A16FE%400x1639
Rules with failures:
Global rules:
Scenario specific rules:
Rules report file: C:\Program Files\Microsoft SQL Server\140\Setup Bootstrap\Log\20190521_101725\SystemConfigurationCheck_Report.htm
Извините за большой объем информации.Я только что прочитал много SO вопросов, на которые отвечающие люди хотели бы получить как можно больше информации.
- ОБНОВЛЕНИЕ -------------------------
ОК.Вот еще несколько деталей.Просматривая другие статьи, я обнаружил, что некоторые люди ссылаются на инструмент под названием «Очистка установщика Windows».Этот инструмент кажется устаревшим.Я понял, почему нет ... Я скачал с здесь и установил его.Как только я запустил его, он загрузил то, что казалось всем, что было установлено на моей машине.Я удалил ВСЕ, что ссылается на SQL в любом месте заголовка.Там были тонны дубликатов.Я полагаю, что эти ошибки возникли из-за моих многочисленных попыток установить / удалить ... Спасибо, Microsoft, за надежный деинсталлятор ... Пожалуйста, обратите внимание на сарказм.
После того, как я это сделал, я удалил MS SQL Server.каталогов в моих каталогах «Program Files (x86)» и «Program Files» и перезагрузите компьютер.Я сделал еще одну установку SQL Server.Верьте или нет, это не ошибка в обычном месте.Вместо этого он прошел ВСЕ через установку и допустил ошибку в самый последний момент.Конечно, правильно !!!См. Снимок экрана.
Произошла следующая ошибка: невозможно обработать запрос, поскольку процесс (13540) завершился.
Я выполнил еще одно исправление, и мой экземпляр SQL действительно обнаружился.Я сделал ремонт, и вот некоторые интересные новости: я могу открыть свой «Диспетчер конфигурации SQL Server 2017» без ошибки оснастки.Однако я не могу запустить Сервис.Я получаю типичную ошибку: «служба слишком долго запускалась, смотрите журнал».
Вот новый журнал
Overall summary:
Final result: Failed: see details below
Exit code (Decimal): -2068578302
Start time: 2019-05-21 17:51:21
End time: 2019-05-21 17:52:53
Requested action: Repair
Setup completed with required actions for features.
Troubleshooting information for those features:
Next step for FullText: Use the following information to resolve the error, and then try the setup process again.
Next step for SQLEngine: Use the following information to resolve the error, and then try the setup process again.
Machine Properties:
Machine name: aryc
Machine processor count: 8
OS version: Microsoft Windows 10 Pro (10.0.17134)
OS service pack:
OS region: United States
OS language: English (United States)
OS architecture: x64
Process architecture: 64 Bit
OS clustered: No
Product features discovered:
Product Instance Instance ID Feature Language Edition Version Clustered Configured
SQL Server 2017 MSSQLSERVER MSSQL14.MSSQLSERVER Database Engine Services 1033 Express Edition 14.0.1000.169 No Yes
SQL Server 2017 MSSQLSERVER MSSQL14.MSSQLSERVER Full-Text and Semantic Extractions for Search 1033 Express Edition 14.0.1000.169 No Yes
Package properties:
Description: Microsoft SQL Server 2017
ProductName: SQL Server 2017
Type: RTM
Version: 14
SPLevel: 0
Installation location: C:\mc\Stuff\MSSQL\SQLEXPRADV_x64_ENU\x64\setup\
Installation edition: Express
User Input Settings:
ACTION: Repair
AGTDOMAINGROUP: <empty>
AGTSVCACCOUNT: <empty>
AGTSVCPASSWORD: <empty>
AGTSVCSTARTUPTYPE: Manual
ASCONFIGDIR: Config
ASSVCACCOUNT: <empty>
ASSVCPASSWORD: <empty>
ASTELSVCACCT: <empty>
ASTELSVCPASSWORD: <empty>
ASTELSVCSTARTUPTYPE: 0
CLTSTARTUPTYPE: 0
CLTSVCACCOUNT: <empty>
CLTSVCPASSWORD: <empty>
CONFIGURATIONFILE:
CTLRSTARTUPTYPE: 0
CTLRSVCACCOUNT: <empty>
CTLRSVCPASSWORD: <empty>
ENU: true
EXTSVCACCOUNT: <empty>
EXTSVCPASSWORD: <empty>
FAILOVERCLUSTERGROUP: <empty>
FAILOVERCLUSTERNETWORKNAME: <empty>
FTSVCACCOUNT: NT Service\MSSQLFDLauncher
FTSVCPASSWORD: <empty>
HELP: false
IACCEPTPYTHONLICENSETERMS: false
IACCEPTROPENLICENSETERMS: false
INDICATEPROGRESS: false
INSTANCENAME: MSSQLSERVER
ISMASTERSVCACCOUNT: NT AUTHORITY\Network Service
ISMASTERSVCPASSWORD: <empty>
ISMASTERSVCPORT: 8391
ISMASTERSVCSSLCERTCN: <empty>
ISMASTERSVCSTARTUPTYPE: Automatic
ISMASTERSVCTHUMBPRINT: <empty>
ISSVCACCOUNT: NT AUTHORITY\Network Service
ISSVCPASSWORD: <empty>
ISSVCSTARTUPTYPE: Automatic
ISTELSVCACCT: <empty>
ISTELSVCPASSWORD: <empty>
ISTELSVCSTARTUPTYPE: 0
ISWORKERSVCACCOUNT: NT AUTHORITY\Network Service
ISWORKERSVCCERT: <empty>
ISWORKERSVCMASTER: <empty>
ISWORKERSVCPASSWORD: <empty>
ISWORKERSVCSTARTUPTYPE: Automatic
MRCACHEDIRECTORY:
QUIET: false
QUIETSIMPLE: false
SQLSVCACCOUNT: NT Service\MSSQLSERVER
SQLSVCPASSWORD: <empty>
SQLTELSVCACCT: NT Service\SQLTELEMETRY
SQLTELSVCPASSWORD: <empty>
SQLTELSVCSTARTUPTYPE: Automatic
SUPPRESSPRIVACYSTATEMENTNOTICE: false
UIMODE: AutoAdvance
X86: false
Configuration file: C:\Program Files\Microsoft SQL Server\140\Setup Bootstrap\Log\20190521_175121\ConfigurationFile.ini
Detailed results:
Feature: Full-Text and Semantic Extractions for Search
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.
Component name: SQL Server Database Engine Services Instance Features
Component error code: 0x84B40002
Error description: The SQL Server feature 'SQL_Engine_Core_Inst' is not in a supported state for repair, as it was never successfully configured. Only features from successful installations can be repaired. To continue, remove the specified SQL Server feature.
Error help link: https://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=14.0.1000.169&EvtType=0x2841E06E%401204%402&EvtType=0x2841E06E%401204%402
Feature: Database Engine Services
Status: Failed
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 Database Engine Services Instance Features
Component error code: 0x84B40002
Error description: The SQL Server feature 'SQL_Engine_Core_Inst' is not in a supported state for repair, as it was never successfully configured. Only features from successful installations can be repaired. To continue, remove the specified SQL Server feature.
Error help link: https://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=14.0.1000.169&EvtType=0x2841E06E%401204%402&EvtType=0x2841E06E%401204%402
Feature: SQL Browser
Status: Passed
Feature: SQL Writer
Status: Passed
Feature: SQL Client Connectivity
Status: Passed
Feature: SQL Client Connectivity SDK
Status: Passed
Feature: Setup Support Files
Status: Passed
Rules with failures:
Global rules:
There are no scenario-specific rules.
Rules report file: C:\Program Files\Microsoft SQL Server\140\Setup Bootstrap\Log\20190521_175121\SystemConfigurationCheck_Report.htm