Announcements
The "Administrators" web role was deleted by accident. I added it back using Portal Record Mover in XRM Toolbox. I then restored the Website Access Permissions, Webpage Access Control rules and the Entity permissions but it's still throwing the same error. The strange thing is that other web roles are now broken also. Here is the error:
[NullReferenceException: Object reference not set to an instance of an object.] Adxstudio.Xrm.Cms.Security.<>c.<TryAssertRightProperty>b__8_0(WebRoleNode role) in S:\Framework\Adxstudio.Xrm\Cms\Security\WebsiteAccessPermissionProvider.cs:167
After restoring the Administrator role you must also restore related Entity Permissions, Website Access Permissions, Webpage Access Control. But even then it kept throwing the same error. I had to restart the portal. Then it started working.
Yes, I had to add back all the Website Access Permissions, Webpage Access Control rules and the Entity permissions. They were all gone. But it's still broken.
Hi,
After having the Administrator web role back, have you checked "Website Access Permissions", "Entity Permissions", "Contacts"? I wonder if the relations are broken with Administrator web role.
Regards,
André Arnaud de Cal... 291,359 Super User 2024 Season 2
Martin Dráb 230,370 Most Valuable Professional
nmaenpaa 101,156