r/SQLServer • u/Affectionate_Big5305 • Oct 22 '25
Question problem
SQL Server works correctly on Windows 10, but when trying to install or connect on Windows 11, several issues occur.
During installation, an error message appears and the setup process fails.
When SQL Server is already installed, the application cannot connect to the server — it shows connection or access errors.
This issue seems specific to Windows 11, as the same configuration works without any problem on Windows 10.
0
Upvotes
•
u/AutoModerator Oct 22 '25
After your question has been solved /u/Affectionate_Big5305, please reply to the helpful user's comment with the phrase "Solution verified".
This will not only award a point to the contributor for their assistance but also update the post's flair to "Solved".
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
5
u/alinroc 4 Oct 22 '25
You need to provide a lot more information if people are going to offer useful suggestions.
http://www.catb.org/~esr/faqs/smart-questions.html
2
u/VladDBA Microsoft MVP Oct 22 '25
For the install failure check if it's this: https://learn.microsoft.com/en-us/troubleshoot/sql/database-engine/database-file-operations/troubleshoot-os-4kb-disk-sector-size?tabs=PowerShell
For the scenario where SQL Server is already installed check if the service is running (ideallly use SQL Server configuration manager, not services.msc), if the service isn't running, start it and retry the connection.
If the service doesn't start then check what event viewer has to say for the service start failure and then compare with the above link. Chances are the root cause is the same.
2
u/Jeffinmpls Oct 22 '25
I'm confused by this statement. if it's not installing, what is trying to connect? If you mean that SQL installs on windows 11 but you can't connect to it from a different server, it could be you need to add a TCP inbound firewall rule for port 1433. Though that's a guess as you didn't provide much info.
Also, for SQL installation failures the best place to start the the bootstrap logs. You can do a search for where they are for the version you're installing.
1
u/Commercial-Trash-606 Oct 23 '25
Need a bit more detail for the community to help you. What "Error" do you see for starters?
1
u/Dry_Author8849 Oct 26 '25
Post the content of the LOG file. You have a link in the screen shot: c:\program files... .txt.
That text file should contain more information on what's happening.
By the way, it runs fine in win 11.
Cheers!
0
u/FreedToRoam Oct 22 '25 edited Oct 22 '25
do you have the same network protocols installed and enabled on both OS versions? TCPIP, Netbios (Named Pipes or whatever they call it nowadays) come to mind. If this is a Netbios issue I would try to connect to the SQL server by IP address... in the connection window where you have the servername replace the name with the ip address of the server