Category: Troubleshooting
-
Lock Request Time Out Period Exceeded (Error 1222)
🚨Part of the SQL Server Errors series, the exact messages and what actually causes them. Msg 1222 · Level 16 · State 51 Lock request time out period exceeded. ⚡Find the blocker, not the victim: sys.dm_exec_requests shows who holds the lock, and the classic culprit is a session sleeping with an open transaction. Your query…
Written by
-
Column Name or Number of Supplied Values Does Not Match (Error 213)
SQL Server error 213 means the shape of your insert does not match the table. The four causes, why naming columns does not help INSERT … EXEC, and why TRY/CATCH will not catch it.
Written by
-
User, Group or Role Already Exists in the Current Database (Error 15023)
🚨Part of the SQL Server Errors series, the exact messages and what actually causes them. Msg 15023 · Level 16 · State 1 User, group, or role ‘AppUser’ already exists in the current database. Msg 15023, Level 16, State 1 ⚡Do not drop the user. ALTER USER [name] WITH LOGIN = [name]; remaps it to…
Written by
-
Cannot Open Database Requested by the Login (Errors 4060 and 4064)
🚨Part of the SQL Server Errors series, the exact messages and what actually causes them. Msg 4060 / 4064 · Level 11 · State 1 Cannot open database “YourDb” requested by the login. The login failed. Login failed for user ‘DOMAIN\user’. Msg 4060, Level 11, State 1 ⚡Check three things in order: the database name…
Written by
-
Cannot Open Backup Device: Operating System Error 5 (Access Is Denied)
🚨Part of the SQL Server Errors series, the exact messages and what actually causes them. Almost everyone meets this the first time they back up to a network share, and almost everyone spends the first ten minutes checking the wrong account. Msg 3201 · Level 16 · State 1 Cannot open backup device ‘X’. Operating…
Written by
-
A Connection Was Successfully Established, But Then an Error Occurred During Login
🚨Part of the SQL Server Errors series, the exact messages and what actually causes them. This one gets misread constantly, and the misreading costs real time. It looks like a login problem, people go and check the password, and the password was never the issue. The clue is in the first half of the sentence.…
Written by
-
SQL Server Errors: The Complete Guide
Every entry here is a message somebody pasted into a search box while something was broken. This page exists to get you from that message to the cause quickly, which is a different job from explaining what SQL Server errors are in general. Three Steps From Message to Cause 01 Get the real message The…
Written by
-
SQL Server Collation: Case Sensitivity and the Cross-Database Trap
Get Collation Conflicts and Cross-Database Dependencies finds real collation mismatches, but assumes you already know what collation actually controls. This post covers the fundamentals directly: what changes with collation, a real case-sensitivity test, and the cross-database trap that script exists to catch. What Collation Actually Controls Collation determines two things for character data: sort order…
Written by
-
SQL Server Isolation Levels (and When to Reach for RCSI)
Reading and Fixing a SQL Server Deadlock and Troubleshoot SQL Server Blocking both point at isolation level as part of the fix without covering what the levels actually are. This post fills that gap: what each isolation level trades off, what Read Committed Snapshot Isolation (RCSI) actually changes, and a real check of where this…
Written by
-
SET Options Have Incorrect Settings (Error 1934)
SQL Server error 1934 means the connection running the write has the wrong SET options for a filtered index or indexed view. Reads still work, which is why it usually shows up as one failing job.
Written by
- Set the Default Database for a SQL Server Login
- SQL Server High CPU: What to Check First, in Order
- Cannot Connect to SQL Server: The Checks in the Order That Finds It
- Cumulative Wait Stats Lie: Measuring Waits Over an Interval
- SQL Server Differential vs Log Backup: Which One Restores What, and How the Chain Breaks
- SQL Server MAXDOP and Cost Threshold: What To Set, and Why 5 Is Not a Recommendation
- Backups & Recovery (17)
- DBA Scripts (150)
- High Availability (HA) (12)
- Installation & Configuration (45)
- Maintenance (24)
- Migration & Upgrades (14)
- Monitoring (9)
- Performance Tuning (37)
- Security (Encryption & Permissions) (19)
- Storage & Capacity (14)
- T-SQL Fundamentals (11)
- Troubleshooting (65)
- Wait Types (235)