SQL Server Errors or Failures from Error: 15312 to Error: 15331



Error: 15312, Severity: 16, The file named ‘%s’ is a primary file and cannot be removed.
Error: 15313, Severity: 10, The key is not encrypted using the specified decryptor.
Error: 15314, Severity: 10, Either no algorithm has been specified or the bitlength and the algorithm specified for the key are not available in this installation of Windows.
Error: 15315, Severity: 10, The key ‘%.*ls’ is not open. Please open the key before using it.
Error: 15316, Severity: 10, Global temporary keys are not allowed. You can only use local temporary keys.

Error: 15317, Severity: 10, The master key file does not exist or has invalid format.
Error: 15318, Severity: 10, All fragments for database ‘%s’ on device ‘%s’ are now dedicated for log usage only.
Error: 15319, Severity: 17, Error: DBCC DBREPAIR REMAP failed for database ‘%s’ (device ‘%s’).
Error: 15320, Severity: 16, An error occurred while decrypting %S_MSG ‘%.*ls’ that was encrypted by the old master key. The FORCE option can be used to ignore this error and

continue the operation, but data that cannot be decrypted by the old master key will become unavailable.
Error: 15321, Severity: 16, There was some problem removing ‘%s’ from sys.master_files.
Error: 15322, Severity: 10, File ‘%s’ was removed from tempdb, and will take effect upon server restart.
Error: 15323, Severity: 16, The selected index does not exist on table ‘%s’.
Error: 15324, Severity: 16, The option %s cannot be changed for the ‘%s’ database.
Error: 15325, Severity: 16, The current database does not contain a %s named ‘%ls’.
Error: 15326, Severity: 10, No extended stored procedures exist.
Error: 15327, Severity: 10, The database is now offline.
Error: 15328, Severity: 10, The database is offline already.
Error: 15329, Severity: 16, The current master key cannot be decrypted. If this is a database master key, you should attempt to open it in the session before performing this operation. The FORCE option can be used to ignore this error and continue the operation but the data encrypte
Error: 15330, Severity: 11, There are no matching rows on which to report.
Error: 15331, Severity: 11, The user ‘%s’ cannot take the action auto_fix due to duplicate SID.

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 *