Category: Troubleshooting
-
RESTORE Fails: Exclusive Access Could Not Be Obtained (Error 3101)
Msg 3101 means SQL Server cannot get exclusive access to the database you are restoring. Find the connected sessions, stop clients reconnecting, and retry only when it is safe to disconnect users.
Written by
-
Error Locating Server/Instance Specified (Error 26)
Error 26 means the client could not look up a named instance’s port. Check the instance name, the SQL Server Browser and UDP 1434, or connect with server,port.
Written by
-
SQL Server Agent Will Not Start, or “Agent XPs Component Is Turned Off” (Error 15281)
A greyed-out Agent node and a stopped Agent service are two different faults, and the sp_configure fix only cures one. One query tells them apart, then the Agent’s own log gives the reason.
Written by
-
Database Marked SUSPECT (Error 926): EMERGENCY, CHECKDB, or the Backup
A database comes back from a restart marked SUSPECT and error 926 refuses every connection. The real sequence: confirm the state, read the error log, then choose between EMERGENCY repair and the restore.
Written by
-
The Server Network Address Cannot Be Reached or Does Not Exist (Error 1418)
Error 1418 says the server network address cannot be reached and never says why. The error log names the fault, and then there are five checks in the order that finds it.
Written by
-
SQL Server High CPU: What to Check First, in Order
SQL Server at 100 percent CPU describes four different problems. The five checks that separate them, in the order that finds the fault fastest, each handing off to the script that does the work.
Written by
-
Cannot Connect to SQL Server: The Checks in the Order That Finds It
A network-related or instance-specific error, error 53, error 40, error 26: which one you have decides where to look. The connection checks in the order that finds the fault, each one linking to the full fix.
Written by
-
BACKUP LOG Cannot Be Performed Because There Is No Current Database Backup (Error 4214)
A log backup fails with Msg 4214 when a FULL recovery database has no log chain yet. One check finds it and one full backup fixes it.
Written by
-
Restore Testing: Proving the Backups Actually Work
A backup you have never restored is a hypothesis. What coverage checks prove, what they do not, and how to run a restore drill that measures your real recovery time.
Written by
-
The First Hour on a SQL Server You Have Never Seen
Four questions in order: what is this, what is it supposed to do, what is it short of, and what is unprotected. The order matters more than the speed, and nothing gets changed.
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)