question

alvaroarancibiap avatar image
0 Votes"
alvaroarancibiap asked AmeliaGu-msft commented

SQL Server 2019 installation failed

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-general
· 5
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Can you share complete output of summary.txt file ?

0 Votes 0 ·

There it goes77323-summary.txt


0 Votes 0 ·
summary.txt (18.8 KiB)

Seems like the next file we want to look at is SQL_Browser_Redist_SqlBrowser_Cpu32.

0 Votes 0 ·
Show more comments
AmeliaGu-msft avatar image
0 Votes"
AmeliaGu-msft answered alvaroarancibiap commented

Hi @alvaroarancibiap,
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


· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

After cleaning the SQL Server registry and renaming the folders, I tried to install a new instance, but the following error message appears:
77886-sql-error-install.png


0 Votes 0 ·
AmeliaGu-msft avatar image
0 Votes"
AmeliaGu-msft answered AmeliaGu-msft commented

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


· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @AmeliaGu-msft
I ran setup.exe as administrator, tried to install a new instance but another error message appears during installation:

78784-code2.png


78821-installationinfo.png

I also share with you the files you mentioned

78812-summary.txt
78813-detail.txt


0 Votes 0 ·
code2.png (57.9 KiB)
summary.txt (17.0 KiB)
detail.txt (2.6 MiB)

Hi alvaroarancibiap,

Could you please try this troubleshooter tool to fix corrupt registry keys?

Best Regards,
Amelia


0 Votes 0 ·
ErlandSommarskog avatar image
0 Votes"
ErlandSommarskog answered

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

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.