web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

SQL Server error: Unable to delete rollup field

(0) ShareShare
ReportReport
Posted on by 1,328

Every time I try to delete this rollup field on my custom entity I get this SQL error. 

Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: System.Web.HttpUnhandledException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #D5180B74Detail: 
<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: #D5180B74</Message>
  <Timestamp>2017-04-24T12:31:15.8072634Z</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: #257CED76</Message>
    <Timestamp>2017-04-24T12:31:15.8072634Z</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: #F81F7521</Message>
      <Timestamp>2017-04-24T12:31:15.8072634Z</Timestamp>
      <InnerFault i:nil="true" />
      <TraceText i:nil="true" />
    </InnerFault>
    <TraceText i:nil="true" />
  </InnerFault>
  <TraceText i:nil="true" />
</OrganizationServiceFault>


sqlerror.png

*This post is locked for comments

I have the same question (0)
  • Gopalan Bhuvanesh Profile Picture
    11,401 on at

    Is there any other dependencies for this field?

  • epark06 Profile Picture
    1,328 on at

    No, I removed all dependencies.

  • Verified answer
    Gopalan Bhuvanesh Profile Picture
    11,401 on at

    Hi

    Change the Rollup Field’s Aggregation field to another field

    Save and Close

    Delete

    Note: After the Delete is done – the Field definition still display.  OK to close it and if you refresh the list of fields – this rollup field is deleted

    Please refer the following:

    community.dynamics.com/.../how-to-resolve-sql-server-error-on-a-microsoft-crm-2015-rollup-field-delete

  • epark06 Profile Picture
    1,328 on at

    [quote user="Gopalan Bhuvanesh"]

    Hi

    Change the Rollup Field’s Aggregation field to another field

    Save and Close

    Delete

    Note: After the Delete is done – the Field definition still display.  OK to close it and if you refresh the list of fields – this rollup field is deleted

    Please refer the following:

    community.dynamics.com/.../how-to-resolve-sql-server-error-on-a-microsoft-crm-2015-rollup-field-delete

    [/quote]

    That worked! Thanks!

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans