Reputation: 113
I'm using Dynamics CRM 2016 (on prem). When a user browses to an entity form they don't have privileges to read I get the screen below. The screen says CRM error report, AccessCheckEx failed. And it has a full stack trace.
In CRM 2011 I was getting the more user friendly Access Denied screen. Is this configurable? I don't want users seeing the error report screen as it's too verbose. The access denied screen would be better.
Upvotes: 1
Views: 486
Reputation: 7224
This is because DevErrors
is set:
On the CRM frontend server (if you have more than one be sure you do this on each of them) open the [CRMSERVER]\web.config (i.e., \Program Files\Microsoft Dynamics CRM\CRMWeb\web.config) file.
Modify the DevErrors
line to read:
<add key="DevErrors" value="Off"/>
You'll need to have opened your editor as Administrator (or save locally and then update the file) as the folder should be restricted to updates by the Administrator only.
Usually IIS will see the web.config has changed but if it does not automatically take then execute iisreset
on each server.
Upvotes: 2