Hi,
I am getting an error which has a log as below when I try to submit my form of custom entity.
Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: SecLib::AccessCheckEx failed. Returned hr = -2147187962, ObjectID: 1dedbae1-2568-e511-80c3-000c298a923d, OwnerId: 00000000-0000-0000-0000-000000000000, OwnerIdType: 8 and CallingUser: abac721d-856a-e511-80c3-000c298a923d. ObjectTypeCode: 8, objectBusinessUnitId: a202a668-3be7-e511-80c7-000c298a923d, AccessRights: AppendToAccess 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: 1dedbae1-2568-e511-80c3-000c298a923d, OwnerId: 00000000-0000-0000-0000-000000000000, OwnerIdType: 8 and CallingUser: abac721d-856a-e511-80c3-000c298a923d. ObjectTypeCode: 8, objectBusinessUnitId: a202a668-3be7-e511-80c7-000c298a923d, AccessRights: AppendToAccess </Message>
<Timestamp>2016-05-19T05:28:10.4974723Z</Timestamp>
<InnerFault i:nil="true" />
<TraceText i:nil="true" />
</OrganizationServiceFault>
Object type code 8 is sysuser, and for that I am puzzled to see where I should give Append To access across business unit level.
Please help..
Regards,
Ashay S