Author: Peter Whyte
-
Login Failed: The Account Is Disabled (Error 18470)
🚨Part of the SQL Server Errors series, the exact messages and what actually causes them. Msg 18470 · Level 14 · State 1 Login failed for user ‘ErrDemoDisabled’. Reason: The account is disabled. Msg 18470, Level 14, State 1 ⚡Enable is one line; the real question is why it was off. sys.server_principals modify_date tells you…
Written by
-
Login Failed: The Login Is From an Untrusted Domain (Error 18452)
🚨Part of the SQL Server Errors series, the exact messages and what actually causes them. Msg 18452 · Level 14 · State 1 Login failed. The login is from an untrusted domain and cannot be used with Integrated authentication. Msg 18452, Level 14, State 1 ⚡Start at the client, not the domain: whoami shows whether…
Written by
-
Could Not Allocate Space Because the Filegroup Is Full (Error 1105)
🚨Part of the SQL Server Errors series, the exact messages and what actually causes them. Msg 1105 · Level 17 · State 2 Could not allocate space for object ‘dbo.Orders’.’PK_Orders’ in database ‘YourDb’ because the ‘PRIMARY’ filegroup is full. Create disk space by deleting unneeded files, dropping objects in the filegroup, adding additional files to…
Written by
-
A Read of the File Succeeded After Failing (Error 825, the Read-Retry Warning)
🚨Part of the SQL Server Errors series, the exact messages and what actually causes them. Msg 825 · Level 10 · State 2 A read of the file ‘D:\Data\YourDb.mdf’ at offset 0x00000c46e58000 succeeded after failing 1 time(s) with error: incorrect checksum (expected: 0x2f8a1b3c; actual: 0x9d4e7a11). Additional messages in the SQL Server error log and system…
Written by
-
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. Msg 1222, Level 16, State 51 ⚡Find the blocker, not the victim: sys.dm_exec_requests shows who holds the lock, and the classic culprit is a session sleeping…
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
Start Here
- DBA Scripts: The Complete Guide
- Run a Full Health Check
- DBA Scripts & Tools
- SSMS: The Complete Guide
- SQL Server Errors: The Complete Guide
- Wait Types Library
The Pillars
Blog Categories
- Backups & Recovery (16)
- DBA Scripts (151)
- High Availability (HA) (12)
- Installation & Configuration (38)
- Maintenance (24)
- Migration & Upgrades (14)
- Monitoring (7)
- Performance Tuning (35)
- Security (Encryption & Permissions) (20)
- Storage & Capacity (14)
- T-SQL Fundamentals (11)
- Troubleshooting (55)
- Wait Types (235)
Latest Posts
- Cannot Execute As the Database Principal (Error 15517)
- Silent Failures: The SQL Server Problems That Never Raise an Error
- SQL Server Login Migration: What Gets Silently Left Behind
- CREATE USER WITHOUT LOGIN vs Contained Database Users
- The sqldba MCP Server: Give Your AI Assistant a Verified SQL Server Reference
- Cannot Resolve the Collation Conflict (Error 468)
Blog Tags
Access (4) Always On Availability Groups (4) Auditing (7) Backups (6) Blocking (4) Blocking Locking (6) Collectors (7) Database Backups & Recovery (8) Database Backups and Recovery (5) Database Maintenance (7) DBA Tools (24) Disk Space (5) Error Log (3) Extended Events (8) Features (6) High Availability (6) Indexes (7) Installation (7) Inventory (8) Maintenance (6) Migration (14) Monitoring (27) Performance (21) Performance Troubleshooting (9) PowerShell (4) Query Behaviour (5) Security (10) SQL Agent (5) SQL Scripts (17) SQL Server Administration (10) SQL Server Configuration (7) SQL Server Errors (5) SQL Server High Availability (4) SQL Server Internals (3) SQL Server Management Studio (SSMS) (6) SQL Server Monitoring (7) SQL Server Networking (9) SQL Server Security (7) Storage and Capacity (7) T-SQL (10) Temp DB (3) Tracing (7) Transaction Logs (4) Troubleshooting (24) Windows Server (4)