zoukankan      html  css  js  c++  java
  • Unable to connect to server '(local)'; SQLServerAgent cannot start

    [Action]

    Trying to connect to the SQL server using SQL server management studio.

    SQL server 2005 9.00.4035 32 bit

    Windows Server 2003 Standard Edition 64bit

    [Result]

    The SQL server connection fails with the below error.

    A connection was successfully established with the server, but then an error
    occurred during the pre-login handshake. (provider: TCP Provider, error: 0 -
    An existing connection was forcibly closed by the remote host.) (Microsoft
    SQL Server, Error: 10054)


    [Event Viewer]

     SQLServerAgent could not be started (reason: Unable to connect to server '(local)'; SQLServerAgent

    [Resolution]

      We are trying to connect to the SQL Server 2005 using the IP address and
    the port number.

      Checked the protocols. All the protocols are fine and SQL server is
    listening on the specified protocols.

     Checked if Force Encryption is on. It is off.

     We could see 4 certificates listed in the Configuration manager.

     Performed the UDL test. Obtained the error that SSL configuration failed.


     Obtained the thumbprints of all the certificates.

     Opened mmc.exe, added the certificates snap in for computer account and
    local computer store.

     Deleted the four certificates in the personal store.

     Now when we tried to restart the SQL server. It failed with the below
    errors in the error log.

     Error: 26014, Severity: 16, State: 1.

     Unable to load user-specified certificate. The server will not accept a
    connection. You should verify that the certificate is correctly installed.
    See "Configuring Certificate for Use by SSL" in Books Online.

     Error: 17182, Severity: 16, State: 1.

     Worked
    After deleting certificates in personal stores. I am able to login to sql server.
  • 相关阅读:
    面向过程, 面向对象, 类和对象, 类与数据类型
    python函数
    简单的登录注册函数
    Java遍历包中所有类
    spring boot jar启动
    过期算法
    负载均衡算法
    spring boot druid mybatis多数据源
    多线程wait和notify实现1212
    多线程售票
  • 原文地址:https://www.cnblogs.com/ojo/p/1786674.html
Copyright © 2011-2022 走看看