Sharepoint 2010 Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint 2010       RSS Feeds

SharePoint 2010 - deleting content type error

  Asked By: Tessa    Date: Jan 08    Category: Sharepoint 2010    Views: 8707

I developed a site content type inheriting from Form in SP 2010 as a feature.

I associated the content type with a form library and later decided to
republish. I deleted the Form library and when trying to delete the content
type, it gives me the famous SP 2007 error:

The content type "XXX" is part of an application feature.

It is a site content type on a blank site, so there is absolutely no possibility
that this content type is used else where. I have deactivated the feature, even
uninstalled the solution but I am always getting the same error when deleting
the content type.

I queried the content db and found that my deleted forms library instance is
still there in All Lists table. I have already spent 10+ hours on figuring out
why my form library is not deleted. I have tried on more than one sites and
always able to reproduce the issue.



5 Answers Found

Answer #1    Answered By: Sierra Beck     Answered On: Jan 08

When you delete a list or library it isn't really gone. It's in the Recycle
Bin. To remove it from the system entirely you need to either wait 30 days
(default for the Recycle Bin) or delete it from both the user and the site
collection administrator's Recycle Bin.

Answer #2    Answered By: Elisabeth Walsh     Answered On: Jan 08

I have tried deleting  them from recycle bin as well but to no avail.

But even if it is in recycle, it should allow me deleting the parent content
type. won't it?

Answer #3    Answered By: Bhavesh Doshi     Answered On: Jan 08

Did you make sure to delete the library from BOTH levels of the Recycle Bin?
Otherwise its not really gone. You can never delete a content  type while its
still in use, so you need to get rid of the library before deleting  it.

Answer #4    Answered By: Elisa Santos     Answered On: Jan 08

Yes, I did delete from both recycles.........

Answer #5    Answered By: Aleksandar Cirovic     Answered On: Aug 17

You must go to recucle bin from site settings. Then you can find your libraries with your content  type. I have the same problem and solve it after deleting  libarary from this Recucle bin.

Didn't find what you were looking for? Find more on SharePoint 2010 - deleting content type error Or get search suggestion and latest updates.