Unable to install SQL server 2019 Developer Edition

Josef Szeliga 6 Reputation points
2023-05-11T10:21:57.73+00:00

After having issues installing MSSQLLocalDB (SQL Express) 2019 I decided to try and install the SQL Server Developer edition.

During the install I received this error message.

"TITLE: Microsoft SQL Server 2019 Setup

The following error has occurred:

The service cannot be started, either because it is disabled or because it has no enabled devices associated with it."

There is no additional information in the event logs.

Here is the final install window.

SQL 2019 Install error message

The error mentions that a service has not started. But it doesn't name the service or why it didn't start.

I've attached the detail and summary log setup files. Summary.txt and Detail.txt

Is anyone able to point me in the right direction to resolve this issue?

Josef

SQL Server Other
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Anonymous
    2023-05-11T16:03:52.8366667+00:00

    As you are using the named instance "SQL2019" the service would have been called "MSSQL$SQL2019". You can check in the Windows Event logs for the Service Control Manager for any problems with starting that service.

    Additionally, depending on how far the service started, you may have an error log from SQL Server that would be included in the "C:\Program Files\Microsoft SQL Server\150\Setup Bootstrap\Log\20230511_195313" directory. If it has been created, that may give a clue as to why the service was not able to completely start.

    0 comments No comments

  2. ZoeHui-MSFT 41,491 Reputation points
    2023-05-12T08:20:53.75+00:00

    Hi @Josef Szeliga,

    Try to open Services Window, by writing services.msc into Start->Run and hit Enter.

    When window appears, then find SQL Browser service, right click and choose Properties, and then in dropdown list choose Automatic, or Manual, whatever you want, and click OK. Eventually, if not started immediately, you can again press right click on this service and click Start.

    If this do not work, please check the error log to see if there is any useful messages.

    Regards,

    Zoe Hui


    If the answer is helpful, please click "Accept Answer" and upvote it.


  3. Josef Szeliga 6 Reputation points
    2023-05-15T08:51:02.16+00:00

    Finally found the answer on StackOverflow. Seems that after 2022 Microsoft has started encrypting data between any clients (including SSMS) and the server. On a personal server it's unlikely to find any certificate from a trusted certificate authority.

    So, i just checked this box when connecting to the server.

    If you're using SQL Management Studio, please goto connection properties and click on "Trust server certificated"

    Seems to work fine. Haven't tried connecting with EF yet.

    More here on stackoverflow.

    https://stackoverflow.com/questions/17615260/the-certificate-chain-was-issued-by-an-authority-that-is-not-trusted-when-conn

    0 comments No comments

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.