Share via

Problem Installing SQL Server 2019

Anonymous
2022-08-29T12:17:18+00:00

Hello, I'm having trouble with installing SQL Server 2019 Express edition. The problems started after I got an SSD. I've copied my hard drive where I previously had SQL Server locally. I am using the latter for developing web apps with ASP.NET Core. However I wasn't able to start my apps properly since the ORM isn't finding the database. I tried deinstalling SQL Server, but the process had stuck on a certain cpu validation so I did the mistake of deleting everything related to it. Now my installation fails during configuration. This is the exception that is being thrown:

The configuration failure category of current exception is ConfigurationFailure

(01) 2022-08-29 15:13:11 Slp: Configuration action failed for feature SQL_ENGINE_CORE_CNS during timing ConfigNonRC and scenario ConfigNonRC.

(01) 2022-08-29 15:13:11 Slp: System.ArgumentNullException: Value cannot be null.

(01) 2022-08-29 15:13:11 Slp: Parameter name: value

(01) 2022-08-29 15:13:11 Slp: at System.IO.Directory.SetCurrentDirectory(String path)

(01) 2022-08-29 15:13:11 Slp: at Microsoft.SqlServer.Configuration.XTP.HkPerfCtrConfigurationPrivate.AddRemovePerfLib2Counters(Boolean register, Boolean shouldThrow)

(01) 2022-08-29 15:13:11 Slp: at Microsoft.SqlServer.Configuration.XTP.HkPerfCtrConfigurationPrivate.Repair(ConfigActionTiming timing, Dictionary`2 actionData, PublicConfigurationBase spcb)

(01) 2022-08-29 15:13:11 Slp: at Microsoft.SqlServer.Configuration.SqlConfigBase.PrivateConfigurationBase.Execute(ConfigActionScenario scenario, ConfigActionTiming timing, ConfigBaseAction action, Dictionary`2 actionData, PublicConfigurationBase spcbCurrent)

(01) 2022-08-29 15:13:11 Slp: at Microsoft.SqlServer.Configuration.SqlConfigBase.SlpConfigAction.ExecuteAction(String actionId)

(01) 2022-08-29 15:13:11 Slp: at Microsoft.SqlServer.Configuration.SqlConfigBase.SlpConfigAction.Execute(String actionId, TextWriter errorStream)

(01) 2022-08-29 15:13:11 Slp: The following is an exception stack listing the exceptions in outermost to innermost order

(01) 2022-08-29 15:13:11 Slp: Inner exceptions are being indented

(01) 2022-08-29 15:13:11 Slp:

(01) 2022-08-29 15:13:11 Slp: Exception type: System.ArgumentNullException

(01) 2022-08-29 15:13:11 Slp: Message:

(01) 2022-08-29 15:13:11 Slp: Value cannot be null.

(01) 2022-08-29 15:13:11 Slp: Parameter name: value

(01) 2022-08-29 15:13:11 Slp: HResult : 0x80004003

(01) 2022-08-29 15:13:11 Slp: Data:

(01) 2022-08-29 15:13:11 Slp: SQL.Setup.FailureCategory = ConfigurationFailure

(01) 2022-08-29 15:13:11 Slp: WatsonConfigActionData = REPAIR@CONFIGNONRC@SQL_ENGINE_CORE_CNS

(01) 2022-08-29 15:13:11 Slp: WatsonExceptionFeatureIdsActionData = System.String[]

(01) 2022-08-29 15:13:11 Slp: Stack:

(01) 2022-08-29 15:13:11 Slp: at System.IO.Directory.SetCurrentDirectory(String path)

(01) 2022-08-29 15:13:11 Slp: at Microsoft.SqlServer.Configuration.XTP.HkPerfCtrConfigurationPrivate.AddRemovePerfLib2Counters(Boolean register, Boolean shouldThrow)

(01) 2022-08-29 15:13:11 Slp: at Microsoft.SqlServer.Configuration.XTP.HkPerfCtrConfigurationPrivate.Repair(ConfigActionTiming timing, Dictionary`2 actionData, PublicConfigurationBase spcb)

(01) 2022-08-29 15:13:11 Slp: at Microsoft.SqlServer.Configuration.SqlConfigBase.PrivateConfigurationBase.Execute(ConfigActionScenario scenario, ConfigActionTiming timing, ConfigBaseAction action, Dictionary`2 actionData, PublicConfigurationBase spcbCurrent)

(01) 2022-08-29 15:13:11 Slp: at Microsoft.SqlServer.Configuration.SqlConfigBase.SlpConfigAction.ExecuteAction(String actionId)

(01) 2022-08-29 15:13:11 Slp: at Microsoft.SqlServer.Configuration.SqlConfigBase.SlpConfigAction.Execute(String actionId, TextWriter errorStream)

(01) 2022-08-29 15:13:11 Slp: Watson Bucket 2

Original Parameter Values

Windows for home | Windows 10 | Files, folders, and storage

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

1 answer

Sort by: Most helpful
  1. David-M 115.4K Reputation points Independent Advisor
    2022-08-29T12:55:46+00:00

    Hi, I'm David.

    The Microsoft Community is a forum for home users.

    Due to the scope of your question (SQL Server), I suggest you access the link below, which will direct you to the Microsoft Q&A page.

    https://docs.microsoft.com/en-us/answers/index....

    Microsoft Q&A has IT professionals and system admins who can best help you with this type of question.

    Best regards.

    Was this answer helpful?

    0 comments No comments