Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

"The record could not be deleted because of an association" error occurs in Dynamics 365


View products that this article applies to.

Symptom

When attempting to delete a solution in Dynamics 365, you encounter the following error:

"The record could not be deleted because of an association

The record cannot be deleted because it is associated with another record."

↑ Back to the top


Cause

This error can occur if you are trying to delete a solution which contains a component that is still used by another component. 

Example: If the solution includes an image web resource and that image is used by a Theme, you would encounter this error when trying to delete that solution.

↑ Back to the top


Resolution

Before attempting to delete the solution, remove any references from the included components to components in other solutions.

In the example from the Cause section, you would need to follow these steps:

  1. Access the Dynamics 365 web application as a user with the System Administrator or System Customizer security role.
  2. Navigate to Settings, Customizations, and Themes.
  3. Open the theme that uses the image web resource as the logo.
  4. Use the Logo lookup field to remove the reference to the image web resource that is part of the solution you are trying to delete and save the changes.
  5. Try to delete the solution again.

↑ Back to the top


Article Info
Article ID : 4459159
Revision : 2
Created on : 8/21/2018
Published on : 8/21/2018
Exists online : False
Views : 290