SQL Server Errors or Failures from Error: 40640 to Error: 40659


Error: 40640, Severity: 20, The server encountered an unexpected exception.

Error: 40641, Severity: 16, The specified location is invalid.
Error: 40642, Severity: 17, The server is currently too busy. Please try again later.
Error: 40643, Severity: 16, The specified x-ms-version header value is invalid.
Error: 40644, Severity: 14, Failed to authorize access to the specified subscription.
Error: 40645, Severity: 16, Servername “%.*ls” cannot be empty or null. It can only be made up of lowercase letters ‘a’-‘z’, the numbers 0-9 and the hyphen. The hyphen may not lead or trail in the name.

Error: 40646, Severity: 16, Subscription ID cannot be empty.
Error: 40647, Severity: 16, Subscription ‘%.*ls’ does not have the server ‘%.*ls’.
Error: 40648, Severity: 17, Too many requests have been performed. Please retry later.
Error: 40649, Severity: 16, Invalid content-type is specified. Only application/xml is supported.
Error: 40650, Severity: 16, Subscription ‘%.*ls’ does not exist or is not ready for the operation.
Error: 40651, Severity: 16, Failed to create server because the subscription ‘%.*ls’ is disabled.

Error: 40652, Severity: 16, Cannot move or create server. Subscription ‘%.*ls’ will exceed server quota.
Error: 40653, Severity: 16, Could not find database ‘%.*ls’ at time ‘%.*ls’ that can be restored.
Error: 40654, Severity: 16, Specified subregion ‘%.*ls’ is invalid.
Error: 40655, Severity: 16, Database ‘master’ cannot be restored.
Error: 40656, Severity: 16, Quota for maximum number of concurrent restores has been exceeded.
Error: 40657, Severity: 16, Restore is not enabled on the server.
Error: 40658, Severity: 16, Quota for number of restores has been exceeded.
Error: 40659, Severity: 16, Could not successfully restore database because the maximum duration for processing a restore has elapsed.

This is applicable on below versions of SQL Server

SQL Server 2005
SQL Server 2008 R2
SQL Server 2012
SQL Server 2014

Hope this was helpful.

SQLServerF1 Team
In-Depth Blogs on SQL Server, Information about SQL Server Conferences and Events, SQL Server Frequently asked questions, SQL Server Trainings.


Leave a Reply

Your email address will not be published. Required fields are marked *