Forum Discussion

anilsharma80's avatar
anilsharma80
Frequent Visitor
4 years ago

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-error

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

The semaphore timeout period has expired


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

4 Replies

  • Anonymous's avatar
    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

  • 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

     

  • 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!