Why can't I install SQL server 2022 express edition?

Angelos Pappas 20 Reputation points
2024-06-28T23:11:53.34+00:00

I am using VMware fusion pro on my m2 macbook in order to run windows so I can use the windows version of visual studio 2022 for a school project. I need to use winforms and connect it to a database. When I try and download SQL server 2022 express edition I keep getting the same error codes even though I am running it as administrator :

  • -2068052294
  • -2147467259

How can I fix my problem and finally download SQL server 2022 express edition for my school project?

Additionally, are there any alternatives to SQL server express edition that I could use to connect to visual studio 2022?

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

Accepted answer
  1. Erland Sommarskog 106K Reputation points MVP
    2024-06-29T08:46:08.2133333+00:00

    To better understand why Setup is failing, you can check the log files in C:\Program Files\Microsoft SQL Server\160\Setup Bootstrap\Log. There is one log folder per installation attempt. The files of most interest is summary.txt and details.txt.

    However, before we go there, does your machine have an ARM processor? In that case that could be the problem, as SQL Server does not support ARM. Whether VMware Fusion hides that fact for you, I don't know.

    Here is a link that I collected at some occasion about installing SQL Server on a Mac: https://www.youtube.com/watch?v=9c7Ti2OcLZg You can also check out Randolph West's post here: https://learn.microsoft.com/en-us/answers/questions/1298316/sql-server-2022-database-engine-services-failde?comment=answer-1266245&page=2#answers

    1 person found this answer helpful.

2 additional answers

Sort by: Most helpful
  1. Bruce (SqlWork.com) 60,866 Reputation points
    2024-06-30T22:24:43.5333333+00:00

    There is no SqlExpress or any SqlServer version for windows or Linux arm64. You will need to install docker on your Mac and add Rosetta support if not already installed. Then pull a x64 SqlExpress docker container.

    https://hub.docker.com/r/microsoft/mssql-server

    note: for a school project you can use SQLite.

    1 person found this answer helpful.
    0 comments No comments

  2. MikeyQiaoMSFT-0444 1,750 Reputation points
    2024-07-01T10:14:39.5366667+00:00

    Hi,Angelos Pappas

    Refer to this blog

    So, to be a bit blunt, running x86 operating systems on Apple silicon is not something we are planning to deliver with this project. Installing Windows or Linux from an x86 ISO, for example, will not work.We can see that VMware Fusion Pro does not support operating systems with an x86 architecture, meaning that you have installed the ARM architecture version of Windows. SQL Server does not support ARM

    1 person found this answer helpful.