SQL Server 2019 installation failed

Alvaro_Arancibia_P 1 Reputation point
2021-03-12T14:21:48.88+00:00

I am having trouble installing SQL Server 2019, this is the error message:

Microsoft SQL Server 2019 Setup

The following error has occurred:

The folder 'C:\Users\alvar\Downloads\SQL2019[DirSharedForCurrentVersion]' does not exist. The folder is expected to exist to set permission on it.

Click 'Retry' to retry the failed action, or click 'Cancel' to cancel this action and continue setup.

Is there any utility to repair the SQL server registry or lost directories?

Regards

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,264 questions
{count} votes

3 answers

Sort by: Most helpful
  1. AmeliaGu-MSFT 13,971 Reputation points Microsoft Vendor
    2021-03-15T08:54:06.147+00:00

    Hi @Alvaro_Arancibia_P ,
    It seems this issue is related to a previous installation failure. And according to setup log, there are two instances on the computer. Are these two instances successfully installed?
    If not, you can do the following steps in this link to uninstall the SQL Server clearly.
    If the two instances are successfully installed, could you please share us the detail.txt in the setup log?

    Best Regards,
    Amelia


    If the answer is helpful, please click "Accept Answer" and upvote it.
    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. AmeliaGu-MSFT 13,971 Reputation points Microsoft Vendor
    2021-03-17T08:31:47.057+00:00

    Hi alvaroarancibiap,

    Sorry for replying late.
    Please try to download the setup.exe file from here in case the original setup file is corrupted.
    Please make sure to right click on setup.exe file and select run as administrator when you want to start the SQL Server installation. And disable any antivirus software, and turn off firewall for the time that the installation is running.
    If it does not work, please share us the summary.txt and detail.txt in setup log.

    Best Regards,
    Amelia


  3. Erland Sommarskog 105.9K Reputation points MVP
    2021-03-17T22:16:28.117+00:00

    To be honest, I have no idea of what is going on.

    I googled a little, and I found two old forum threads. Both have suggestions for how to resolve the problem, but there is no feedback indicating that they really worked.

    Nevertheless, you can look at:
    https://social.msdn.microsoft.com/Forums/windowsmobile/en-US/0f00e554-bfa3-4798-b5b5-43975d3b79a4/sql-server-setup-failuresql-server-setup-has-encountered-the-following-error-method-not-found?forum=sqlsetupandupgrade
    https://social.technet.microsoft.com/Forums/WINDOWS/en-US/2571e2a4-d002-499a-a7af-e468024abcc4/installation-problem?forum=sqlexpress

    0 comments No comments