Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 46379

loop on self relationship lookup

$
0
0

Hi All

I have a self relationship set up on the contact entity, so on the contactentity form, there is a contact lookup referencing to contactentity. I know circular relationships are not allowed, however this seems to be stuck in a loop which i cant figure out as I am not able attach any contact using the lookup. This action results in an error and log file for it is below.

However this is not an issue when creating new records, I can reference contacts using the lookup. This seems to be an issue only for existing contacts. What am I missing and what tools can i use to check this error in more detail?

Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: Loop exists in this entity hierarchy.Detail:
<OrganizationServiceFault xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/xrm/2011/Contracts">
<ErrorCode>-2147220602</ErrorCode>
<ErrorDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic" />rm foru
<Message>Loop exists in this entity hierarchy.</Message>
<Timestamp>2016-12-15T13:13:54.5325554Z</Timestamp>
<InnerFault i:nil="true" />
<TraceText i:nil="true" />
</OrganizationServiceFault>

Thanks


Viewing all articles
Browse latest Browse all 46379

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>