Share via

Cannot Connect TO Name_server

Brian Lizama 0 Reputation points
2023-06-30T01:44:50.6533333+00:00

TITLE: Connect to Server


Cannot connect to Name_server.


ADDITIONAL INFORMATION:

Connection Timeout Expired. The timeout period elapsed while attempting to consume the pre-login handshake acknowledgement. This could be because the pre-login handshake failed or the server was unable to respond back in time. The duration spent while attempting to connect to this server was - [Pre-Login] initialization=149; handshake=29970; (Microsoft SQL Server, Error: -2)

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


Tiempo de espera de la operación de espera agotado


BUTTONS:

OK


Estimados,

hace días podía conectarme sin problemas a un servidor. sin embargo desde hace 2 días que no puedo conectar. deje texto del error arriba... estoy desesperado. Por favor su ayuda.

SQL Server | Other
SQL Server | Other

Additional SQL Server features and topics not covered by specific categories

0 comments No comments

3 answers

Sort by: Most helpful
  1. Erland Sommarskog 134.7K Reputation points MVP Volunteer Moderator
    2023-06-30T21:57:48.66+00:00

    This error message suggest that you are able to reach the SQL Server instance. Or at least, you are reaching something, and we guess it is the SQL Server instance you want to connect to, but then something goes wrong. Are you connecting with Windows authentication? In such case, it may be a connection issue between SQL Server and the domain controller.

    Was this answer helpful?

    0 comments No comments

  2. Anonymous
    2023-06-30T05:55:55.7766667+00:00

    Hi @Brian Lizama

    Here is an official document for troubleshooting the timeout expired message when connecting to SQL Server: https://learn.microsoft.com/en-us/troubleshoot/sql/database-engine/connect/timeout-expired-error?source=recommendations.

    Hope this helps you.

    If the answer is helpful, please click Accept Answer and Up-Vote for the same. If you have any questions, please feel free to let me know.

    Best regards,

    Aniya

    Was this answer helpful?

    0 comments No comments

  3. Olaf Helper 47,621 Reputation points
    2023-06-30T05:04:54.52+00:00

    Possible causes:

    • SQL Server name wrong
    • SQL Server not running
    • Firewall blocking access
    • and much more, see:

    Troubleshoot connectivity issues in SQL Server

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.