C
C#2y 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
SkOP2y ago
No description
Sk
SkOP2y 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
Just run in docker What does the log file say
Sk
SkOP2y 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
SkOP2y ago
whats that and would it work the exact same? im on windows 11, what can i do?
SinFluxx
SinFluxx2y ago
Well that help article has a Resolutions section, you can try that
Sk
SkOP2y ago
i did this one with no luck
No description
Sk
SkOP2y ago
i cant remember if i tried to install it on my c drive, ill try now
SinFluxx
SinFluxx2y ago
You did that and verified it was entered correctly and restarted before attempting the install again?
Sk
SkOP2y ago
yes. i got it working tho, ty for the help! i am about to cry with happiness
SinFluxx
SinFluxx2y ago
$close
MODiX
MODiX2y ago
Use the /close command to mark a forum thread as answered
Mayor McCheese
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
It'll pretty much work the same, except like now you don't SQL installed on your PC, which is a freaking godsend.

Did you find this page helpful?