Freigeben über


SharePoint Content Deployment Error: The specified name is already in use.

When creating content deployment paths on MOSS you need to make sure that the site collection designated as the Destination Site Collection is based on a Blank site template. The Blank site template is the only template able to import content from other site template types.

the best way to create the site collection this purpose is by using the following stsadm command line:

STSADM.EXE -o createsite -url https://sitecollectionurl -ownerlogin domainname/username -owneremail owner@email.net

If the destination site collection is based on other site templates then expect to receive a series of warnings in the job history followed by the errors below:

 

The specified name is already in use. A list, survey, discussion board, or document library cannot have the same name as another list, survey, discussion board, or document library in this Web site. Use your browser's Back button, and type a new name. at Microsoft.SharePoint.Library.SPRequest.CreateListOnImport(String bstrUrl, Guid& pguidListId, String bstrTitle, String bstrDescription, Int32 lTemplateID, String bstrFeatureId, Guid guidRootFolderId, Int64 llFlags, Int32 iVersion, Int32 iAuthor, String bstrFields, String bstrContentTypes, String bstrImageUrl, String bstrEventSinkAssembly, String bstrEventSinkClass, String bstrEventSinkData, Guid guidDocTemplateId, String bstrViews, String bstrForms, Boolean bCompressedSchema) at Microsoft.SharePoint.Deployment.ListSerializer.CreateList(SPWeb parentWeb, Dictionary`2 listMetaData, Boolean usingPublicSchema) at Microsoft.SharePoint.Deployment.ListSerializer.SetObjectData(Object obj, SerializationInfo info, StreamingContext context, ISurrogateSelector selector) at Microsoft.SharePoint.Deployment.XmlFormatter.ParseObject(Type objectType, Boolean isChildObject) at Microsoft.SharePoint.Deployment.XmlFormatter.DeserializeObject(Type objectType, Boolean isChildObject, DeploymentObject envelope) at Microsoft.SharePoint.Deployment.XmlFormatter.Deserialize(Stream serializationStream) at Microsoft.SharePoint.Deployment.ObjectSerializer.Deserialize(Stream serializationStream) at Microsoft.SharePoint.Deployment.ImportObjectManager.ProcessObject(XmlReader xmlReader) at Microsoft.SharePoint.Deployment.SPImport.DeserializeObjects() at Microsoft.SharePoint.Deployment.SPImport.Run()

 

Content deployment job 'Remote import job for job with sourceID = 07a2e1bb-ee87-437d-b759-482e5c3f36a9' failed.The exception thrown was 'Microsoft.SharePoint.SPException' : 'The specified name is already in use. A list, survey, discussion board, or document library cannot have the same name as another list, survey, discussion board, or document library in this Web site. Use your browser's Back button, and type a new name.'

 

- mutaz

Comments

  • Anonymous
    September 08, 2008
    This is very interesting.... I am going to test it out now... I have been facing the error above.

  • Anonymous
    October 20, 2008
    Interesting post. I'm seeing this same error message presented in the site collections features area when I try to enable the "Office SharePoint Server Publishing Infrastructure" feature.

  • Anonymous
    June 10, 2009
    I've copied some folders from one site to another site via SharePoint designer. After that when I try to enable Publishing feature on Destination site this error is coming. Don't know which list I've to delete. please someone suggest.

  • Anonymous
    June 25, 2010
    to fix this you can use the sharepoint designer to delete the given list, site, or page. this error always appear when provisioning objects and deploying using the wonderful :P visual studio deploy

  • Anonymous
    July 13, 2010
    I have facing the same issue, When i am trying to activate the site collection feature named "Office SharePoint Server Publishing Infrastructure".