Exception Details: System.Security.Cryptography.CryptographicException:
As the error message says all you need to do is to have the ‘User profile loaded in IIS’ – you can set this in the setting for the AppPool of that specific application in IIS manager.
- Open your IIS Manager
- Find out what AppPool your application is using by selecting your App, right-click on it, and Select Manage Application -> Advanced Settings.
- After that, on the top left hand side, select Applications Pools, and go ahead and select the App Pool used by your app.
- Right-click on it, and select Advanced Settings, Go to the Process Model Section and Find the “Load User Profile” Option and set it to true.