Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
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
------------------------------
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!
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
make sure TDS protocol is open on your firewall. It helped in my case
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
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the September 2025 Power BI update to learn about new features.