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 a wheelbarrow of apples stopped at a closed vermilion side gate in an orchard fence

Availability Group Restore Error When You Add a Database

June 28, 2019
Pinal Dave
SQL Tips and Tricks
AlwaysOn, SQL Backup and Restore, SQL Error Messages, SQL High Availability, SQL Server Management Studio

The availability group restore error appears when automatic seeding and a manual restore both fill the same secondary. The post explains the cause, shows read-only checks for the seeding mode and the replica roles, and gives the fix with its undo.

Read More
Gouache painting of an open wooden music box on a piano stool with a jammed vermilion cylinder inside

Error 41368: Memory-Optimized Tables and Transactions

June 11, 2019
Pinal Dave
SQL Tips and Tricks
In-Memory OLTP, SQL Error Messages, SQL Scripts, SQL Transactions, Transaction Isolation

Error 41368 appears when an explicit transaction reads a memory-optimized table at the read committed level. This post reproduces the error, fixes it with a table hint or a database option, and shows the two related errors that the fixes do not cure. It also answers what the option changes for other tables.

Read More
SQL SERVER - FIX: Msg 15274 - Access to the Remote Server is Denied Because the Current Security Context is not Trusted

SQL SERVER – FIX: Msg 15274 – Access to the Remote Server is Denied Because the Current Security Context is not Trusted

June 3, 2019
Pinal Dave
SQL Tips and Tricks
Linked Server, SQL Error Messages, SQL Server, SQL Server Security

In this blog we would talk about fixing error 15274 – Access to the remote server is denied because the current security context is not trusted.

Read More
Gouache painting of two database files carrying different identity tags

Error 5173 in SQL Server: One or More Files Do Not Match the Primary File of the Database

June 1, 2019
Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL Data Storage, SQL Error Messages, SQL Log

Error 5173 in SQL Server means a database file does not belong to the primary file of its database. I reproduced it twice on SQL Server 2025, once at attach and once at startup, and show the log messages, the checks to run and the fix for a user database and for msdb.

Read More
Gouache painting of an old wooden crate with a swollen lid that will not close, bound by a vermilion strap, standing on a stone floor

Setup Error 0x84CF0004: REBUILDDATABASE Permission Update Failed

May 31, 2019
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Server, SQL Server Security, SQL Setup

Setup error 0x84CF0004 appeared when clients rebuilt system databases with SQL Setup. The log said the permission setting update failed for a job history file. Moving the JOBS folder aside and creating an empty one fixed it.

Read More
Gouache painting of an old wooden music box on a table with its crank handle missing, the vermilion crank lying beside it

Setup Error 0x851A0012: REBUILDDATABASE Needs the sa Password

May 25, 2019
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Login, SQL Server, SQL Server Security

Setup error 0x851A0012 appeared while I helped a customer rebuild corrupted system databases after a hardware failure. The command had no SAPWD parameter, and the instance used SQL Authentication Mode. Adding SAPWD let setup finish.

Read More
conflicting

SQL SERVER – FIX: Msg 4353 – Conflicting File Relocations Have Been Specified for File. Only a Single WITH MOVE Clause Should be Specified for Any Logical File Name

May 24, 2019
Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL Error Messages, SQL Server

In this blog we would learn how to fix Msg 4353 – Conflicting file relocations have been specified for the file. We solve this error very quickly.

Read More
Previous 1 … 8 9 10 11 12 13 14 … 117 Next
  • Books
  • Testimonials
  • Privacy Policy

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