Mssql express installation failure

Samuel 0 Reputation points
2024-06-04T14:48:02.3+00:00

I am trying to install sql express on my laptop but i am unable to

i have attached the error message and error file Sql error

Summary_DESKTOP-JU2JTT1_20240604_154222.txt

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,164 questions
{count} votes

3 answers

Sort by: Most helpful
  1. LucyChenMSFT-4874 2,820 Reputation points
    2024-06-05T02:02:01.8733333+00:00

    Hi @Samuel,

    Thank you for reaching out and welcome to Microsoft.

    The error message:

    The system cannot find the file specified

    It means that the database it is trying to run the attachability checks on is not found within that snapshot/database.

    We need to heck the logs to find out which database it is failing on exactly. Could you please provide the detailed logs here to help us narrow down the issue?

    Thanks for your understanding. Your time and cooperation are much valued by us. We are looking forward to hearing from you to assist further.

    Best regards,

    Lucy Chen


    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.

    https://docs.microsoft.com/en-us/answers/support/email-notifications


  2. LucyChenMSFT-4874 2,820 Reputation points
    2024-06-06T09:16:49.94+00:00

    Hi @Samuel,

    From the error message, I found this:

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

    It seems that this is the reason for you to install SQL Server failure. This may be caused by some settings errors during the installation process.

    I suggest you do a clean uninstallation and then reinstall SQL server.

    In addition, I find this known issue like yours, you can also check out it and follow the steps in this article.

    Feel free to share your issue here if you have any confused!

    Best regards,

    Lucy Chen


    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.

    https://docs.microsoft.com/en-us/answers/support/email-notifications


  3. LucyChenMSFT-4874 2,820 Reputation points
    2024-06-06T03:23:59.7933333+00:00

    Hi @Samuel,

    Thanks for your kindly feedback!

    I've checked your error logs. I agree with Erland, and I think the downloaded installer file may corrupt.

    Are you thinking about the Erland's methods?

    You can also try uninstalling and reinstalling. Here are the steps to uninstall SQL Server cleanly, you can follow the steps below:

    1. Run 'services. MSc' to view all services, stop all services related to SQL Server.
    2. Remove all SQL Server components from 'Programs and Features'
    3. Backup the registry
    4. Delete the the SQL Server related registry: --HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server --HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSSQLServer
    5. Go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall and delete all the sub-keys referencing SQL Server
    6. Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services and delete all the keys referencing SQL Server.
    7. Delete the relevant folders: Remove the physical path where the Microsoft SQL Server database is installed.
    8. Delete the default installation folder of the system (If it is 64-bit, don’t forget to check the Program Files (x86) folder).
    9. Reboot the machine.

    NOTE: please use an administrator account to reinstall SQL Server on your computer (Right click->run as administrator).

    Hope this can help you well.

    Feel free to share your issue here if you have any confused.

    Best regards,

    Lucy Chen


    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.

    https://docs.microsoft.com/en-us/answers/support/email-notifications