A connection was successfully established with the server, but then an error occurred during the pre-login handshake

前端 未结 24 3133
無奈伤痛
無奈伤痛 2020-11-27 03:37

I am getting following error when i am trying to connect Production DB from Local Environment.

I was able to connect Production DB before, but suddenly i am getting f

24条回答
  •  旧时难觅i
    2020-11-27 04:30

    I had a similar issue where I couldn't connect to a database and tried the recommendations here.

    At the end of the day this is what worked for me:

    Used the SQL Server Configuration Manager tool to enable the TCP/IP and/or the Named Pipes protocols on the SQL Server client computer.

    1. Click Start, point to All Programs, and click SQL Server Configuration Manager.
    2. Click to expand SQL Server Network Configuration and then click Client Protocols.
    3. Right-click the TCP/IP protocol and then click Enable.
    4. Right-click the Named Pipes protocol and then click Enable.
    5. Restart the SQL server service if prompted to do so.

    I am still not sure why or when this was disabled.

提交回复
热议问题