Click here to Skip to main content
15,903,741 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have installed sql server 2019 on machin.While installing I have used mix mode. When I try to connect with help of windows and sql authentication. In both case it failed. Getting an error : Network related or instant specific error

What I have tried:

Tried :
Server Name : computername\sqlexpress
username : sa
password :

Instead of
computername\sqlexpress
,I tried using localhost as well as ..
But nothing worked out for me.I tried to use windows authentication also.
Posted
Updated 13-Sep-21 23:55pm
Comments
Richard Deeming 9-Sep-21 9:51am    
There are lots of things that you could have missed. But since you decided to paraphrase the error message, rather than providing the full and exact error message, we can't begin to guess which.

Click the green "Improve question" link and update your question to include the full error message, and the precise steps you have taken to try to resolve the issue.
Member 15329613 9-Sep-21 10:58am    
Are you sure you have a named instance of sqlexpress? Try (local).

The error you're referring to is a very common one and unfortunately there are a lot of possible reasons behind it. MS has made a good document which should help you to solve the problem, see Troubleshoot connecting to the SQL Server Database Engine - SQL Server | Microsoft Docs[^]
 
Share this answer
 
Create a file nammed " test.udl " and open it
expand the list of available servers, you'll sure find the right instance name.

verify that the sql service is running : write on run box " services.msc"
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900