I am working on an MVC 4 site that uses authentication. The site requires the values โโof the machine key. I did this through the IIS interface, deselecting "automatically generate at run time", generated key values โโand selected "generate a unique key for each application"
The web.config tab looks something like this:
<machineKey decryption="DES" decryptionKey="{hex-key value},IsolateApps" validationKey="{hex-key value},IsolateApps" />;
While this seems to work fine in another web project, this leads to the error "Decimal key with the indicated errors with the errors indicated on the debut machine that I am working on now (in IIS-Express and IIS 7.5) hexadecimal characters ".
Removing ",IsolateApps" from key values โโsolves the problem, but since I need this option during production, I donโt want to remove it now, only to have this problem when deployed.
What gives? The developer block is a SQL 2008 R2 field with .net 2.0 and .net 4.0.
asp.net-mvc encryption
WernerVA Feb 21 '13 at 13:03 2013-02-21 13:03
source share