Hi all,
I am create one record submit to another user but at that time i am getting Access Denied error.How to resolve this error.
Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: SecLib::AccessCheckEx failed. Returned hr = -2147187962, ObjectID: 95818a46-3c0d-e711-941a-00155d0b0317, OwnerId: 20664e1f-c3b7-e611-940c-00155d0b0317, OwnerIdType: 8 and CallingUser: 7d61fad7-86d8-e611-940e-00155d0b0317. ObjectTypeCode: 10041, objectBusinessUnitId: 05c32762-360a-e711-9419-00155d0b0317, AccessRights: WriteAccess Detail:
<OrganizationServiceFault xmlns:i="www.w3.org/.../XMLSchema-instance" xmlns="schemas.microsoft.com/.../Contracts">
<ErrorCode>-2147187962</ErrorCode>
<ErrorDetails xmlns:d2p1="schemas.datacontract.org/.../System.Collections.Generic" />
<Message>SecLib::AccessCheckEx failed. Returned hr = -2147187962, ObjectID: 95818a46-3c0d-e711-941a-00155d0b0317, OwnerId: 20664e1f-c3b7-e611-940c-00155d0b0317, OwnerIdType: 8 and CallingUser: 7d61fad7-86d8-e611-940e-00155d0b0317. ObjectTypeCode: 10041, objectBusinessUnitId: 05c32762-360a-e711-9419-00155d0b0317, AccessRights: WriteAccess </Message>
<Timestamp>2017-03-20T07:10:39.9621828Z</Timestamp>
<InnerFault i:nil="true" />
<TraceText i:nil="true" />
</OrganizationServiceFault>
*This post is locked for comments