I was getting below ‘Cryptographic operation’ error while opening ADX portal from IIS.
While opening ADX portal from IIS it was flashing error of 'Cryptographics Operation'. From the error, it’s clear that ADX portal encountered issue while decryption of Password.
- When you run ADX portal for the first time, it opens Configuration screen to capture CRM organization credentials.
- Credentials provided in Configuration screen will get saved under "../App_Data/settings.xml" file.
- Password will be encrypted in Base64 string.
In this case, "../App_Data/settings.xml" file got corrupted. So to fix this issue follow the following procedure.
Delete the ‘settings.xml’ file from your visual studio solution’s "../App_Data" folder.
Now browse the portal this time Portal, opens Configuration screen and creates a new "../App_Data/settings.xml"