Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Error on deleting Entity from unmanaged Solution

Posted on by 120

Hi Folks,

after I experienced many problems importing a new Solution version into a customers system which i described in a different post, I was fed up and decided to just create two completely new entities and delete the old ones that could cause the problems. After I done that, I exported the solution and tried to import it in the customers test system. Got an error because apparently there were components missing from my new custom entity. So i decided to delete that one again from my dev system and create another new one.

Now I am facing the problem that im am not able to delete the custom entity. When I try it, another error appears.

The protocol is the following:

Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: System.Web.HttpUnhandledException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #4E1C250ADetail:
<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.Web.HttpUnhandledException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #4E1C250A</Message>
  <Timestamp>2016-11-03T10:04:40.0260728Z</Timestamp>
  <InnerFault>
    <ErrorCode>-2147220970</ErrorCode>
    <ErrorDetails xmlns:d3p1="schemas.datacontract.org/.../System.Collections.Generic" />
    <Message>System.Web.Services.Protocols.SoapException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #4E7F3779</Message>
    <Timestamp>2016-11-03T10:04:40.0260728Z</Timestamp>
    <InnerFault>
      <ErrorCode>-2147220970</ErrorCode>
      <ErrorDetails xmlns:d4p1="schemas.datacontract.org/.../System.Collections.Generic" />
      <Message>System.Data.SqlClient.SqlException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #BD07D016</Message>
      <Timestamp>2016-11-03T10:04:40.0260728Z</Timestamp>
      <InnerFault i:nil="true" />
      <TraceText i:nil="true" />
    </InnerFault>
    <TraceText i:nil="true" />
  </InnerFault>
  <TraceText i:nil="true" />
</OrganizationServiceFault>

Anyone any idea what is causing this problem? The entity I want to delete had just a text field, an option set and a lookup on another entity, but I already deleted them from the form and the fields are also deleted.

Greetings from germany.

*This post is locked for comments

  • R.Seiffert Profile Picture
    R.Seiffert 120 on at
    RE: Error on deleting Entity from unmanaged Solution

    Hi Goutham,

    I already deleted all custom fields on the form and from the field list. Also there are only none-custom relationships left in the entity.

    I really don't understand how this error could appear. I deleted custom entities quite often now and never had any problems with it....

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Error on deleting Entity from unmanaged Solution

    Hi,

    Try to restart crm async service and do delete .

    Mansoor

  • Suggested answer
    Goutham A Profile Picture
    Goutham A on at
    RE: Error on deleting Entity from unmanaged Solution

    Hi Seiffert,

    This is generic soap exception.

    Please delete the custom fields and then try to delete the entity. If i am not wrong, You might face some issue when deleting the fields itself. From your description, I think some issue with relationships or lookup

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans