Category: Troubleshooting
-
The SELECT Permission Was Denied on the Object (Error 229)
This is the last door in the corridor. The login worked (that gate was 18456), the database let the principal in (that one was 916), and now a single object has said no.
Written by
-
The Filegroup Has No Files Assigned to It (Error 622)
SQL Server error 622 arrives long after the mistake: creating a table on an empty filegroup succeeds, and the first insert is what fails. Why it is late, and the one statement that fixes it.
Written by
-
Could Not Open a Connection to SQL Server: Error 53 and Named Pipes Error 40
The client could not find a SQL Server at the name you typed.
Written by
-
SSPI Handshake Failed in SQL Server (Error 17806)
Windows authentication reached SQL Server and Windows refused the account before any login was checked. The error log gets 17806, the client usually gets 18452, and no SQL Server setting will fix it. Error 17806 · Severity 20 · State 14 SSPI handshake failed with error code 0x8009030c, state 14 while establishing a connection with…
Written by
-
Violation of PRIMARY KEY Constraint and Cannot Insert Duplicate Key (Errors 2627 and 2601)
Same problem, two enforcement points. 2627 is a constraint saying no (primary key or unique constraint), 2601 is a unique index saying no.
Written by
-
The Server Principal Is Not Able to Access the Database (Error 916)
The login worked. That is the part that throws people.
Written by
-
Login Failed: The Account Is Disabled (Error 18470)
Error 18470: the login exists but is disabled. How to confirm it, enable it again, and check why it was disabled in the first place.
Written by
-
Cannot Insert the Value NULL Into Column (Error 515)
SQL Server error 515 names a NULL you may never have written. Leaving a NOT NULL column out of the insert produces the same message, and a default fixes that case but not an explicit NULL.
Written by
-
Login Failed: The Login Is From an Untrusted Domain (SQL Server Error 18452)
Error 18452 untrusted domain usually means a locked-out account or a changed password still being presented by a service, task or saved connection.
Written by
-
Could Not Allocate Space Because the Filegroup Is Full (Error 1105)
Error 1105 filegroup is full: check free space on the volume, then autogrowth settings and max size caps on the data files.
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)