Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

The report server was unable to validate the integrity of encrypted data

The report server was unable to validate the integrity of encrypted data in the database. (rsCannotValidateEncryptedData) .

Could not restore the encryption key, so I deleted the keys and tried to regenerate with rskeymngt with no luck. Getting

'The report server was unable to validate the integrity of encrypted data in the database. (rsCannotValidateEncryptedData)'

I get that error when accessing http://localhost/ReportServer and when running rskeymgmt -s.

Not sure what next step to take. I have reports that users need to access.

like image 722
sqllearner Avatar asked Sep 13 '17 17:09

sqllearner


People also ask

Which options of Rskeymgmt are used to replace the encryption key?

You can use rskeymgmt to back up, delete, or restore the keys. If the keys cannot be restored, this tool provides a way to delete encrypted content that can no longer be used. The rskeymgmt utility is used to manage the key set that is defined during Setup or during initialization.

What is Ssrs scale out deployment?

A scale-out deployment is used in the following scenarios: As a prerequisite for load balancing multiple report servers in a server cluster. Before you can load balance multiple report servers, you must first configure them to share the same report server database.

What does the report server was unable to validate?

Reference : SSRS Troubleshooting: The report server was unable to validate the integrity of encrypted data in the database. Reporting Services Web Portal Error: the report server was unable to validate the integrity of encrypted data in the database Hope it can help you.

Why can’t the report server access the encryption key?

System administrators: The report server can’t access or use the encryption key. You might need to add the server to the scale-out group, reimport encrypted content, or delete all encrypted content and generate a new encryption key.

What was the problem with SSRS report server?

SSRS Troubleshooting: The report server was unable to validate the integrity of encrypted data in the database. - TechNet Articles - United States (English) - TechNet Wiki SSRS Troubleshooting: The report server was unable to validate the integrity of encrypted data in the database.

How to delete the encryption content in the Report Server database?

Open Reporting Service Configuration Manager. Connect to your report server instance. Click on "Encryption Keys", then click on "Delete" to delete all encrypted data in the report server database. If you can't delete the "Encryption Keys", and got this error " Failed to delete the encryption content in the report server database.


2 Answers

I went into SSRS Configuration Manager > Encryption Keys > click Delete.

When I did that I got the error:

Failed to delete the encryption content in the report server database. Please execute the "DeleteEncryptedContent" stored procedure on the database manually.

To fix it I opened SQL Server Mgmt Studio > expand Databases > right click Report Server > new query and execute:

exec DeleteEncryptedContent

Start > Run > services.msc > Restart the service and its working.

like image 150
Jeremy Thompson Avatar answered Sep 18 '22 08:09

Jeremy Thompson


Restarted the services and now everything is working.

So it looks like in order to generate a new key I need to update the Report Server Service account. After that restart the sql server reporting services.

I no longer have the encryption error, but now I am asked for a log in to the data source after clicking on the report. I enter the creds again but get 'The ConnectionString property has not been initialized.'

like image 23
sqllearner Avatar answered Sep 22 '22 08:09

sqllearner