Hi,
Sometimes i get error messages on server side:
<error>
<code>0x80040220</code<
<description>
SecLib::CrmCheckPrivilege failed. Returned hr = -2147220960 on UserId: 59d6a36f-641d-e011-a5f3-00215aec973e and PrivilegeId: 4533fc7e-76d3-44cf-8f6e-74e1efe84c51
</description<
<type>Platform</type>
</error>
The reason of this message is missing Privilege to make the action.
The solution is:
1. Run sql query:
Select domainname from systemuser where systemuserid ='{UserId}'
this sql return for which user missing role for CRUD entity
2.
SELECT * FROM PrivilegeBase WHERE PrincipalId = '{GuidFromErrorMessage}'
return the action that the user failed to do.
now the next step is to change role permission/privilege.
open CRM 4/2011 select user - > role -> search the entity and define the missing permission
Thanks,
Rami Heleg.
aa
For CRM 4.0 it should be
ReplyDeleteSELECT * FROM PrivilegeBase WHERE PrivilegeId =
Hi Rami, is there any way we can hide this message with out giving the user this missing role because business does not want to allow users to have this option available. thanks
ReplyDeleteHi Rami, is there any way we can hide this message with out giving the user this missing role because business does not want to allow users to have this option available. thanks
ReplyDelete