Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 143529

Please help! Can't create new Entities anymore: Cannot insert duplicate key

$
0
0

We update our Production environment using a Managed Solution once per week.

Yesterday we had an error on a specific entity when trying to import: Cannot insert duplicate key. Even if this entity does not exist in Prod.

So we removed the entity from the solution, failed again. Now another Entity was target as being a duplicate Key.

For the sake of it, we tried to create a new entity directly in Production, in an unmanaged Solution. Same error: Cannot insert duplicate key.

So the problem seems to come from our Prod environment. We can't create new entities anymore. Whatever the name is, we get the error. The error log is below but it doesn't say much.

We use CRM 8.2.2.112 on-premise.

Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: Cannot insert duplicate key.Detail:
<OrganizationServiceFault xmlns:i="www.w3.org/.../XMLSchema-instance" xmlns="schemas.microsoft.com/.../Contracts">
<ActivityId>a71860cb-9822-4c54-81f7-e2cc96d1d0fd</ActivityId>
<ErrorCode>-2147220937</ErrorCode>
<ErrorDetails xmlns:d2p1="schemas.datacontract.org/.../System.Collections.Generic" />
<Message>Cannot insert duplicate key.</Message>
<Timestamp>2018-09-26T10:03:03.2318156Z</Timestamp>
<ExceptionRetriable>false</ExceptionRetriable>
<ExceptionSource i:nil="true" />
<InnerFault i:nil="true" />
<OriginalException i:nil="true" />
<TraceText i:nil="true" />
</OrganizationServiceFault>


Viewing all articles
Browse latest Browse all 143529

Trending Articles



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