sqlserver related questions

Buddhai 11 信誉分
2024-08-25T01:42:54.2766667+00:00

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.

SQL Server
SQL Server
Microsoft 关系数据库管理和分析系统的一个系列,用于实现电子商务、业务线和数据仓库解决方案。
138 个问题
SQL Server Integration Services
Transact-SQL
Transact-SQL
ANSI SQL 语言的 Microsoft 扩展,包括过程编程、局部变量和各种支持函数。
19 个问题
{count} 票

1 个答案

排序依据: 非常有帮助
  1. CathyJi-MSFT 21,966 信誉分 Microsoft 供应商
    2024-08-26T03:05:23.16+00:00

    Hi @Buddhai ,

    This is a general SQL server connection error message, please follow below steps to troubleshoot this issue:

    1. Make sure SQL Server Service is running
    2. If a named instance, make sure SQL Server browser service is running. Make sure the instance name is spelled correct and there is actually such an instance on your target machine.
    3. Make sure SQL Server is configured to allow remote connections
    4. Examine the SQL Server error log for messages confirming that SQL is listening on the expected network interfaces and ports
    5. Test server connectivity with PING from the client machine
    6. Test port connectivity using TELNET to the server and port (from step 4) from the client machine.  For example,

    TELNET <server-name> 1433

    1. Check firewall settings if step 5 or 6 connectivity test fails

     If you have some confuse about the steps, please refer to MS document A network-related or instance-specific error occurred while establishing a connection to SQL Server to get more information.

     


    If the answer is helpful, please click "Accept Answer" and kindly upvote it.


你的答案

问题作者可以将答案标记为“接受的答案”,这有助于用户了解已解决作者问题的答案。