Advertisements
Home > ADX > Cryptographic operation error while opening ADX portal from IIS

Cryptographic operation error while opening ADX portal from IIS

I was getting below ‘Cryptographic operation’ error while opening ADX portal from IIS.

Cryptographic-error-adx-portal

Cryptographic-error-adx-portal

From the error, it’s clear that ADX portal encountered issue while decryption of Password.

Points to ponder:

  • 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.
Configuration-screen-adx

Configuration-screen-adx

  • Password will be encrypted in Base64 string.
Settings-file-adx

Settings-file-adx

Reason:

  • In my case, “../App_Data/settings.xml” file got corrupted.

Fix:

  • Delete the ‘settings.xml’ file from your visual studio solution’s “../App_Data” folder.
settings-adx

settings-adx

  • Browse the portal
  • This time Portal, opens Configuration screen and creates a new “../App_Data/settings.xml”

🙂

Advertisements
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: