Cannot connect to deskstop in sql serve

võ thị tuyết ngân 20 Reputation points
2024-09-13T09:16:50.13+00:00

Screenshot (271)

I cannot connect to desktop, so help me fix this error

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,836 questions
0 comments No comments
{count} votes

Accepted answer
  1. Erland Sommarskog 111.6K Reputation points MVP
    2024-09-13T22:04:29.81+00:00

    Make sure that you have the most recent version of SSMS installed.

    The newest versions of SQL Server adds some security-related options on the front-page. For a connection to SQL Server you can select Optional for encryption. You can also check Trust Server Certificate.

    None of these options are recommendable in a production environment where you are connecting to a server on the network, least of all if you work with sensitive data.

    1 person found this answer helpful.
    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. CathyJi-MSFT 22,211 Reputation points Microsoft Vendor
    2024-09-14T02:20:44.95+00:00

    Hi,

    It seems you intentionally use either a certificate from a non-trusted authority or a self-signed certificate to encrypt connections to SQL Server.  Please try below suggestions to resolve your issue.

    In SSMS, please select the Options tab in the Connect properties window, and then select the Trust server certificate option.

     9-14-1

    If it is not work, please add the certificate authority to the Trusted Root Certification Authorities store on the client computer, please refer to this MS document The certificate received from the remote server was issued by an untrusted certificate authority" error when you connect to SQL Server to get detail steps.


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

    1 person found this answer helpful.

  2. CathyJi-MSFT 22,211 Reputation points Microsoft Vendor
    2024-09-14T02:22:05.3933333+00:00

    duplicate reply.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.