C
C#6d ago
yasinfect

Help Needed with SQL Server Express Installation

Hi everyone, I’m trying to install SQL Server Express (Basic Edition) on my Windows machine for a Microsoft Windows Object Oriented Programming project, but I keep running into an error. Every time I attempt the installation, I get the following message: Oops...
Unable to install SQL Server (setup.exe).
Exit code (Decimal): -2080623238
Error description: There is a problem with this Windows Installer package.
A DLL required for this installation to complete could not be run.
Contact your support personnel or package vendor.
SQL SERVER INSTALL LOG FOLDER
C:\Program Files\Microsoft SQL Server\160\Setup Bootstrap\Log\20250928_155013 I’ve tried multiple times, but it keeps failing. I’m not sure what I’m missing or how to fix it. Can anyone help me troubleshoot this or suggest a solution? Thanks in advance!
No description
10 Replies
🕊 ILoveBirds 🕊
have u tried running the setup with run as administrator? there seems to be a working solution for this error in this topic
🕊 ILoveBirds 🕊
Stack Overflow
Installing sql server 2016, a dll could not be run error code 1723
I'm trying to install sql server 2016 standard version on windows 10 enterprise and it keeps giving me this error on installation. There is a problem with this Windows Installer package. A DLL re...
yasinfect
yasinfectOP5d ago
yes did not change
🕊 ILoveBirds 🕊
did u try the stack overflow solution?
yasinfect
yasinfectOP5d ago
yes
🕊 ILoveBirds 🕊
the 2 answers? if so I'm not sure how I can help, try googling more or wait for an answer by another user in here
yasinfect
yasinfectOP5d ago
okey thank you
AlisterKB
AlisterKB5d ago
I always use docker for spinning up a local DB. typically not advised for production. and not sure if running it in docker is an option for you. but a simple compose like below should spin up mssql for you real quick:
version: '3.8'
services:
sqlserver:
image: mcr.microsoft.com/mssql/server:2022-latest
container_name: sqlserver
environment:
ACCEPT_EULA: "Y"
MSSQL_SA_PASSWORD: "YourStrong!Passw0rd"
ports:
- "1433:1433"
volumes:
- sqlserverdata:/var/opt/mssql
volumes:
sqlserverdata:
version: '3.8'
services:
sqlserver:
image: mcr.microsoft.com/mssql/server:2022-latest
container_name: sqlserver
environment:
ACCEPT_EULA: "Y"
MSSQL_SA_PASSWORD: "YourStrong!Passw0rd"
ports:
- "1433:1433"
volumes:
- sqlserverdata:/var/opt/mssql
volumes:
sqlserverdata:
again this is pretty basic setup just for local test...
yasinfect
yasinfectOP5d ago
This Docker installation performs exactly the same tasks as SQL Server 2022. I got it right
AlisterKB
AlisterKB5d ago
as far as i know, yes (unless there is some tiny niche and obscure thing). it basically runs SQL server 2022 within a docker container so if you wanna hook it up to ef core, ado.net or just raw sql queries... shouldn't make a difference compared having it installed on bare metal if you will. -this docker compose YAML will use sql server 2022 -the user name will be sa -the password will be YourStrong!Passw0rd unless you change it in the yaml file before you run the docker compose -it will be available on localhost:1433 all you gotta do is install docker on your computer create a compose.yaml file (important that the file name is compose) containing what I have pasted for you here go to the same directory as the compose.Yaml file in your (bash terminal or powershell) and run docker compose up -d that's it. also just for future reference, and among DBs this is mainly with sql server and pg and all don't have similar limitation, but sql server can only run on x86 devices so you can't run this (whether with docker or without) on a apple silicon or PI.

Did you find this page helpful?