Category: Troubleshooting
-
Linked Server Login Failed for NT AUTHORITY\ANONYMOUS LOGON
A linked server that works on the server and fails from your desktop is the double hop. The query that proves it, the four login mappings and what each one fails with, plus error 7391 and MS DTC.
Written by
-
SQL Server Agent Jobs Queued on Maximum User Working Threads (Fix)
SQL Server Agent jobs queued with message [398]: how to see what is waiting for a thread right now, which of 3 similarly named limits you hit, and the Windows desktop heap value that cleared it on a clustered distributor.
Written by
-
Cumulative Wait Stats Lie: Measuring Waits Over an Interval
Wait statistics accumulate from startup, so on a long-running instance they describe history rather than the problem in front of you. Two snapshots and a subtraction fix that.
Written by
-
SQL Server Cannot Obtain a LOCK Resource at This Time (Error 1204)
SQL Server cannot obtain a LOCK resource at this time. What error 1204 actually means, the 1 query and the 1 ERRORLOG line that find the cause, and the fix in the order worth trying.
Written by
-
SQL Server Log Won’t Truncate: What log_reuse_wait_desc Is Telling You
A transaction log is filling a disk and the backup job says it succeeded. SQL Server already knows why it cannot reuse the space, and it tells you in one column of sys.databases.
Written by
-
Cannot Execute As the Database Principal (Error 15517)
SQL Server error 15517, cannot execute as the database principal. Why dbo maps to an orphaned owner after a restore and the one-line fix.
Written by
-
Cannot Resolve the Collation Conflict (Error 468)
Nothing is broken when you see 468. Two sides of a comparison store text under different rules, and SQL Server will not guess which should win. The fix is one line, and it does not belong on the column.
Written by
-
Logical Consistency-Based I/O Error in SQL Server (Errors 823 and 824)
823 means the storage failed the read and said so. 824 means it succeeded and the data was wrong. Which one you have changes who you escalate to, and what you protect first.
Written by
-
Cannot Recover the Master Database (Error 3417) and What the Log Actually Says
3417 is the summary, not the diagnosis. Four kinds of master damage reproduced in a throwaway container, and 3417 appeared in none of them. Here is what each one actually logs.
Written by
-
The Database Principal Owns a Schema in the Database and Cannot Be Dropped (Error 15138)
DROP USER refuses because dropping the user would leave a schema with no owner.
Written by
- Tune a Slow Query With Copilot in SSMS
- xp_readerrorlog: Read the SQL Server Error Log with T-SQL
- Cannot Drop Database Because It Is Currently in Use (Error 3702)
- Could Not Drop Login Because the User Is Currently Logged In (Error 15434)
- Set a Maximum Database File Size in SQL Server (MAXSIZE)
- SQL Server Activity Monitor in SSMS (and the Performance Dashboard)
- Backups & Recovery (18)
- DBA Scripts (154)
- High Availability (HA) (13)
- Installation & Configuration (60)
- Maintenance (25)
- Migration & Upgrades (14)
- Monitoring (10)
- Performance Tuning (38)
- Security (Encryption & Permissions) (25)
- Storage & Capacity (18)
- T-SQL Fundamentals (17)
- Troubleshooting (108)
- Wait Types (236)