May 2010


Error message in Microsoft Dynamics CRM 4.0: “The logged-on user does not have the appropriate security permissions to view these records or perform the specific action”

SYMPTOMS

When a user tries to perform an action in Microsoft Dynamics CRM 4.0, the user r…

When a user tries to perform an action in Microsoft Dynamics CRM 4.0, the user receives the following error message:

The logged on user does not have the appropriate security permissions to view these records or perform the specific action.

If the Microsoft Dynamics CRM platform trace is enabled, the platform trace includes the following error information:

>MSCRM Error Report:
——————————————————————————————————–
Error: Server was unable to process request.
Error Number: 0x80040220
Error Message: SecLib::CrmCheckPrivilege failed. Returned hr = -2147220960 on UserId: e65023ae-54d1-da11-8e39-00145e3d5192 and PrivilegeId: a8ecac53-09e8-4a13-b598-8d8c87bc3d33

Note In this example information, the UserId value and the PrivilegeId value are placeholders for the actual values.

CAUSE

This problem may occur if the user’s role is not granted a privilege that is req…

This problem may occur if the user’s role is not granted a privilege that is required to perform the action. This situation may occur if one of the following conditions is true:

  • The role was created from scratch.
  • The role was copied from a standard role. Then, the role was edited extensively.

RESOLUTION

To resolve this problem, follow these steps.Note These steps require you to have…

To resolve this problem, follow these steps.

Note These steps require you to have information from the Microsoft Dynamics CRM platform trace.

  1. In the error information that appears in the Microsoft Dynamics CRM platform trace, locate the PrivilegeId value.
  2. Determine the missing privilege by running an SQL query that uses the PrivilegeId value. For example, run an SQL query that resembles the following against the OrganizationName_MSCRM database:

select Name,  * from PrivilegeBase where PrivilegeId = ‘a8ecac53-09e8-4a13-b598-8d8c87bc3d33

  1. To grant the missing privilege to the user, follow these steps:
    1. Start Microsoft Dynamics CRM 4.0.
    2. Click Settings, click Administration under Settings, and then click Security Roles.
    3. Double-click the role that is assigned to the user.
    4. Grant the missing privilege to the user’s role. For example, to grant the prvReadLead privilege to the user’s role, click the Core Records tab, and then on the Lead row, click the appropriate Read privilege.
    5. Click Save and Close.


*** I have configured the email router such that I can get the email from my domain account using POP3, but I am not sure what are the reason of not able to send email to my mail account.

Solution: Restart The Email Router Service, and the Asynchronous Processing Service and all the pending mails will be sent if the configuration is correct.

Troubleshooting CRM 4.0 System Jobs

To create a custom view that has error messages for your system jobs.

  1. Go to Settings
  2. Go to System Jobs
  3. Click on Advanced Find
  4. Click on Edit Columns
  5. Wait until this page populates, this can take a while
  6. Click Add Columns
  7. Tick “Error Code” and “Messages”, and any other relevant fields if you like!
  8. Click “OK” to leave the Add Column View
  9. Click “OK” again to leave the Edit Columns View
  10. Click “Save As” and put in an appropriate name and click “OK”
  11. Exit the wizard
  12. Refresh your system jobs view
  13. Now in the views drop down your new view should be there