A Duplicate Content Type has been found Error on using Site Templates

%3CLINGO-SUB%20id%3D%22lingo-sub-548508%22%20slang%3D%22en-US%22%3EA%20Duplicate%20Content%20Type%20has%20been%20found%20Error%20on%20using%20Site%20Templates%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-548508%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20All%2C%3C%2FP%3E%3CP%3EI%20am%20assisting%20a%20client%20with%20moving%20some%20site%20templates%20between%20site%20collections%20(a%20production%20and%20staging%20environment).%26nbsp%3B%20%26nbsp%3B%20When%20i%20add%20the%20site%20template%20to%20the%20staging%20site%2C%26nbsp%3B%20it%20works%20at%20first%2C%26nbsp%3B%20but%20upon%20modifying%20the%20site%20and%20re-creating%20the%20template%2C%20we%20receive%20an%20error%20indicating%20that%20a%20content%20type%20already%20exists%20(a%20duplicate%20content%20type%20has%20been%20found).%26nbsp%3B%20%26nbsp%3B%20I%20have%20taken%20the%20wsp%20file%20and%20opened%20up%20the%20cab%20to%20see%20that%20there%20are%20multiple%20instances%20of%20the%20content%20types%20stored%20in%20the%26nbsp%3BElementsContentType.xml%20file.%26nbsp%3B%20%26nbsp%3B%20I%20don't%20understand%20why%20it%20is%20creating%20duplicates%20in%20these%20files%20when%20i%20create%20the%20template.%26nbsp%3B%20%26nbsp%3BCan%20anyone%20shed%20any%20light%20on%20this%3F%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3BI%20have%20tried%20deleting%20the%20associated%20lists%2Fcontent%20types%20from%20the%20production%20site%2C%20recreating%20the%20template%2C%20and%20installing%20it%20back%20over%20to%20the%20test%20site%2C%26nbsp%3B%20but%20it%20still%20creates%20duplicates.%26nbsp%3B%20%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-548508%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ESharePoint%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1217797%22%20slang%3D%22en-US%22%3ERe%3A%20A%20Duplicate%20Content%20Type%20has%20been%20found%20Error%20on%20using%20Site%20Templates%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1217797%22%20slang%3D%22en-US%22%3EIs%20there%20any%20solution%20to%20this%20issue%3F%20I%20am%20getting%20the%20same%20issue%20as%20well.%20To%20make%20it%20worse%2C%20the%20content%20type%20is%20a%20preserved%20Item%20Content%20Type.%3C%2FLINGO-BODY%3E
Highlighted
Occasional Visitor

Hi All,

I am assisting a client with moving some site templates between site collections (a production and staging environment).    When i add the site template to the staging site,  it works at first,  but upon modifying the site and re-creating the template, we receive an error indicating that a content type already exists (a duplicate content type has been found).    I have taken the wsp file and opened up the cab to see that there are multiple instances of the content types stored in the ElementsContentType.xml file.    I don't understand why it is creating duplicates in these files when i create the template.   Can anyone shed any light on this?     I have tried deleting the associated lists/content types from the production site, recreating the template, and installing it back over to the test site,  but it still creates duplicates.   

1 Reply
Highlighted
Is there any solution to this issue? I am getting the same issue as well. To make it worse, the content type is a preserved Item Content Type.