Tags
While adding a new user if you get the following error
The downloaded log file will indicate permission issues for one the DLL’s
Unhandled Exception:
…………[rest of exception content]……..
Microsoft.Crm.CrmException: Assembly Microsoft.Dynamics.Service.Plugins.dll can not be loaded. —> System.IO.FileLoadException: Could not load file or assembly ‘file:///C:\Program Files\Microsoft Dynamics CRM\server\bin\assembly\Microsoft.Dynamics.Service.Plugins.dll’ or one of its dependencies. Access is denied.
The above exception will be related to CRM app pool account not having the necessary permissions to C:\Program Files\Microsoft Dynamics CRM\Server\bin and subsequent inheritance to C:\Program Files\Microsoft Dynamics CRM\Server\bin\assembly folder and permissions inheritance is not enabled by default
Steps to grant the required permission are:
- Enable inheritance from Folder Properties > Security > Advanced
- Add CRM App pool account to have full permissions to C:\Program Files\Microsoft Dynamics CRM folder
- Reset IIS
Now a new user can be added to CRM Org without any error