SQL Server Service Manager Fails with "The system cannot find the file specified" Error Message

Anh Nhật 5 Reputation points
2023-05-21T14:22:11.4566667+00:00

It's said the system cannot find the file specified when I tried to instal sql server

Screenshot 2023-05-22 133154

SQL Server Other
{count} vote

2 answers

Sort by: Most helpful
  1. LiHongMSFT-4306 31,566 Reputation points
    2023-05-22T06:46:04.1033333+00:00

    Hi @Anh Nhật

    Found this in Detail.txt

    Sco: File 'C:\SQL2022\Express_ENU\x64\setup\x64\sql_engine_core_inst.msi' does not exist

    Please refer to this similar thread: Please help erorr unable to install sql sever 2022 Express Edision.

    Best regards,

    Cosmog Hong


    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.


  2. Stefan Horz 3,466 Reputation points
    2023-05-24T07:59:53.4433333+00:00

    Hi,

    in the log, there is this error:

    01) 2023-05-23 00:41:57 Slp: Configuration action failed for feature CommonFiles during timing ConfigNonRC and scenario ConfigNonRC.

    (01) 2023-05-23 00:41:57 Slp: The MOF compiler could not connect with the WMI server. This is either because of a semantic error such as an incompatibility with the existing WMI repository or an actual error such as the failure of the WMI server to start.

    (01) 2023-05-23 00:41:57 Slp: The configuration failure category of current exception is ConfigurationFailure

    (01) 2023-05-23 00:41:57 Slp: Configuration action failed for feature CommonFiles during timing ConfigNonRC and scenario ConfigNonRC.

    (01) 2023-05-23 00:41:57 Slp: Microsoft.SqlServer.Configuration.Sco.ScoException: The MOF compiler could not connect with the WMI server. This is either because of a semantic error such as an incompatibility with the existing WMI repository or an actual error such as the failure of the WMI server to start.

    (01) 2023-05-23 00:41:57 Slp: at Microsoft.SqlServer.Configuration.Sco.WmiProvider.InstallMof()

    (01) 2023-05-23 00:41:57 Slp: at Microsoft.SqlServer.Configuration.Slp.SlpConfigurationPrivate.Install_ConfigWMIProvider(Dictionary`2 actionData)

    (01) 2023-05-23 00:41:57 Slp: at Microsoft.SqlServer.Configuration.Slp.SlpConfigurationPrivate.Install_PostMSI(Dictionary`2 actionData, PublicConfigurationBase spcb)

    (01) 2023-05-23 00:41:57 Slp: at Microsoft.SqlServer.Configuration.Slp.SlpConfigurationPrivate.InstallImpl(ConfigActionTiming timing, Dictionary`2 actionData, PublicConfigurationBase spcb)

    (01) 2023-05-23 00:41:57 Slp: at Microsoft.SqlServer.Configuration.Slp.SlpConfigurationPrivate.Repair(ConfigActionTiming timing, Dictionary`2 actionData, PublicConfigurationBase spcb)

    (01) 2023-05-23 00:41:57 Slp: at Microsoft.SqlServer.Configuration.SqlConfigBase.PrivateConfigurationBase.Execute(ConfigActionScenario scenario, ConfigActionTiming timing, ConfigBaseAction action, Dictionary`2 actionData, PublicConfigurationBase spcbCurrent)

    (01) 2023-05-23 00:41:57 Slp: at Microsoft.SqlServer.Configuration.SqlConfigBase.SlpConfigAction.ExecuteAction(String actionId)

    (01) 2023-05-23 00:41:57 Slp: at Microsoft.SqlServer.Configuration.SqlConfigBase.SlpConfigAction.Execute(String actionId, TextWriter errorStream)

    (01) 2023-05-23 00:41:57 Slp: The following is an exception stack listing the exceptions in outermost to innermost order

    (01) 2023-05-23 00:41:57 Slp: Inner exceptions are being indented

    (01) 2023-05-23 00:41:57 Slp:

    (01) 2023-05-23 00:41:57 Slp: Exception type: Microsoft.SqlServer.Configuration.Sco.ScoException

    (01) 2023-05-23 00:41:57 Slp: Message:

    (01) 2023-05-23 00:41:57 Slp: The MOF compiler could not connect with the WMI server. This is either because of a semantic error such as an incompatibility with the existing WMI repository or an actual error such as the failure of the WMI server to start.

    (01) 2023-05-23 00:41:57 Slp: HResult : 0x84bb0001

    (01) 2023-05-23 00:41:57 Slp: FacilityCode : 1211 (4bb)

    (01) 2023-05-23 00:41:57 Slp: ErrorCode : 1 (0001)

    (01) 2023-05-23 00:41:57 Slp: Data:

    (01) 2023-05-23 00:41:57 Slp: SQL.Setup.FailureCategory = ConfigurationFailure

    (01) 2023-05-23 00:41:57 Slp: WatsonConfigActionData = REPAIR@CONFIGNONRC@COMMONFILES

    (01) 2023-05-23 00:41:57 Slp: WatsonExceptionFeatureIdsActionData = System.String[]

    (01) 2023-05-23 00:41:57 Slp: Stack:

    (01) 2023-05-23 00:41:57 Slp: at Microsoft.SqlServer.Configuration.Sco.WmiProvider.InstallMof()

    (01) 2023-05-23 00:41:57 Slp: at Microsoft.SqlServer.Configuration.Slp.SlpConfigurationPrivate.Install_ConfigWMIProvider(Dictionary`2 actionData)

    I would check: https://mikerodionov.com/unable-to-install-sql-server-2019-sql-install-error-the-mof-compiler-could-not-connect-with-the-wmi-server/

    Regards,

    Stefan


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.