C
C#7mo ago
Sk

cannot set up a SQL Server

i have been trying for hours to set up an sql server but everything i do will not make it work, i have no idea whats going wrong. i need it to connect to my MVC, im new to learning ASP.NET & i cant get past this, every tutorial ihave watched hasnt helped. Has anyone had this issue before and was able to fix it?
No description
15 Replies
Sk
Sk7mo ago
No description
Sk
Sk7mo ago
ive uninstalled and reinstalled several times & i would try a different sql server hoster but i dont want to complicate things further and idk if they work with MVC
Mayor McCheese
Mayor McCheese7mo ago
Just run in docker What does the log file say
Sk
Sk7mo ago
this is what it says to do with the reason it failed "Detailed results: Feature: Database Engine Services Status: Failed Reason for failure: An error occurred during the setup process of the feature. Next Step: Use the following information to resolve the error, uninstall this feature, and then run the setup process again. Component name: SQL Server Database Engine Services Instance Features Component error code: 0x851A001A Error description: Wait on the Database Engine recovery handle failed. Check the SQL Server error log for potential causes. Error help link: https://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=16.0.1000.6&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026"
Sk
Sk7mo ago
whats that and would it work the exact same? im on windows 11, what can i do?
SinFluxx
SinFluxx7mo ago
Well that help article has a Resolutions section, you can try that
Sk
Sk7mo ago
i did this one with no luck
No description
Sk
Sk7mo ago
i cant remember if i tried to install it on my c drive, ill try now
SinFluxx
SinFluxx7mo ago
You did that and verified it was entered correctly and restarted before attempting the install again?
Sk
Sk7mo ago
yes. i got it working tho, ty for the help! i am about to cry with happiness
SinFluxx
SinFluxx7mo ago
$close
MODiX
MODiX7mo ago
Use the /close command to mark a forum thread as answered
Mayor McCheese
Mayor McCheese7mo ago
Docker: Install containers for SQL Server on Linux - SQL Server
This quickstart shows how to use Docker to run the SQL Server Linux container images. You connect to a database and run a query.
Mayor McCheese
Mayor McCheese7mo ago
It'll pretty much work the same, except like now you don't SQL installed on your PC, which is a freaking godsend.