Unable to connect to SQL Express "Error: 26-Error Locating Server/Instance Specified)

后端 未结 17 2631
一整个雨季
一整个雨季 2020-12-08 04:33

I am at an loose end with one particular box that is running SQL Server 2008 R2 Express.

  • Windows Firewall is configured to allow inbound TCP & UDP 1433, 14
17条回答
  •  無奈伤痛
    2020-12-08 05:32

    I found this url to be very useful: https://social.msdn.microsoft.com/Forums/sqlserver/en-US/2cdcab2e-ea49-4fd5-b2b8-13824ab4619b/help-server-not-listening-on-1433

    In particular, my problem was that I did not enable the TCP/IP in Sql Server Configuration Manager->SQL Server Network Configuration->Protocols for SQLEXPRESS.

    Once you open it, you have to go to the IP Addresses tab and for me, changing IPAll to TCP port 1433 and deleting the TCP Dynamic Ports value worked.

    Follow the other steps to make sure 1433 is listening (Use netstat -an to make sure 0.0.0.0:1433 is LISTENING.), and that you can telnet to the port from the client machine.

    Finally, I second the suggestion to remove the \SQLEXPRESS from the connection.

    EDIT: I should note I am using SQL Server 2014 Express.

提交回复
热议问题