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.
  • 相关阅读:
    第一个mpvue小程序开发总结
    ES6学习笔记(一)——扩展运算符和解构赋值
    我所理解的发布订阅模式
    移动web开发适配方案之Rem
    探究JS中对象的深拷贝和浅拷贝
    《BAT前端进阶[师徒班]》学习总结
    浅析使用vue-router实现前端路由的两种方式
    webpack之proxyTable设置跨域
    《免费前端教程不会告诉你这些》知乎LIVE读后感
    MySQL binlog-server搭建
  • 原文地址:https://www.cnblogs.com/ojo/p/1786674.html
Copyright © 2011-2022 走看看