error SSISDB An error occurred during decryption

Thor El Poderoso 51 Reputation points
2022-05-20T07:22:31.41+00:00

I have had a problem with the SQL server and I was able to recover the MDF/LDF and the BAK. The user DBs work but the SSISDB gives me an error. I have attached the DBs and it fails, I have restored the backup and it fails. I don't have the master key.

Error: Failed to locate the project named xxxxxxxx.:An error occurred during decryption.

Can you help me?

SQL Server Integration Services
SQL Server Integration Services
A Microsoft platform for building enterprise-level data integration and data transformations solutions.
2,702 questions
SQL Server Migration Assistant
SQL Server Migration Assistant
A Microsoft tool designed to automate database migration to SQL Server from Access, DB2, MySQL, Oracle, and SAP ASE.
568 questions
SQL Server Other
0 comments No comments
{count} votes

Accepted answer
  1. Tom Phillips 17,771 Reputation points
    2022-05-23T13:27:20.403+00:00

    The SSISDB is an encrypted database. If you did not backup or have access to the master key, that data is lost. You will need to use the default SSIS DB and redeploy your SSIS packages.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. ZoeHui-MSFT 41,491 Reputation points
    2022-05-20T07:54:01.907+00:00

    Hi @Thor El Poderoso ,

    We should backup the master key and SSISDB database and then restore them.

    Please refer to the following steps:

    1. Backup the master key used for encryption in SSISDB database and protect the backup file using a password.
    2. Backup SSISDB database using SQL Server Management Studio or BACKUP DATABASE statement in TSQL.
    3. Restore SSISDB database using SQL Server Management Studio or RESTORE DATABASE statement in TSQL.
    4. Restore backup of the master key from the source server using the backup file.

    SSIS Catalog - Backup and Restore
    moving-the-ssisdb-catalog-on-a-new-sql-server-instance

    If you do not have the master key, try to regenerate it.
    alter-master-key-transact-sql

    DON'T try it on PROD server until you verify the above on a test server / database.

    Regards,

    Zoe


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.