This month's discount Comprehensive Database Performance Health Check · Testimonials
SQLAuthority with Pinal Dave
Home
  • Consulting
    • Health Check
  • Free Videos
  • All Articles
    • AI
    • SQL Performance
    • SQL Tips and Tricks
    • Interview Questions and Answers
    • SQL Puzzle
    • SQL Video
    • SQLAuthority News
    • Personal
  • Books
  • Consulting
Gouache painting of two blue database towers joined by a broken copper connection

Database Mirroring Connection Error 4: An Error Occurred While Receiving Data 10054

February 4, 2017
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Login, SQL Mirroring, SQL Server Security

A database mirroring connection error needs evidence from both ends of the connection. In a 2017 Azure case, the clue was a missing CONNECT permission on the endpoint. I tested the endpoint queries on SQL Server 2025 with a scratch endpoint, a grant, a deny and a stopped endpoint.

Read More
Diagram of database mirroring between workgroup machines: the principal sends data to the mirror, and the connections to the witness fail because the witness endpoint gives the login_mirroring login no CONNECT permission, with the GRANT CONNECT fix

Mirroring Endpoint Permission: Fixing Connection Handshake Failed

January 6, 2017
Pinal Dave
SQL Tips and Tricks
SQL Connection, SQL Mirroring, SQL Scripts, SQL Server

A friend using certificates on workgroup machines saw Connection Handshake Failed on every mirroring login attempt. The witness ERRORLOG showed a missing mirroring endpoint permission, and one GRANT statement fixed it.

Read More
keycertificates

SQL SERVER – How Enable Transparent Database Encryption (TDE) for Database Mirroring?

March 21, 2016
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Mirroring, SQL Scripts, SQL Server, SQL Server Encryption

hey incidentally wanted to enable Transparent Database Encryption (TDE) on their server and wanted me to guide on how to enable.

Read More
SQL SERVER - Mirroring Error 1412 - The remote copy of database has not been rolled forward to a point in time that is encompassed in the local copy of the database log. (Microsoft SQL Server, Error:)

SQL SERVER – Mirroring Error 1412 – The remote copy of database has not been rolled forward to a point in time that is encompassed in the local copy of the database log. (Microsoft SQL Server, Error:)

March 16, 2016
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Mirroring, SQL Server

A client clicked Start Mirroring and got Mirroring Error 1412: the remote copy has not been rolled forward far enough. Here is what it means and how to fix it.

Read More
SQL SERVER - Database Mirroring login attempt failed - Connection handshake failed

SQL SERVER – Database Mirroring login attempt failed – Connection handshake failed

August 25, 2015
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Mirroring, SQL Scripts, SQL Server

While building an AlwaysOn demo I hit the Database Mirroring login attempt failed error with a connection handshake failure. Here is how I fixed it.

Read More
SQL Server system log window.

SQL SERVER – Mirroring Configured Without Domain – The server network address TCP://SQLServerName:5023 can not be reached or does not exist

March 18, 2010
Pinal Dave
SQL Tips and Tricks
Microsoft Certifications, SQL Error Messages, SQL Mirroring, SQL Scripts

My friend kept getting the server network address cannot be reached error while testing mirroring configured without domain on his laptop. Here is why.

Read More
SQL SERVER - The server network address "TCP://SQLServer:5023" can not be reached or does not exist. Check the network address name and that the ports for the local and remote endpoints are operational. (Microsoft SQL Server, Error: 1418)

SQL SERVER – The server network address “TCP://SQLServer:5023” can not be reached or does not exist. Check the network address name and that the ports for the local and remote endpoints are operational. (Microsoft SQL Server, Error: 1418)

January 11, 2010
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Mirroring, SQL Scripts

Error 1418 in database mirroring says the server network address cannot be reached. Try my suggestions one by one, starting with a NO RECOVERY restore.

Read More
Previous 1 2 3
  • Books
  • Testimonials
  • Privacy Policy

© 2006 – 2026 All rights reserved. pinal @ SQLAuthority.com