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

Error Updating Relationship type

$
0
0

I have 3 entities in the system, EntityA, EntityB & EntityC

EntityB is child of EntityA and EntityC is child of EntityB and EntityA & Entity B have 1:N relationship. Now I want to change the relationship. I want to make the EntityC a child of EntityA directly but system is throwing an error which doesn't have much details in it.

Error: 

Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: System.Data.SqlClient.SqlException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #E4AFD29EDetail:
<OrganizationServiceFault xmlns:i="www.w3.org/.../XMLSchema-instance" xmlns="schemas.microsoft.com/.../Contracts">
<ErrorCode>-2147220970</ErrorCode>
<ErrorDetails xmlns:d2p1="schemas.datacontract.org/.../System.Collections.Generic" />
<Message>System.Data.SqlClient.SqlException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #E4AFD29E</Message>
<Timestamp>2015-08-04T13:26:22.7538502Z</Timestamp>
<InnerFault i:nil="true" />
<TraceText i:nil="true" />
</OrganizationServiceFault>

To summaries: currently the hierarchy is A-->B--C and A-->C 1:N(referential). I want to change it to A-->B & A-->C so I am changing the existing parent relation between B-->C to referential and changing the referential relation between A-->C to Parental


Viewing all articles
Browse latest Browse all 79901

Trending Articles



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