Sql Server 2022 database engine services Failde

ömer yıldız 0 Reputation points
2023-06-04T12:40:22.21+00:00

Hello, I installed SQL 2022, but I got the error that I received database engine service, but I could not solve the problem and I could not find the solution to the problem anywhere.WhatsApp Image 2023-06-04 at 15.37.10

SQL Server Other
{count} votes

8 answers

Sort by: Most helpful
  1. Olaf Helper 47,436 Reputation points
    2023-06-05T05:59:10.5466667+00:00

    I disabled the firewall

    It was only a warning regarding Firewall, not an error; you can ignore it.

    Better review installation log file(s) for more details, see

    https://learn.microsoft.com/en-us/sql/database-engine/install-windows/view-and-read-sql-server-setup-log-files?view=sql-server-ver16

    0 comments No comments

  2. ömer yıldız 0 Reputation points
    2023-06-05T11:40:15.87+00:00

    I try the path on the site you mentioned, but there is no error file after the log file." There are such files in C:\Program Files\Microsoft SQL Server\160\Setup Bootstrap\Log\20230523_160542.


  3. ömer yıldız 0 Reputation points
    2023-06-05T14:41:12.94+00:00

    In the top post, I thought that I should reach the summary.txt or detail.txt file and find out where the error originated, but I could not find anything related to the error information in the log(s) file.


  4. ömer yıldız 0 Reputation points
    2023-06-06T18:41:55.6633333+00:00

    Okay, Detail.txt

    0 comments No comments

  5. Erland Sommarskog 121.4K Reputation points MVP Volunteer Moderator
    2023-06-06T20:36:18.8766667+00:00

    I found two exceptions, but none of them stand out directly. First there is:

    (01) 2023-06-04 22:10:13 SQLEngine: --SqlEngineSetupPrivate: Failed to set register with Software Usage Metrics: System.IO.FileNotFoundException: Sistem belirtilen dosyayı bulamıyor. (Exception from HRESULT: 0x80070002)
       at System.Reflection.RuntimeAssembly.nLoadFile(String path, Evidence evidence)
       at System.Reflection.Assembly.LoadFile(String path)
       at Microsoft.SqlServer.Chainer.Infrastructure.SoftwareUsageMetrics.RegisterSUM(String productName, String roleName, Guid roleGuid)
       at Microsoft.SqlServer.Configuration.SqlEngine.SqlEngineSetupPrivate.RegisterUsageMetricsRole()
    
    

    This seems to be related to performance counters. Setup appears to continue after this, so this may be benign. Although, this could lead to the next exception:

    (01) 2023-06-04 22:10:42 Slp: The configuration failure category of current exception is ConfigurationFailure
    (01) 2023-06-04 22:10:42 Slp: Configuration action failed for feature SQL_Engine_Core_Inst during timing ConfigNonRC and scenario ConfigNonRC.
    (01) 2023-06-04 22:10:42 Slp: System.ComponentModel.Win32Exception (0x80004005): Unknown error (0xe0000235)
    (01) 2023-06-04 22:10:42 Slp:    at Microsoft.SqlServer.Configuration.SqlEngine.RsFxConfiguration.Install()
    (01) 2023-06-04 22:10:42 Slp:    at Microsoft.SqlServer.Configuration.SqlEngine.FilestreamConfiguration.Install()
    (01) 2023-06-04 22:10:42 Slp:    at Microsoft.SqlServer.Configuration.SqlEngine.SqlEngineSetupPrivate.SetupFilestream(EffectiveProperties properties)
    (01) 2023-06-04 22:10:42 Slp:    at Microsoft.SqlServer.Configuration.SqlEngine.SqlEngineSetupPrivate.Install_ConfigNonRC_Prepare(EffectiveProperties properties)
    (01) 2023-06-04 22:10:42 Slp:    at Microsoft.SqlServer.Configuration.SqlEngine.SqlEngineSetupPrivate.Install(ConfigActionTiming timing, Dictionary`2 actionData, PublicConfigurationBase spcb)
    (01) 2023-06-04 22:10:42 Slp:    at Microsoft.SqlServer.Configuration.SqlConfigBase.PrivateConfigurationBase.Execute(ConfigActionScenario scenario, ConfigActionTiming timing, ConfigBaseAction action, Dictionary`2 actionData, PublicConfigurationBase spcbCurrent)
    (01) 2023-06-04 22:10:42 Slp:    at Microsoft.SqlServer.Configuration.SqlConfigBase.SqlFeatureConfigBase.Execute(ConfigActionScenario scenario, ConfigActionTiming timing, ConfigBaseAction action, Dictionary`2 actionData, PublicConfigurationBase spcbCurrent)
    (01) 2023-06-04 22:10:42 Slp:    at Microsoft.SqlServer.Configuration.SqlConfigBase.SlpConfigAction.ExecuteAction(String actionId)
    (01) 2023-06-04 22:10:42 Slp:    at Microsoft.SqlServer.Configuration.SqlConfigBase.SlpConfigAction.Execute(String actionId, TextWriter errorStream)
    (01) 2023-06-04 22:10:42 Slp: The following is an exception stack listing the exceptions in outermost to innermost order
    (01) 2023-06-04 22:10:42 Slp: Inner exceptions are being indented
    (01) 2023-06-04 22:10:42 Slp: 
    (01) 2023-06-04 22:10:42 Slp: Exception type: System.ComponentModel.Win32Exception
    (01) 2023-06-04 22:10:42 Slp:     Message: 
    (01) 2023-06-04 22:10:42 Slp:         Unknown error (0xe0000235)
    (01) 2023-06-04 22:10:42 Slp:     HResult : 0x80004005
    

    Unknown error, don't you love it?

    However, there is one last straw, because I see this just above the exception:

    (01) 2023-06-04 22:10:42 Slp: SetValue: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\FltMgr, Name = AttachWhenLoaded

    This prompts me to ask: what anti-malware software are you running?


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.