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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
anilsharma80
Frequent Visitor

Not able to connect Power BI data mart in SQL server management studio

Not able to connect Power BI Datamart in SQL server , It gives below error. Kindly help me .

 

A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: TCP Provider, error: 0 - The semaphore timeout period has expired.) (Microsoft SQL Server, Error: 121)

For help, click: https://docs.microsoft.com/sql/relational-databases/errors-events/mssqlserver-121-database-engine-er...

------------------------------

The semaphore timeout period has expired


------------------------------

4 REPLIES 4
pvuppala
Helper V
Helper V

Anyone figured out how to connect DataMart's SQL endpoint via SQL Mgmt Studio or Azure Studio?  

 

A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 25 - Connection string is not valid) (.Net SqlClient Data Provider)

Thanks in advance! 

CraigHumphrey
New Member

Hey @anilsharma80 you don't happen to remember if this was ever resolved and what the solution was do you?

 

I've got the same situation with a client.  When I try to run SSMS from inside their network and connect to a datamart instance, I get the same semaphore timeout.  I suspect they have restrictive firewall rules...

 

Thanks

Craig

 

az38
Community Champion
Community Champion

Hi @anilsharma80 

make sure TDS protocol is open on your firewall. It helped in my case


do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn
Anonymous
Not applicable

Hi @anilsharma80 ,

 

Is the firewall turned on in the server that is installing SQL Server? If so, please check that if you have added the TCP port and UDP port (1434) in the inbound rule of the Windows Firewall, and you can verify TCP port in SQL Server Configuration Manager.

For more details about configuring remote access for SQL Server, please review the following blog.
How to configure SQL Express 2012 to accept remote connections

 

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly -- How to provide sample data

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors