Machine key syntax unrecognized after upgrade to Kentico 9

Bryan Johnson asked on December 30, 2015 01:15

After upgrading from Kentico 8.2 to 9, IIS now complains about my machine key definitions. If I revert to auto-generated keys, the site works again. Is there a different process to match machine keys for a farm scenario in Kentico 9? I have included the error message below.

Thank You, Bryan

Server Error in '/' Application.

Configuration Error

Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: Decryption key specified has invalid hex characters.

Source Error:

Line 388: Line 389: Line 390: Line 391: </system.web> Line 392: <system.serviceModel>

Source File: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config\web.config Line: 390

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.34274

Recent Answers

Bryan Johnson answered on December 30, 2015 23:33

I've made some headway understanding the problem. This seems to be an implication of migrating from .NET 4.0 to .NET 4.5:

I resolved the problem by removing the IsolateApps setting for the validation and decryption keys in the machineKey settings like this:



Do I need to be concerned about any adverse effects by doing this?

Thank you.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.