← Back to Knowledge Base

KB #240052: Torn Page (Error 823) error at offset 0 when opening encrypted database

⏱️ 2 min read

Type:

Information

Summary:

A Torn Page error at offset 0x0000000000000000 will occur when trying to attach an encrypted database or bring it online if the SQL Server to which it is attached is not secured with the same key as the encrypted database.

Additional Information:

This article provides an explanation of an error you may receive from SQL Server if you have not properly configured Encryptionizer.Situation:

  • You have installed Encryptionizer on your server and rebooted your system.
  • SQL Server is running and you have chosen to take the database you wish to encrypt offline, allowing other databases to continue running.
  • You have encrypted the offline database using one of the Encryptionizer Utilities or the available API’s.
  • You experience the following error when bringing the encrypted database online:

Error 823: I/O error (torn page) detected during read at offset 0000000000000000…

This error has occured because the SQL Server Instance has not been configured to read the encrypted database, or has been configured with a key that is different from the encrypted databse.Resolution:
Secure the SQL instance with the proper key(s) in order to access the encrypted file using the Encryptionizer Admin Wizard. Remember that the key(s) used to encrypt the database must exactly match the key(s) used to secure the SQL instance.

To verify the key used to encrypt the database, use the “Validate” function within the Encrypt/Decrypt Wizard within Encryptionizer.

If you are certain that you have properly secured the SQL instance with the proper key, please refer to the Microsoft KB 828339 for other possible causes unrelated to Encryptionizer.

Was this article helpful?

Related Articles

KB #240038: SQL database backups to a Mapped Drive are not encrypted

Type: Fixed This issue is resolved with Encryptionizer (x86) driver version 2008.401.4 or later. Summary:…

KB #240035: SQL Error: Execute permission denied on object xp_n_*

Type: Fix Summary: When attempting to access an encrypted column as a non-sysadmin user you…

KB #240131: “not a valid Win32 application” error in the Windows System Log

Type: Fix Summary: In a very rare circumstance, the Encryptionizer Key Management Service (KMS) will…

Still need help?

Our support team is here to assist you.

NetLib Security
AI Assistant · Online
Hi! I'm the NetLib Security assistant. I can answer questions about our encryption solutions, HIPAA compliance, Encryptionizer, and more. How can I help you today?