Online Help > Support/Resources > Troubleshooting

System.Security.Cryptography.CryptographicException - The parameter is incorrect error message

Description

 

After the upgrade of Remote Desktop Manager to version 12.5.x on the server where the Devolutions Password Server instance version 4.0.7.0 is hosted, the encryption.config file is updated if you change the configuration of the instance.

 

System.Security.Cryptography.CryptographicException error message dialog

System.Security.Cryptography.CryptographicException error message dialog

 

Steps

 

The XML tags are not recognized by Devolutions Password Server and they must be replaced by the old XML tags.

 

1.Go in the App_Data folder that is located web application folder of the DVLS instance. If the default value is used, the installation path is C:\inetpub\wwwroot\DVLS\App_Data.

2.Edit the encryption.config file.

3.Remove the line with the <SafeAttachmentStorageKey> tag.

4.Change the tag <SafeLoginKey> to <SafeRsaKey>. Don't forget to also change the closing tag to </SafeRsaKey>.

5.Change the tag <SafeTokenStorageKey> to <SafeAesKey>. Don't forget to also change the closing tag to </SafeAesKey>.

 

The encryption.config file before the modification :

 

encryption.config file before modification

encryption.config file before modification

 

The file after the modification :

 

encryption.config file after modification

encryption.config file after modification

 

Every time someone modify the configuration of the DVLS instance, these steps have to be repeated.