Completed
Last Updated: 09 Feb 2021 19:23 by ADMIN
Steve Rothschild
Created on: 13 Jul 2017 12:07
Category: Editor
Type: Bug Report
0
Decryption key specified has invalid hex characters.
I recently updated my website with the dll patch telerik  provided for the cryptographic weakness:
http://www.telerik.com/support/kb/aspnet-ajax/details/cryptographic-weakness?utm_medium=email

After the update I found that the pages which were using the RadEditor control and several other controls was not loading and throwing this error:
Parser Error Message: Decryption key specified has invalid hex characters.

Several other controls are throwing this error but I cannot delete controls one by one and check which ones are having this problem.

But I checked for the RadEditor and it was throwing this error. Nothing else is there on the page while testing other than this control.
This does not happen on a plain new website and is happening when we have the sql mermbership and machine key configured. We are using passwordFormat as encrypted in sql membership config and cannot remove machine key.
If you got to test it, then test it on some already configured machine key and sql membership website.

I have attached screenshots for this error and telerik dll patch in use currently.

We are on a production server and we need a solution for this issue ASAP.
4 comments
ADMIN
Rumen
Posted on: 09 Feb 2021 19:23

Hi Kwango,

Try to generate new keys as shown in this video https://www.youtube.com/watch?v=J18zDKtiBFE.

If the problem still persists, remove the three Telerik.AsyncUpload.ConfigurationEncryptionKey, Telerik.Upload.ConfigurationHashKey, Telerik.Web.UI.DialogParametersEncryptionKey settings from the web.config.

When they are not set the machine key will be used instead to encrypt the controls data.

Regards,
Rumen
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Kwango
Posted on: 09 Feb 2021 16:43

Hi,

I'm having the same issue; I updated our website with the later telerik web ui (version 2021,1,119,45). The thing is IsolateApps is never used in the machine key. Any idea what could be the problem?

The version of the .net framework used is 4.7

ADMIN
Rumen
Posted on: 12 Apr 2019 16:02
Hi guys,

When using the IIS MachineKey Validation Key generator to generate the key(s) please make sure to avoid the ,IsolateApps portion of the string as instructed in the info box of the following article: Mandatory Additions to the web.config.

The error is likely caused by its presence.

The following thread offers a few suggestions on resolving this and also explains why the ,IsolateApps switch is unlikely to be needed: https://stackoverflow.com/questions/15002960/isolateapps-causes-decryption-key-specified-has-invalid-hex-characters.

Regards,
Rumen
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Aaron
Posted on: 12 Jan 2018 14:04
I am having the same issue after upgrading our Telerik website to the latest version and Framework 4.7. Any advice?