Can't install SQL server 2022

Abdelhaleem Mohammed 0 Reputation points
2024-07-01T17:33:37.3133333+00:00

I have this error log when i try to install SQL2022-SSEI-Dev :

Unable to install SQL Server (setup.exe).

Exit code (Decimal): -2147467261Error description: SQL Server Browser configuration for feature 'SQL_Browser_Redist_SqlBrowser_Cpu32' was cancelled by user after a previous installation failure. The last attempted step: Retrieving full path to the SQL Server Browser service executable

using Windows Installer API for the SQL Server Browser component with ID '{2E86FD41-C179-456E-8E6A-5157ED427228}'..

That's all what i found in summary file:

Overall summary:

Final result: Failed: see details below

Exit code (Decimal): -2147467261

Start time: 2024-07-01 14:43:26

End time: 2024-07-01 14:44:06

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, uninstall this feature, and then run the setup process again.

Next step for Browser: Use the following information to resolve the error, and then try the setup process again.

Machine Properties:

Machine name: HALEEMO

Machine processor count: 8

OS version: Microsoft Windows 11 Pro (10.0.22631)

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 2022 MSSQLSERVER MSSQL16.MSSQLSERVER Database Engine Services 1033 16.0.1000.6 No Yes

SQL Server 2022 SQLEXPRESS MSSQL16.SQLEXPRESS Database Engine Services 1033 16.0.1000.6 No Yes

SQL Server 2022 SQLEXPRESS01 MSSQL16.SQLEXPRESS01 Database Engine Services 1033 16.0.1000.6 No Yes

SQL Server 2022 SQLEXPRESS02 MSSQL16.SQLEXPRESS02 Database Engine Services 1033 16.0.1000.6 No Yes

SQL Server 2022 SQLEXPRESS03 MSSQL16.SQLEXPRESS03 Database Engine Services 1033 16.0.1000.6 No Yes

SQL Server 2022 SQLEXPRESS04 MSSQL16.SQLEXPRESS04 Database Engine Services 1033 16.0.1000.6 No Yes

SQL Server 2022 MSSQLSERVER01 MSSQL16.MSSQLSERVER01 Database Engine Services 1033 16.0.1000.6 No Yes

SQL Server 2022 MSSQLSERVER02 MSSQL16.MSSQLSERVER02 Database Engine Services 1033 16.0.1000.6 No Yes

SQL Server 2022 MSSQLSERVER03 MSSQL16.MSSQLSERVER03 Database Engine Services 1033 16.0.1000.6 No Yes

SQL Server 2022 MSSQLSERVER04 MSSQL16.MSSQLSERVER04 Database Engine Services 1033 16.0.1000.6 No Yes

Package properties:

Description: Microsoft SQL Server 2022

ProductName: SQL Server 2022

Type: RTM

Version: 16

SPLevel: 0

Installation location: C:\SQL2022\Developer_ENU\x64\setup\

Installation edition: Developer

Product Update Status:

User selected not to include product updates.

Notice: Please read Microsoft SQL Server Software License Terms at aka.ms/useterms.

User Input Settings:

ACTION: Install

ADDCURRENTUSERASSQLADMIN: false

AGTSVCACCOUNT: NT Service\SQLAgent$MSSQLSERVER05

AGTSVCPASSWORD: *****

AGTSVCSTARTUPTYPE: Manual

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

AZUREARCPROXYSERVER: <empty>

AZUREBILLEDEDITION:

AZUREREGION: <empty>

AZURERESOURCEGROUP: <empty>

AZURESERVICEPRINCIPAL: <empty>

AZURESERVICEPRINCIPALSECRET: <empty>

AZURESUBSCRIPTIONID: <empty>

AZURETENANTID: <empty>

BROWSERSVCSTARTUPTYPE: Disabled

CONFIGURATIONFILE: C:\Program Files\Microsoft SQL Server\160\Setup Bootstrap\Log\20240701_144326\ConfigurationFile.ini

ENABLERANU: false

ENU: true

EXTSVCACCOUNT: <empty>

EXTSVCPASSWORD: <empty>

FEATURES: SQLENGINE

FILESTREAMLEVEL: 0

FILESTREAMSHARENAME: <empty>

FTSVCACCOUNT: <empty>

FTSVCPASSWORD: <empty>

HELP: false

IACCEPTSQLSERVERLICENSETERMS: true

IACKNOWLEDGEENTCALLIMITS: false

INDICATEPROGRESS: true

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: MSSQLSERVER05

INSTANCENAME: MSSQLSERVER05

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

NPENABLED: 0

PBDMSSVCACCOUNT: <empty>

PBDMSSVCPASSWORD: <empty>

PBDMSSVCSTARTUPTYPE: 0

PBENGSVCACCOUNT: <empty>

PBENGSVCPASSWORD: <empty>

PBENGSVCSTARTUPTYPE: 0

PBPORTRANGE: <empty>

PID: *****

PRODUCTCOVEREDBYSA: false

QUIET: true

QUIETSIMPLE: false

ROLE:

SAPWD: <empty>

SECURITYMODE: <empty>

SQLBACKUPDIR: <empty>

SQLCOLLATION: SQL_Latin1_General_CP1_CI_AS

SQLMAXDOP: 8

SQLMAXMEMORY: 2147483647

SQLMINMEMORY: 0

SQLSVCACCOUNT: NT Service\MSSQL$MSSQLSERVER05

SQLSVCINSTANTFILEINIT: true

SQLSVCPASSWORD: <empty>

SQLSVCSTARTUPTYPE: Automatic

SQLSYSADMINACCOUNTS: HALEEMO\Halee

SQLTELSVCACCT: NT Service\SQLTELEMETRY$MSSQLSERVER05

SQLTELSVCPASSWORD: <empty>

SQLTELSVCSTARTUPTYPE: Automatic

SQLTEMPDBDIR: <empty>

SQLTEMPDBFILECOUNT: 8

SQLTEMPDBFILEGROWTH: 64

SQLTEMPDBFILESIZE: 8

SQLTEMPDBLOGDIR: <empty>

SQLTEMPDBLOGFILEGROWTH: 64

SQLTEMPDBLOGFILESIZE: 8

SQLUSERDBDIR: <empty>

SQLUSERDBLOGDIR: <empty>

SUPPRESSPAIDEDITIONNOTICE: false

SUPPRESSPRIVACYSTATEMENTNOTICE: false

TCPENABLED: 0

UIMODE: Normal

UpdateEnabled: false

UpdateSource: MU

USEMICROSOFTUPDATE: false

USESQLRECOMMENDEDMEMORYLIMITS: false

Configuration file: C:\Program Files\Microsoft SQL Server\160\Setup Bootstrap\Log\20240701_144326\ConfigurationFile.ini

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, uninstall this feature, and then run the setup process again.

Component name: SQL Server Browser

Component error code: 0x84C6CB27

Error description: SQL Server Browser configuration for feature 'SQL_Browser_Redist_SqlBrowser_Cpu32' was cancelled by user after a previous installation failure. The last attempted step: Retrieving full path to the SQL Server Browser service executable using Windows Installer API for the SQL Server Browser component with ID '{2E86FD41-C179-456E-8E6A-5157ED427228}'..

Error help link: https://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=16.0.1000.6&EvtType=0x8510C01B%400x31BA4472%401222%4052007&EvtType=0x8510C01B%400x31BA4472%401222%4052007

Feature: SQL Browser

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 Browser

Component error code: 0x84C6CB27

Error description: SQL Server Browser configuration for feature 'SQL_Browser_Redist_SqlBrowser_Cpu32' was cancelled by user after a previous installation failure. The last attempted step: Retrieving full path to the SQL Server Browser service executable using Windows Installer API for the SQL Server Browser component with ID '{2E86FD41-C179-456E-8E6A-5157ED427228}'..

Error help link: https://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=16.0.1000.6&EvtType=0x8510C01B%400x31BA4472%401222%4052007&EvtType=0x8510C01B%400x31BA4472%401222%4052007

Rules with failures or warnings:

Global rules:

Warning IsFirewallEnabled The Windows Firewall is enabled. Make sure the appropriate ports are open to enable remote access. See the rules documentation at https://go.microsoft.com/fwlink/?linkid=2162127 for information about ports to open for each feature.

Rules report file: C:\Program Files\Microsoft SQL Server\160\Setup Bootstrap\Log\20240701_144326\SystemConfigurationCheck_Report.htm

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,948 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Erland Sommarskog 112.7K Reputation points MVP
    2024-07-02T12:38:35.6833333+00:00

    Am I right to assume that you have made multiple attempts to install SQL Server? Judging from the number of instances, I would think so.

    I would recommend that you follow the procedure described in this article: https://www.sql-easy.com/learn/how-to-uninstall-sql-server/. I have not tried it myself, but I learnt about this article someone who I tried to help, and this person was able to finally install SQL Server successfully.

    Also read this article, to learn about a known issue with SQL Server setup, Windows 11 and certain disk drives. Possibly that could be the reason for your initial installation feature. (What you are seeing now are likely to be the consequences of having made multiple attempts.)

    0 comments No comments

  2. LucyChenMSFT-4874 5,060 Reputation points
    2024-07-03T01:58:12.9233333+00:00

    Hi @Abdelhaleem Mohammed ,

    Thank you for reaching out and welcome to Microsoft Q&A!

    From the error message you provided, I recommend you reinstall your SQL Server.

    I get this document from a known thread like yours, please follow the steps in this document and try to reinstall the SQL Server.

    User's image

    In addition, as Erland says, try to learn about a known issue with SQL Server setup, Windows 11 and certain disk drives.

    Feel free to share your issue here if you have any concerns!

    Best regards,

    Lucy Chen


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our Documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    https://docs.microsoft.com/en-us/answers/support/email-notifications


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.