Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

After building a solution and feature to deploy a set of content types I was able to successfully activate the feature and use the content types. However after making some changes and redeploying and reactivating the feature I get the following error.

<nativehr>0x80070055</nativehr><nativestack></nativestack> 

Which seems to mean A duplicate name was found creating content type or as it appears without custom errors off The local device name is already in use. Has anyone been able to resolve issue before?

Stack Trace: 

[COMException (0x80070055): <nativehr>0x80070055</nativehr><nativestack></nativestack>]
   Microsoft.SharePoint.Library.SPRequestInternalClass.ThrowError(Int32 dwErr) +0
   Microsoft.SharePoint.Library.SPRequest.ThrowError(Int32 dwErr) +117

[SPException]
   Microsoft.SharePoint.Administration.SPElementDefinitionCollection.ProvisionFieldsAndContentTypes(SPFeaturePropertyCollection props, SPSite site, SPWeb web, Boolean fForce) +23883210
   Microsoft.SharePoint.Administration.SPElementDefinitionCollection.ProvisionElements(SPFeaturePropertyCollection props, SPWebApplication webapp, SPSite site, SPWeb web, Boolean fForce) +138
   Microsoft.SharePoint.SPFeature.Activate(SPSite siteParent, SPWeb webParent, SPFeaturePropertyCollection props, Boolean fForce) +25696175
   Microsoft.SharePoint.SPFeatureCollection.AddInternal(SPFeatureDefinition featdef, Version version, SPFeaturePropertyCollection properties, Boolean force, Boolean fMarkOnly) +27799215
   Microsoft.SharePoint.SPFeatureCollection.AddInternalWithName(Guid featureId, String featureName, Version version, SPFeaturePropertyCollection properties, Boolean force, Boolean fMarkOnly, SPFeatureDefinitionScope featdefScope) +150
   Microsoft.SharePoint.SPFeatureCollection.Add(Guid featureId, Boolean force, SPFeatureDefinitionScope featdefScope) +83
   Microsoft.SharePoint.WebControls.FeatureActivator.ActivateFeature(Guid featid, SPFeatureDefinitionScope featdefScope) +699
   Microsoft.SharePoint.WebControls.FeatureActivatorItem.BtnActivateFeature_Click(Object objSender, EventArgs evtargs) +140
   System.Web.UI.WebControls.Button.OnClick(EventArgs e) +115
   System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +140
   System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +29
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2981
share|improve this question

2 Answers 2

up vote 2 down vote accepted

The message looks like SharePoint has detected a duplicate Guid. Change the Guid and try again. I've seen this behavior in a recent project.

share|improve this answer
    
+1. For me this was related to one of my field GUID. –  jumbo May 21 '12 at 8:43
    
In projects, changing GUID is not an option. Is there a way to find out what exact content type is causing this? –  Roman Jul 30 '12 at 3:59

Have you associated any lists with the your custom Content Types? If yes, you need to disassociate those lists from the content types and then delete those lists before re-deploying your solution. You can user SharePoint Designer to do this.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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