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.
  • 相关阅读:
    在linux系统安装tomcat后,bin文件下startup.sh启动不
    利用教育邮箱注册JetBrains产品(pycharm、idea等)的方法
    linux 查看当前系统版本号
    windows 重装系统
    linux rpm方式安装mysql
    官网下载MySQL最新版本的安装包
    Redis随笔
    八大排序算法的java实现
    XML的两种解析方式
    Quartz快速入门
  • 原文地址:https://www.cnblogs.com/ojo/p/1786674.html
Copyright © 2011-2022 走看看