Skip to content

Commit 6db7c12

Browse files
committed
Add new 913, 3241 and logon failure errors
1 parent 7470d08 commit 6db7c12

4 files changed

+31
-25
lines changed
287 KB
Binary file not shown.

Errors/README.md

Lines changed: 31 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -47,45 +47,51 @@ SELECT message_id, severity, text
4747
## SQL Server Common Errors
4848
Error code equal `message_id` from `sys.messages`
4949

50-
| Error Code | Description | Article |
51-
|-----------:|---------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------|
52-
| ? | The operating system returned the error ????? while attempting SetEndOfFile' on '\\SQLBackups\database.bak'. BACKUP DATABASE is terminating abnormally. | [Compressed backup errors and TF 3042] |
53-
| 0 | A server error occurred on current command. The results, if any, should be discarded. | [Who owns your availability groups?] |
54-
| 535 | The datediff function resulted in an overflow. The number of dateparts separating two date/time instances is too large... | [Nuance of datetime data type in SQL Server] |
55-
| 657 | Could not disable support for increased partitions in database ... | [SQL SERVER – Disabling 15000 Partitions (15k)] |
56-
| 703 | There is insufficient system memory in resource pool 'default' to run this query. | [703_link1] |
57-
| 824 | SQL Server detected a logical consistency-based I/O error | [Resolve Microsoft SQL Server Error Code 824], [KB2152734] |
58-
| 1807 | Could not obtain exclusive lock on database ‘model’. Retry the operation later. | [CREATE DATABASE – I’ve not seen that before.] |
59-
| 1904 | The statistics on table has 65 columns in the key list | [SQL SERVER - Fix: Error: Msg 1904] |
60-
| 3013 | RESTORE DATABASE is terminating abnormally | [KB290787] |
61-
| 3154 | The backup set holds a backup of a database other than the existing | [Database Restore Fails with Msg 3154] |
62-
| 3930 | The current transaction cannot be committed and cannot support operations that write to the log file. Roll back the transaction. | [Case study: Troubleshooting Doomed Transactions] |
63-
| 4922 | ALTER TABLE ALTER COLUMN Address failed because one or more objects access this column. | [SQL Server 2016 Online ALTER COLUMN Operation] |
64-
| 5120 | Unable to open the physical file ... Operating system error 5: "5(Access is denied.)" | [SQL SERVER - FIX Error 5120] |
65-
| 5123 | CREATE FILE encountered operating system error "%ls"(The system cannot find the path specified.) | [When SQL Server fails to create a secondary data file] |
66-
| 7357 | Cannot process the object "%ls". The OLE DB provider "%ls" for linked server "%ls" ... | [Discuss Execute(SQL) At LinkedServer] |
67-
| 7391 | The operation could not be performed because OLE DB provider "%ls" for linked server "%ls" ... | [Discuss Execute(SQL) At LinkedServer] |
68-
| 7719 | CREATE/ALTER partition function failed as only maximum of 1000 partitions can be created. | [SQL SERVER – Disabling 15000 Partitions (15k)] |
69-
| 8624 | Internal Query Processor Error: The query processor could not produce a query plan. | [Internal Query Processor Error with ColumnStore Indexes] |
70-
| 8672 | The MERGE statement attempted to UPDATE or DELETE the same row more than once... | [8672_link1] |
71-
| 15136 | The database principal is set as the execution context of one or more procedures, functions, ... | [Unable to drop a user in a database] |
72-
| 17182 | Tcp port is already in use | [TCP Port Is Already In Use] |
73-
| 18452 | Login failed. The login is from an untrusted domain and cannot be used with Windows authentication | [Login from an Untrusted Domain] |
74-
| 18456 | Login failed for user '%.*ls'.%.*ls%.*ls | [Why won’t my SQL Logins work?] |
50+
| Error Code | Description | Article |
51+
|-----------:|---------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------|
52+
| ? | The operating system returned the error ????? while attempting SetEndOfFile' on '\\SQLBackups\database.bak'. BACKUP DATABASE is terminating abnormally. | [Compressed backup errors and TF 3042] |
53+
| - | The MSSQLSERVER service was unable to log on as SQLAuthority\SQLFarmService with the currently configured password due to the following error: ... | [Logon Failure: The User has not Been Granted the Requested Logon Type at This Computer] |
54+
| 0 | A server error occurred on current command. The results, if any, should be discarded. | [Who owns your availability groups?] |
55+
| 535 | The datediff function resulted in an overflow. The number of dateparts separating two date/time instances is too large... | [Nuance of datetime data type in SQL Server] |
56+
| 657 | Could not disable support for increased partitions in database ... | [SQL SERVER – Disabling 15000 Partitions (15k)] |
57+
| 703 | There is insufficient system memory in resource pool 'default' to run this query. | [703_link1] |
58+
| 824 | SQL Server detected a logical consistency-based I/O error | [Resolve Microsoft SQL Server Error Code 824], [KB2152734] |
59+
| 913 | Could Not Find Database %d. Database May Not be Activated Yet or May be in Transition | [FIX: Error: 913, Severity: 16 – Could Not Find Database ID] |
60+
| 1807 | Could not obtain exclusive lock on database ‘model’. Retry the operation later. | [CREATE DATABASE – I’ve not seen that before.] |
61+
| 1904 | The statistics on table has 65 columns in the key list | [SQL SERVER - Fix: Error: Msg 1904] |
62+
| 3013 | RESTORE DATABASE is terminating abnormally | [KB290787] |
63+
| 3154 | The backup set holds a backup of a database other than the existing | [Database Restore Fails with Msg 3154] |
64+
| 3241 | The media family on device '%ls' is incorrectly formed. SQL Server cannot process this media family. | [Unable to restore a backup – Msg 3241] |
65+
| 3930 | The current transaction cannot be committed and cannot support operations that write to the log file. Roll back the transaction. | [Case study: Troubleshooting Doomed Transactions] |
66+
| 4922 | ALTER TABLE ALTER COLUMN Address failed because one or more objects access this column. | [SQL Server 2016 Online ALTER COLUMN Operation] |
67+
| 5120 | Unable to open the physical file ... Operating system error 5: "5(Access is denied.)" | [SQL SERVER - FIX Error 5120] |
68+
| 5123 | CREATE FILE encountered operating system error "%ls"(The system cannot find the path specified.) | [When SQL Server fails to create a secondary data file] |
69+
| 7357 | Cannot process the object "%ls". The OLE DB provider "%ls" for linked server "%ls" ... | [Discuss Execute(SQL) At LinkedServer] |
70+
| 7391 | The operation could not be performed because OLE DB provider "%ls" for linked server "%ls" ... | [Discuss Execute(SQL) At LinkedServer] |
71+
| 7719 | CREATE/ALTER partition function failed as only maximum of 1000 partitions can be created. | [SQL SERVER – Disabling 15000 Partitions (15k)] |
72+
| 8624 | Internal Query Processor Error: The query processor could not produce a query plan. | [Internal Query Processor Error with ColumnStore Indexes] |
73+
| 8672 | The MERGE statement attempted to UPDATE or DELETE the same row more than once... | [8672_link1] |
74+
| 15136 | The database principal is set as the execution context of one or more procedures, functions, ... | [Unable to drop a user in a database] |
75+
| 17182 | Tcp port is already in use | [TCP Port Is Already In Use] |
76+
| 18452 | Login failed. The login is from an untrusted domain and cannot be used with Windows authentication | [Login from an Untrusted Domain] |
77+
| 18456 | Login failed for user '%.*ls'.%.*ls%.*ls | [Why won’t my SQL Logins work?] |
7578

7679
[Compressed backup errors and TF 3042]:https://sqlstudies.com/2017/03/16/compressed-backup-errors-and-tf-3042/
80+
[Logon Failure: The User has not Been Granted the Requested Logon Type at This Computer]:https://blog.sqlauthority.com/2017/04/14/sql-server-logon-failure-user-not-granted-requested-logon-type-computer/
7781
[Who owns your availability groups?]:http://www.cjsommer.com/2016-10-20-who-owns-your-availability-groups/
7882
[SQL SERVER – Disabling 15000 Partitions (15k)]:https://blog.sqlauthority.com/2016/05/20/sql-server-disabling-15000-15k-partitions/
7983
[Nuance of datetime data type in SQL Server]:http://www.sqlservercentral.com/articles/T-SQL/153921/
8084
[703_link1]:https://blogs.msdn.microsoft.com/psssql/2017/02/22/be-aware-of-701-error-if-you-use-memory-optimized-table-variable-in-a-loop/
8185
[Resolve Microsoft SQL Server Error Code 824]:http://www.sqlservercentral.com/blogs/sql-server-citation-sql-blog-by-hemantgiri-s-goswami-sql-mvp/2016/08/23/resolve-microsoft-sql-server-error-code-824/
86+
[FIX: Error: 913, Severity: 16 – Could Not Find Database ID]:https://blog.sqlauthority.com/2017/04/10/sql-server-fix-error-913-severity-16-not-find-database-id-3-database-may-not-activated-yet-may-transition-sql-service/
8287
[KB2152734]:https://support.microsoft.com/en-us/kb/2152734
8388
[CREATE DATABASE – I’ve not seen that before.]:http://www.sqlservercentral.com/blogs/martin_catherall/2017/01/22/create-database-ive-not-seen-that-before/
8489
[SQL SERVER - Fix: Error: Msg 1904]:http://blog.sqlauthority.com/2016/10/27/sql-server-fix-error-msg-1904-statistics-table-65-columns-key-list/
8590
[KB290787]:https://support.microsoft.com/en-us/kb/290787
8691
[SQL Server 2016 Online ALTER COLUMN Operation]:https://www.mssqltips.com/sqlservertip/4749/sql-server-2016-online-alter-column-operation/
8792
[Case study: Troubleshooting Doomed Transactions]:http://michaeljswart.com/2017/01/case-study-troubleshooting-doomed-transactions/
8893
[Database Restore Fails with Msg 3154]:http://www.patrickkeisler.com/2016/05/database-restore-fails-with-msg-3154.html
94+
[Unable to restore a backup – Msg 3241]:https://blogs.msdn.microsoft.com/psssql/2017/04/12/unable-to-restore-a-backup-msg-3241/
8995
[SQL SERVER - FIX Error 5120]:http://blog.sqlauthority.com/2016/10/26/sql-server-fix-error-5120-database-read-mode-attaching-files/
9096
[When SQL Server fails to create a secondary data file]:https://blogs.msdn.microsoft.com/sql_pfe_blog/2016/11/10/tempdb-misconfiguration-when-sql-server-fails-to-create-a-secondary-data-file/
9197
[Discuss Execute(SQL) At LinkedServer]:http://www.sqlservercentral.com/blogs/powersql-by-prashanth-jayaram/2016/11/09/sql-server-discuss-executesql-at-linkedserver/

0 commit comments

Comments
 (0)