
Deleting Unusable Encrypted Content
If for some reason you cannot restore the encryption key, the report server will never be able to decrypt and use any data that is encrypted with that key. To return the report server to a working state, you must delete the encrypted values that are currently stored in the report server database and then manually re-specify the values you need.
Deleting the encryption keys removes all symmetric key information from the report server database and deletes any encrypted content. All unencrypted data is left intact; only encrypted content is removed. When you delete the encryption keys, the report server re-initializes itself automatically by adding a new symmetric key. The following occurs when you delete encrypted content:
-
Connection strings in shared data sources are deleted. Users who run reports get the error "The ConnectionString property has not been initialized."
-
Stored credentials are deleted. Reports and shared data sources are reconfigured to use prompted credentials.
-
Reports that are based on models (and require shared data sources configured with stored or no credentials) will not run.
-
Subscriptions are deactivated.
Once you delete encrypted content, you cannot recover it. You must re-specify connection strings and stored credentials, and you must activate subscriptions.
You can use the Reporting Services Configuration tool or the rskeymgmt utility to remove the values.
How to delete encryption keys (Reporting Services Configuration Tool)
-
Start the Reporting Services Configuration tool, and then connect to the report server instance you want to configure.
-
Click Encryption Keys, and then click Delete. Click OK.
-
Restart the Report Server Windows service. For a scale-out deployment, do this on all report server instances.
How to delete encryption keys (rskeymmgt)
-
Run rskeymgmt.exe locally on the computer that hosts the report server. You must use the -d apply argument. The following example illustrates the argument you must specify:
-
Restart the Report Server Windows service. For a scale-out deployment, do this on all report server instances.
How to re-specify encrypted values
-
For each shared data source, you must retype the connection string.
-
For each report and shared data source that uses stored credentials, you must retype the user name and password, and then save. For more information, see Specifying Credential and Connection Information for Report Data Sources.
-
For each data-driven subscription, open each subscription and retype the credentials to the subscription database.
-
For subscriptions that use encrypted data (this includes the File Share delivery extension and any third-party delivery extension that uses encryption), open each subscription and retype credentials. Subscriptions that use Report Server e-mail delivery do not use encrypted data and are unaffected by the key change.