Unable to delete SharePoint 2010 ContentType "Contenty type in use."

Shayne picture Shayne · Jun 21, 2011 · Viewed 46.5k times · Source

I have tried all the recommendations on the web, to no avail.

I wrote a console application per these instructions: http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spcontenttypecollection.delete.aspx

The "Usages.Count" is = 0. Yet, when it tries to delete the Content Type I get an Exception:

"The content type is in use."

This is a brand new (development) install. I created a test site in SP Designer, created a Content Type,then a list. Then, I removed the list, removed it from Recycle Bin and tried to remove the content type...... Ugh.

Answer

Erik Madsen picture Erik Madsen · Jul 6, 2011

I was frustrated by this issue until I found your comment. Excellent advice.

  1. Delete from site recycle bin.
  2. Delete from Site Collection > Site Settings > Site Collection Administration > Recycle Bin.
  3. Delete from End User Recycle Bin Items.
  4. Delete from "Deleted From End User Recycle Bin."

That's a lot of recycling! Once complete, I was able to delete the content type.