Unable to install SQL Server. I keep getting this error;"Could not find the Database Engine startup handle". Over 10 times now

Osazemen Jennifer Aghedo 0 Reputation points
2023-03-19T22:14:00.2366667+00:00

I have been unable to install SQL for a few days now. I am using windows 11 and I am trying to install the basic option. I will appreciate any help I can get

Overall summary:
  Final result:                  Failed: see details below
  Exit code (Decimal):           -2061893607
  Start time:                    2023-03-19 23:00:57
  End time:                      2023-03-19 23:11:51
  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.


Machine Properties:
  Machine name:                  LAPTOP-74F9PEGG
  Machine processor count:       16
  OS version:                    Microsoft Windows 11 Home (10.0.22621)
  OS service pack:               
  OS region:                     United Kingdom
  OS language:                   English (United Kingdom)
  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      MSSQLSERVER2022      MSSQL16.MSSQLSERVER2022        Database Engine Services                 1033                 Developer Edition    16.0.1000.6     No         Yes       
  SQL Server 2022      MSSQLSERVER2022      MSSQL16.MSSQLSERVER2022        SQL Server Replication                   1033                 Developer Edition    16.0.1000.6     No         Yes       
  SQL Server 2022      MSSQLSERVER2022      MSSQL16.MSSQLSERVER2022        Machine Learning Services and Language Extensions 1033                 Developer Edition    16.0.1000.6     No         Yes       
  SQL Server 2022      MSSQLSERVER2022      MSAS16.MSSQLSERVER2022         Analysis Services                        1033                 Developer Edition    16.0.1000.6     No         Yes       
  SQL Server 2022      MSSQLSERVER          MSSQL16.MSSQLSERVER            Database Engine Services                 1033                 Developer Edition    16.0.1050.5     No         Yes       
  SQL Server 2022      MSSQLSERVER01        MSSQL16.MSSQLSERVER01          Database Engine Services                 1033                 Developer Edition    16.0.1050.5     No         Yes       
  SQL Server 2022      MSSQLSERVER02        MSSQL16.MSSQLSERVER02          Database Engine Services                 1033                 Developer Edition    16.0.1050.5     No         Yes       
  SQL Server 2022      MSSQLSERVER03        MSSQL16.MSSQLSERVER03          Database Engine Services                 1033                 Developer Edition    16.0.1050.5     No         Yes       
  SQL Server 2022      MSSQLSERVER04        MSSQL16.MSSQLSERVER04          Database Engine Services                 1033                 Developer Edition    16.0.1050.5     No         Yes       
  SQL Server 2022      MSSQLSERVER05        MSSQL16.MSSQLSERVER05          Database Engine Services                 1033                 Developer Edition    16.0.1050.5     No         Yes       
  SQL Server 2022      MSSQLSERVER06        MSSQL16.MSSQLSERVER06          Database Engine Services                 1033                 Developer Edition    16.0.1000.6     No         Yes       
  SQL Server 2022      MSSQLSERVER07        MSSQL16.MSSQLSERVER07          Database Engine Services                 1033                 Developer Edition    16.0.1000.6     No         Yes       
  SQL Server 2022      MSSQLSERVER08        MSSQL16.MSSQLSERVER08          Database Engine Services                 1033                 Developer Edition    16.0.1000.6     No         Yes       
  SQL Server 2022      MSSQLSERVER09        MSSQL16.MSSQLSERVER09          Database Engine Services                 1033                 Developer Edition    16.0.1000.6     No         Yes       
  SQL Server 2022      MSSQLSERVER10        MSSQL16.MSSQLSERVER10          Database Engine Services                 1033                 Developer Edition    16.0.1000.6     No         Yes       
  SQL Server 2022      MSSQLSERVER11        MSSQL16.MSSQLSERVER11          Database Engine Services                 1033                 Developer Edition    16.0.1000.6     No         Yes       
  SQL Server 2022      MSSQLSERVER12        MSSQL16.MSSQLSERVER12          Database Engine Services                 1033                 Developer Edition    16.0.1000.6     No         Yes       
  SQL Server 2022                                                          Data Quality Client                      1033                 Developer Edition    16.0.1000.6     No         Yes       
  SQL Server 2022                                                          Integration Services                     1033                 Developer Edition    16.0.1000.6     No         Yes       
  SQL Server 2022                                                          Master Data Services                     1033                 Developer Edition    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$MSSQLSERVER13
  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:         Automatic
  CONFIGURATIONFILE:             C:\Program Files\Microsoft SQL Server\160\Setup Bootstrap\Log\20230319_230057\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 new
  INSTANCEID:                    MSSQLSERVER13
  INSTANCENAME:                  MSSQLSERVER13
  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:                  Latin1_General_CI_AS
  SQLMAXDOP:                     8
  SQLMAXMEMORY:                  2147483647
  SQLMINMEMORY:                  0
  SQLSVCACCOUNT:                 NT Service\MSSQL$MSSQLSERVER13
  SQLSVCINSTANTFILEINIT:         true
  SQLSVCPASSWORD:                <empty>
  SQLSVCSTARTUPTYPE:             Automatic
  SQLSYSADMINACCOUNTS:           LAPTOP-74F9PEGG\aghed
  SQLTELSVCACCT:                 NT Service\SQLTELEMETRY$MSSQLSERVER13
  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\20230319_230057\ConfigurationFile.ini

Detailed results:
  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, 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.
  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=0xD15B4EB2%400x4BDAF9BA%401306%4025&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4025

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\20230319_230057\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.
12,820 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Erland Sommarskog 101.9K Reputation points MVP
    2023-03-19T22:24:36.0566667+00:00

    As the error message says, check the SQL Server errorlog. You find it in C:\Program Files\Microsoft SQL Server\MSSQL16.MSSQLSERVER\MSSQL\LOG\ERRORLOG.

    If you see a message about 256 misaligned reads, you are running into a known issue, and Microsoft has published this troubleshooter: https://docs.microsoft.com/sv-se/troubleshoot/sql/admin/troubleshoot-os-4kb-disk-sector-size?WT.mc_id=DP-MVP-5440.


  2. Bjoern Peters 8,781 Reputation points
    2023-03-20T01:44:33.98+00:00

    Hi,

    Welcome to Q&A Forum; this is a great place to get support, answers, and tips.

    Thank you for posting your query; I'll be more than glad to help you out.

    Maybe the engine doesn't start until creating an error log, so you should at least find a summary hostname date.txt and/or a detail.txt in this folder:

    C:\Program Files\Microsoft SQL Server\160\Setup Bootstrap\Log\20230319_230057

    If you can post those files here, we might be able to give an answer to why your engines won't start.

    I hope my answer is helpful to you,

    Your

    Bjoern Peters

    If the reply was helpful, please upvote and/or accept it as an answer, as this helps others in the community with similar questions. Thanks!


  3. Joseph Markson 0 Reputation points
    2023-03-20T07:57:26.3966667+00:00

    Open Task Manager > tab page 'Services'. Click on 'Open Services'. Find the service 'SQL Server (SQLEXPRESS14 or SQLEXPRESS14BS)' > right mouse button > 'Stop'. Find the service 'SQL Server (SQLEXPRESS14 or SQLEXPRESS14BS)' > right mouse button > 'Start'.

    Check if this helps.

    0 comments No comments