Skip to main content

Notifications

Dynamics 365 general forum

xRM-Portals Cryptographic Operation Error - settings.xml corrupted

Posted on by 95

I have a running installation of xRM Portals with Dynamics 365 8.2 On-premise. Everything works fine. ButI have the problem, that the settings.xml file gets corrupted every night - I can't explain why. I have the problem described in the following blogpost:

https://dynamics365authority.com/Blog/adxcrm-portal-cryptographic-operation-error-while-opening-adx-portal-from-iis

After deleting the settings.xml and reconfiguration everything works fine. But just for one day. After returning to the office the next day, the settings are again broken. What can I do to fix this?

  • Verified answer
    mark_us Profile Picture
    mark_us 95 on at
    RE: xRM-Portals Cryptographic Operation Error - settings.xml corrupted

    Due to daily app pool recycling we had a new auto generated machine key every day. With a dedicated machine key in the web.config this problem is solved! The password hash uses the machine key.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans