SQL Server Reporting Services cannot decrypt configuration following a switchover

SQL Server Reporting Services cannot decrypt configuration following a switchover

 

Summary

This knowledge base article provides details and workaround procedure for the following issue: Reporting Services (SSRS) fails to decrypt the configuration information following a Neverfail Engine switchover operation.

 

Symptom

After a Neverfail Engine switchover, the Reporting Service fails to decrypt configuration information and fails with the following:

Error: The report server cannot decrypt the symmetric key used to access sensitive or encrypted data in a report server database. You must either restore a backup key or delete all encrypted content. Keyset does not exist (Exception from HRESULT: 0x80090016) 

 

Cause

The SSRS logon account RSA keys are not the same across the all servers in the cluster, but, in the same time the SSRS Symmetric key is replicated by SQL Server Plugin, so they don't match anymore. 

 

Workaround

1) Assure that SSRS service logon account is the same on both servers. 

2) Add an inclusion file filter for the RSA key corresponding to the service logon account. Depending on the logon account type, this should be done as follow:

ReportServer / Virtual Service Account: 

  • C:\Users\ReportServer\AppData\Roaming\Microsoft\Crypto\RSA\**
  • C:\Users\ReportServer\AppData\Roaming\Microsoft\Protect\** 

Domain and local accounts:

  • C:\Users\<SERVICEACCOUNT>\AppData\Roaming\Microsoft\Crypto\RSA\** 

Local System:

  • C:\ProgramData\Microsoft\Crypto\RSA\S-1-5-18\**

Network Service:

  • C:\Windows\ServiceProfiles\NetworkService\AppData\Roaming\Microsoft\Crypto\RSA\1-5-20\**

 

Applies to

Neverfail for SQL Server Plugin up to and including v201.5.12

    • Related Articles

    • SQL Server Plugin Version 201.5.17 - Release Notes

      Summary The SQL Server Plugin is an add-on to Neverfail Continuity Engine, which provides protection for Microsoft SQL Server. It configures Neverfail Continuity Engine to protect both the data and service items used by SQL Server application, and ...
    • SQL Server Plugin Version 201.5.16 - Release Notes

      Summary The SQL Server Plugin is an add-on to Neverfail Continuity Engine, which provides protection for Microsoft SQL Server. It configures Neverfail Continuity Engine to protect both the data and service items used by SQL Server application, and ...
    • Neverfail for SQL Server Plug-in Version 201.5.15 - Release Notes

      Summary The Neverfail for SQL Server Plug-in is an add-on to Neverfail Continuity Engine, which provides protection for Microsoft SQL Server. It configures Neverfail Continuity Engine to protect both the data and service items used by SQL Server ...
    • Neverfail for SQL Server Plug-in Version 201.5.14 - Release Notes

      Summary The Neverfail for SQL Server Plug-in is an add-on to Neverfail Continuity Engine, which provides protection for Microsoft SQL Server. It configures Neverfail Continuity Engine to protect both the data and service items used by SQL Server ...
    • Neverfail for SQL Server Plug-in Version 201.5.13 - Release Notes

      Summary This Knowledgebase article provides information about this specific release of the Neverfail for SQL Server Plug-in V201.5.13 What's new Changes since previous version: Support for SQL Server 2017 editions Added an option to include the SQL ...