Visual Studio 2010 and SharePoint 2010: Content Type deployment error on second deployment round

I have managed to hit my self at least twice now with this “smallish” problem with Visual Studio 2010 and SharePoint 2010. In Visual Studio 2010 you can add content type into SharePoint project and deployment goes easily through at first time, but later following error message pops up:

Error occurred in deployment step ‘Activate Features’: The content type with  defined in feature {guid} was found in the current site collection or in a subsite.

Apparently this is quite common error, but I thought to add post from this to here if someone else manages to get this error and happens to find this blog at first.

And the solution: http://support.microsoft.com/kb/2022443 . On quick summary, solution can be as easy as retracting the solution, closing Visual Studio 2010 and starting studio again and doing the deployment. Sometimes there is needed to do extra tricks (like restarting SharePoint processes) but normally things are this easy with this particular problem.

Advertisements

About Sakarih

I am SharePoint developer/architect from Finland and my blogposts are all about SharePoint 2007/2010/2013 stuff. There might be also something else posted.
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s