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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

General SQL Error when Deleting a Custom Entity

(0) ShareShare
ReportReport
Posted on by

I'm attempting to delete a custom entity in our Dynamics sandbox environment. We're running Dynamics 365 online. When I attempt to delete the custom entity under Solutions, I'm receiving a general SQL Server error.

3771.SQL-Server-Error.png

Below is the contents of the log file:

Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: Generic SQL error.Detail:

<OrganizationServiceFault xmlns:i="www.w3.org/.../XMLSchema-instance" xmlns="schemas.microsoft.com/.../Contracts">

  <ActivityId>9cf549a7-234e-406f-aa28-89aa96ab9017</ActivityId>

  <ErrorCode>-2147204784</ErrorCode>

  <ErrorDetails xmlns:d2p1="schemas.datacontract.org/.../System.Collections.Generic" />

  <Message>Generic SQL error.</Message>

  <Timestamp>2017-11-13T10:22:41.8801795Z</Timestamp>

  <ExceptionRetriable>false</ExceptionRetriable>

  <ExceptionSource i:nil="true" />

  <InnerFault i:nil="true" />

  <OriginalException i:nil="true" />

  <TraceText i:nil="true" />

</OrganizationServiceFault>

Was wondering if other members of the community have run into this issue and have  suggestions of where I can start to correct this issue.

Thanks so much!

David

*This post is locked for comments

I have the same question (0)
  • Mahendar Pal Profile Picture
    45,095 on at

    Hi David,

    As this is generic SQL error in CRM Online, I will suggest you to log a support case with Microsoft to resolve this issue. They can provide more details about this issue.

    Thanks

  • Community Member Profile Picture
    on at

    Hi Mahen,

    Thanks for your reply. I'll log a ticket with Microsoft to have them help find a solution.

    Regards,

    David

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Varsha deshpande Profile Picture

Varsha deshpande 5

#2
JS-09031509-0 Profile Picture

JS-09031509-0 3

#3
Ciprian  P Profile Picture

Ciprian P 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans