I have an content type in my feature, and sudenly when I tried to debug my feature, i got the following error:

Error occurred in deployment step 'Activate Features': 
The content type with Id 0x01005B614C2D37A841DE8D1739C2A6ECDF82 defined in feature {bla bla} was found in the current site collection or in a subsite.

The thing is that even if I manually retract and delete solution and try to redeploy, error is still present. I can't find my content type in gallery, nor activate feature containing it by hand from feature gallery. I found it in content database by hand (through SQL Server Studio), but I'm far from deleting it by hand from database because I don't want to mess up whole site collection and web application. What can be the cause and how do I eventually can get rid of that error?

I found one post on MSDN which suggested site collection deletion, but I'd like to avoid that.

  • Running 'iisreset' before feature activation also works. Not very efficient maybe, but for development it works ok.
    – jjczopek
    Sep 30, 2011 at 12:43

5 Answers 5


This is a bug that comes up every now and then. Sometimes it will clean itself up when you redeploy. Try that before deleting the site collection.

  • Today everything works fine...
    – jjczopek
    Sep 27, 2011 at 9:14
  • Anita's answer was most correct. It is the restarting of VS that clears things out. Sep 27, 2011 at 12:08

Try restarting Visual Studio. Sometimes it locks some stuff, I've seen it before.


I faced this issue before but did you to iterate through the Site Collection/Webs via PowerShell to see if something is missing?

Also, check the ULS log to find more specific information. Did you try setting the OVERWRITE attribute to TRUE because it overwrites the existing Content Type if any. If you don't find anything, (as Mike suggested) you may have to delete the Site Collection and recreate it.

  • yes, I did iterate through site content types with powershell script, and I couldn't find my content type. I think I tried also OVERWRITE=True, but it didn't work. Will try it again thou.
    – jjczopek
    Sep 26, 2011 at 22:58

The issue comes every now and then.. in the case try to retract the code with visual studio. rebuild it and again deploy. Or may be you can put activation status to "No Activation" and then deploy your solution.

Hope it works...

-- regards,



I deployed a bunch of columns and deployed them using a feature. Afterwards I retracted that feature and created a new feature to deploy them with same ID (GUID) but different internal names. That caused me this error.

I had to change all my IDs to fix this issue.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.