5
votes

I can't delete a custom entity in MS CRM 2011 Rollup 11. While I'm trying to delete entity (it takes 5-7 min then there is an error) CRM freezes.

SQL profiler and DiagTool didn't give an answer. There were some errors, but they did not relate to the work of CRM. I've checked deletion of relationships, it's impossible too.

2
Have you enabled tracing? Are there any plugins/workflows installed that run against the entity being deleted?glosrob
Does it happen for every instance of that entity? Does it happen for only that entity? If you create an other custom entity that looks just like the problematic one (including all the plugins - by now deactivated, of course - workflows, relation etc.), does the problem appears there too? If you export the solution to a vanilla CRM, can you reproduce the issue?Konrad Viltersten
Just to be clear do you mean a record or an entity?James Wood
Well I would suggest following @glosrob suggestion and enable tracing, we are going to find it very difficult to help you without a specific error message.James Wood
Usually each entity is connected to many other entities so you have to break any relationships that your custom entity had with other entities and then try to deleteGreg Oks

2 Answers

1
votes

Once you install a managed solution you are not allowed to delete any of its entities, attributes, relationships, reports and OptionSets. This post provides a simple and supported workaround if you absolutely need to delete one of these components from a deployed managed solution.

Read this link for further detail.

0
votes

Delete the custom fields and then try to delete the entity.