I'm trying to delete a custom content type that I've created, but I'm getting an error when I try to do so:
The content type is in use. at Microsoft.SharePoint.SPContentTypeCollection.DeleteFromWeb(SPContentTypeId id, String strName) at Microsoft.SharePoint.SPContentTypeCollection.Delete(SPContentTypeId id) at Microsoft.SharePoint.SPContentType.Delete() at Microsoft.SharePoint.ApplicationPages.ManageContentTypePage.DeleteContentType() at Microsoft.SharePoint.ApplicationPages.ManageContentTypePage.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
I have gone so far as to delete all the document libraries on this site that have even used this content type in the past after deleting items that were using it but to no avail. There's nothing left on this site that could be using this content type, so I'm not sure why it won't let me delete it. Is there a way to remind Sharepoint that this content type is no longer in use or some way to get rid of this content type? I'm trying to test dynamic creation and usage of this content type.
Thanks very much in advance