Database Error Messages

DIA-28435

cannot decrypt data file string which is not encrypted with the database key

Cause

An attempt was made to decrypt a data file that was not encrypted with the database key. Only data files encrypted with the ALTER DATABASE DATAFILE ENCRYPT or ALTER TABLESPACE ENCRYPTION OFFLINE ENCRYPT statement are encrypted with the database key.


Action

Check if the data file belongs to an encrypted tablespace with a different key from the database key in the V$DATABASE_KEY_INFO view, or use the ALTER TABLESPACE ENCRYPTION ONLINE DECRYPT statement instead.