Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Analitika
Post Prodigy
Post Prodigy

Connect to server using ms sql server to database

Hello,

 

I would like to ask how to connect to database server using Microsoft SQL server Management Studio. I have connection to database in odbc, and it works, whenever I try connect using microsoft sql server with same connection I am getting this error:

 

Analitika_0-1694528147740.png

 

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Analitika ,

You can refer the following official documentation to connect to a SQL Server instance:

Connect to a SQL Server instance

vyiruanmsft_0-1694684641893.png

vyiruanmsft_1-1694684762739.png

The error message you’re seeing is quite common when trying to connect to SQL Server. It usually means that the client application can’t find the server or can’t establish a connection. You can refer the following official documentation to make troubleshooting and solve the problem:

A network-related or instance-specific error occurred - SQL Server | Microsoft Learn

  • Check the server and instance name: Make sure the server and instance name you’re trying to connect to is correct.
  • Check the SQL Server service: Make sure the SQL Server service is running. You can check this in the SQL Server Configuration Manager.
  • Check the SQL Server Browser service: If you’re trying to connect to a named instance, make sure the SQL Server Browser service is running.
  • Allow remote connections: Ensure that SQL Server is configured to allow remote connections.
  • Check the network protocols: SQL Server uses TCP/IP and named pipes to communicate. Make sure these network protocols are enabled.
  • Check the firewall: Your firewall might be blocking the connection. You may need to create an exception on the firewall for the SQL Server instance and port you are using.
  • Ping the server: You can try pinging the server to check if DNS can be resolved correctly.

Best Regards

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @Analitika ,

You can refer the following official documentation to connect to a SQL Server instance:

Connect to a SQL Server instance

vyiruanmsft_0-1694684641893.png

vyiruanmsft_1-1694684762739.png

The error message you’re seeing is quite common when trying to connect to SQL Server. It usually means that the client application can’t find the server or can’t establish a connection. You can refer the following official documentation to make troubleshooting and solve the problem:

A network-related or instance-specific error occurred - SQL Server | Microsoft Learn

  • Check the server and instance name: Make sure the server and instance name you’re trying to connect to is correct.
  • Check the SQL Server service: Make sure the SQL Server service is running. You can check this in the SQL Server Configuration Manager.
  • Check the SQL Server Browser service: If you’re trying to connect to a named instance, make sure the SQL Server Browser service is running.
  • Allow remote connections: Ensure that SQL Server is configured to allow remote connections.
  • Check the network protocols: SQL Server uses TCP/IP and named pipes to communicate. Make sure these network protocols are enabled.
  • Check the firewall: Your firewall might be blocking the connection. You may need to create an exception on the firewall for the SQL Server instance and port you are using.
  • Ping the server: You can try pinging the server to check if DNS can be resolved correctly.

Best Regards

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.