Error when importing a custom list from one Sharepoint Server to another

Apr 27, 2011 at 7:06 AM

Dear friends,

I am trying to import a custom list by using the "SharePoint Content Deployment Wizard".  Every time I try to import it, it fails at a specific step:

[26/4/2011 17:34:20] Start Time: 26/4/2011 17:34:20.
[26/4/2011 17:34:20] Progress: Initializing Import.
[26/4/2011 17:34:21] Progress: Starting content import.
[26/4/2011 17:34:21] Progress: De-Serializing Objects to Database.
[26/4/2011 17:34:21] [Folder] [Products] Progress: Importing
[26/4/2011 17:34:21] [Folder] [Products]   Verbose: Source URL: Lists/Products
[26/4/2011 17:34:21] [Folder] [Products]   ExtendedVerbose: Creating
[26/4/2011 17:34:21] [Folder] [Attachments] Progress: Importing
[26/4/2011 17:34:21] [Folder] [Attachments]   Verbose: Source URL: Lists/Products/Attachments
[26/4/2011 17:34:21] [Folder] [Attachments]   ExtendedVerbose: Creating
[26/4/2011 17:34:21] [Folder] [Item] Progress: Importing
[26/4/2011 17:34:21] [Folder] [Item]   Verbose: Source URL: Lists/Products/Item
[26/4/2011 17:34:21] [Folder] [Item]   ExtendedVerbose: Creating
[26/4/2011 17:34:21] [File] [AllItems.aspx] Progress: Importing
[26/4/2011 17:34:21] [File] [AllItems.aspx]   Verbose: Source URL: Lists/Products/AllItems.aspx
[26/4/2011 17:34:21] [File] [AllItems.aspx]   Verbose: Destination URL: /GR/home/Lists/Products/AllItems.aspx
[26/4/2011 17:34:21] [File] [AllItems.aspx]   Verbose: pages\viewpage.aspx 4
[26/4/2011 17:34:21] [File] [AllItems.aspx]   Error: An unexpected error has occurred.
[26/4/2011 17:34:21] [File] [AllItems.aspx]   Debug:    at Microsoft.SharePoint.SPGlobal.HandleComException(COMException comEx)
   at Microsoft.SharePoint.Library.SPRequest.SetGhostedFile(String setupPath, Byte setupPathVersion, Int32 iVersion, Guid& pguidListId, Guid& pguidDocId, Int32 lDoclibRowId, Int32 iAuthorId, String authorLogin, String serverRelativeUrl, String targetUrlWebRelative, Boolean isInDocLib, Boolean isMigration, Boolean isPublishing, Object varProperties)
   at Microsoft.SharePoint.Deployment.FileSerializer.SetGhostedFile(Object fileOrListItem, SPLoggerObject loggerObject, SPWeb web, Guid existId, String fileUrl, SerializationInfoHelper infoHelper, SerializationInfoHelper infoHelperListitem, Boolean fileExistsInDb, StreamingContext context)
[26/4/2011 17:34:21] [File] [DispForm.aspx] Progress: Importing
[26/4/2011 17:34:21] [File] [DispForm.aspx]   Verbose: Source URL: Lists/Products/DispForm.aspx
[26/4/2011 17:34:21] [File] [DispForm.aspx]   Verbose: Destination URL: /GR/home/Lists/Products/DispForm.aspx
[26/4/2011 17:34:21] [File] [DispForm.aspx]   Verbose: pages\form.aspx 4
[26/4/2011 17:34:21] [File] [DispForm.aspx]   Error: An unexpected error has occurred.
[26/4/2011 17:34:21] [File] [DispForm.aspx]   Debug:    at Microsoft.SharePoint.SPGlobal.HandleComException(COMException comEx)
   at Microsoft.SharePoint.Library.SPRequest.SetGhostedFile(String setupPath, Byte setupPathVersion, Int32 iVersion, Guid& pguidListId, Guid& pguidDocId, Int32 lDoclibRowId, Int32 iAuthorId, String authorLogin, String serverRelativeUrl, String targetUrlWebRelative, Boolean isInDocLib, Boolean isMigration, Boolean isPublishing, Object varProperties)
   at Microsoft.SharePoint.Deployment.FileSerializer.SetGhostedFile(Object fileOrListItem, SPLoggerObject loggerObject, SPWeb web, Guid existId, String fileUrl, SerializationInfoHelper infoHelper, SerializationInfoHelper infoHelperListitem, Boolean fileExistsInDb, StreamingContext context)
[26/4/2011 17:34:21] [File] [EditForm.aspx] Progress: Importing
[26/4/2011 17:34:21] [File] [EditForm.aspx]   Verbose: Source URL: Lists/Products/EditForm.aspx
[26/4/2011 17:34:21] [File] [EditForm.aspx]   Verbose: Destination URL: /GR/home/Lists/Products/EditForm.aspx
[26/4/2011 17:34:21] [File] [EditForm.aspx]   Verbose: pages\form.aspx 4
[26/4/2011 17:34:21] [File] [EditForm.aspx]   Error: An unexpected error has occurred.
[26/4/2011 17:34:21] [File] [EditForm.aspx]   Debug:    at Microsoft.SharePoint.SPGlobal.HandleComException(COMException comEx)
   at Microsoft.SharePoint.Library.SPRequest.SetGhostedFile(String setupPath, Byte setupPathVersion, Int32 iVersion, Guid& pguidListId, Guid& pguidDocId, Int32 lDoclibRowId, Int32 iAuthorId, String authorLogin, String serverRelativeUrl, String targetUrlWebRelative, Boolean isInDocLib, Boolean isMigration, Boolean isPublishing, Object varProperties)
   at Microsoft.SharePoint.Deployment.FileSerializer.SetGhostedFile(Object fileOrListItem, SPLoggerObject loggerObject, SPWeb web, Guid existId, String fileUrl, SerializationInfoHelper infoHelper, SerializationInfoHelper infoHelperListitem, Boolean fileExistsInDb, StreamingContext context)
[26/4/2011 17:34:21] [File] [NewForm.aspx] Progress: Importing
[26/4/2011 17:34:21] [File] [NewForm.aspx]   Verbose: Source URL: Lists/Products/NewForm.aspx
[26/4/2011 17:34:21] [File] [NewForm.aspx]   Verbose: Destination URL: /GR/home/Lists/Products/NewForm.aspx
[26/4/2011 17:34:21] [File] [NewForm.aspx]   Verbose: pages\form.aspx 4
[26/4/2011 17:34:21] [File] [NewForm.aspx]   Error: An unexpected error has occurred.
[26/4/2011 17:34:21] [File] [NewForm.aspx]   Debug:    at Microsoft.SharePoint.SPGlobal.HandleComException(COMException comEx)
   at Microsoft.SharePoint.Library.SPRequest.SetGhostedFile(String setupPath, Byte setupPathVersion, Int32 iVersion, Guid& pguidListId, Guid& pguidDocId, Int32 lDoclibRowId, Int32 iAuthorId, String authorLogin, String serverRelativeUrl, String targetUrlWebRelative, Boolean isInDocLib, Boolean isMigration, Boolean isPublishing, Object varProperties)
   at Microsoft.SharePoint.Deployment.FileSerializer.SetGhostedFile(Object fileOrListItem, SPLoggerObject loggerObject, SPWeb web, Guid existId, String fileUrl, SerializationInfoHelper infoHelper, SerializationInfoHelper infoHelperListitem, Boolean fileExistsInDb, StreamingContext context)
[26/4/2011 17:34:21] [List] [Products] Progress: Importing
[26/4/2011 17:34:21] [List] [Products]   ExtendedVerbose: Creating
[26/4/2011 17:34:21] Warning: Unable to find a lookup list /Lists/ProductFamilies. The list is not part of the exported package and does not exist in the destination site collection.
[26/4/2011 17:34:21] [List] [Products]   Error: An unexpected error has occurred.
[26/4/2011 17:34:21] [List] [Products]   Debug:    at Microsoft.SharePoint.SPGlobal.HandleComException(COMException comEx)
   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, DateTime dtTimeCreated)
   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.CallSetObjectData(Object obj, SerializationInfo objectData, ISerializationSurrogate surrogate, ISurrogateSelector selector)
[26/4/2011 17:34:21] FatalError: An unexpected error has occurred.
[26/4/2011 17:34:21] Debug:    at Microsoft.SharePoint.SPGlobal.HandleComException(COMException comEx)
   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, DateTime dtTimeCreated)
   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.CallSetObjectData(Object obj, SerializationInfo objectData, ISerializationSurrogate surrogate, 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.SPImport.DeserializeObjects()
   at Microsoft.SharePoint.Deployment.SPImport.Run()
[26/4/2011 17:34:21] Progress: Import did not complete.
[26/4/2011 17:34:21] Finish Time: 26/4/2011 17:34:21.
[26/4/2011 17:34:21] Duration: 00:00:00
[26/4/2011 17:34:21] Finished with 1 warnings.
[26/4/2011 17:34:21] Finished with 6 errors.
[26/4/2011 17:55:35] Start Time: 26/4/2011 17:55:35.
[26/4/2011 17:55:35] Progress: Initializing Import.
[26/4/2011 17:55:41] Progress: Starting content import.
[26/4/2011 17:55:42] Progress: De-Serializing Objects to Database.
[26/4/2011 17:55:42] [Folder] [Products] Progress: Importing
[26/4/2011 17:55:42] [Folder] [Products]   Verbose: Source URL: Lists/Products
[26/4/2011 17:55:42] [Folder] [Products]   ExtendedVerbose: Creating
[26/4/2011 17:55:42] [Folder] [Attachments] Progress: Importing
[26/4/2011 17:55:42] [Folder] [Attachments]   Verbose: Source URL: Lists/Products/Attachments
[26/4/2011 17:55:42] [Folder] [Attachments]   ExtendedVerbose: Creating
[26/4/2011 17:55:42] [Folder] [Item] Progress: Importing
[26/4/2011 17:55:42] [Folder] [Item]   Verbose: Source URL: Lists/Products/Item
[26/4/2011 17:55:42] [Folder] [Item]   ExtendedVerbose: Creating
[26/4/2011 17:55:42] [File] [AllItems.aspx] Progress: Importing
[26/4/2011 17:55:42] [File] [AllItems.aspx]   Verbose: Source URL: Lists/Products/AllItems.aspx
[26/4/2011 17:55:42] [File] [AllItems.aspx]   Verbose: Destination URL: /GR/home/Lists/Products/AllItems.aspx
[26/4/2011 17:55:42] [File] [AllItems.aspx]   Verbose: pages\viewpage.aspx 4
[26/4/2011 17:55:42] [File] [AllItems.aspx]   Error: An unexpected error has occurred.
[26/4/2011 17:55:42] [File] [AllItems.aspx]   Debug:    at Microsoft.SharePoint.SPGlobal.HandleComException(COMException comEx)
   at Microsoft.SharePoint.Library.SPRequest.SetGhostedFile(String setupPath, Byte setupPathVersion, Int32 iVersion, Guid& pguidListId, Guid& pguidDocId, Int32 lDoclibRowId, Int32 iAuthorId, String authorLogin, String serverRelativeUrl, String targetUrlWebRelative, Boolean isInDocLib, Boolean isMigration, Boolean isPublishing, Object varProperties)
   at Microsoft.SharePoint.Deployment.FileSerializer.SetGhostedFile(Object fileOrListItem, SPLoggerObject loggerObject, SPWeb web, Guid existId, String fileUrl, SerializationInfoHelper infoHelper, SerializationInfoHelper infoHelperListitem, Boolean fileExistsInDb, StreamingContext context)
[26/4/2011 17:55:42] [File] [DispForm.aspx] Progress: Importing
[26/4/2011 17:55:42] [File] [DispForm.aspx]   Verbose: Source URL: Lists/Products/DispForm.aspx
[26/4/2011 17:55:42] [File] [DispForm.aspx]   Verbose: Destination URL: /GR/home/Lists/Products/DispForm.aspx
[26/4/2011 17:55:42] [File] [DispForm.aspx]   Verbose: pages\form.aspx 4
[26/4/2011 17:55:42] [File] [DispForm.aspx]   Error: An unexpected error has occurred.
[26/4/2011 17:55:42] [File] [DispForm.aspx]   Debug:    at Microsoft.SharePoint.SPGlobal.HandleComException(COMException comEx)
   at Microsoft.SharePoint.Library.SPRequest.SetGhostedFile(String setupPath, Byte setupPathVersion, Int32 iVersion, Guid& pguidListId, Guid& pguidDocId, Int32 lDoclibRowId, Int32 iAuthorId, String authorLogin, String serverRelativeUrl, String targetUrlWebRelative, Boolean isInDocLib, Boolean isMigration, Boolean isPublishing, Object varProperties)
   at Microsoft.SharePoint.Deployment.FileSerializer.SetGhostedFile(Object fileOrListItem, SPLoggerObject loggerObject, SPWeb web, Guid existId, String fileUrl, SerializationInfoHelper infoHelper, SerializationInfoHelper infoHelperListitem, Boolean fileExistsInDb, StreamingContext context)
[26/4/2011 17:55:42] [File] [EditForm.aspx] Progress: Importing
[26/4/2011 17:55:42] [File] [EditForm.aspx]   Verbose: Source URL: Lists/Products/EditForm.aspx
[26/4/2011 17:55:42] [File] [EditForm.aspx]   Verbose: Destination URL: /GR/home/Lists/Products/EditForm.aspx
[26/4/2011 17:55:42] [File] [EditForm.aspx]   Verbose: pages\form.aspx 4
[26/4/2011 17:55:42] [File] [EditForm.aspx]   Error: An unexpected error has occurred.
[26/4/2011 17:55:42] [File] [EditForm.aspx]   Debug:    at Microsoft.SharePoint.SPGlobal.HandleComException(COMException comEx)
   at Microsoft.SharePoint.Library.SPRequest.SetGhostedFile(String setupPath, Byte setupPathVersion, Int32 iVersion, Guid& pguidListId, Guid& pguidDocId, Int32 lDoclibRowId, Int32 iAuthorId, String authorLogin, String serverRelativeUrl, String targetUrlWebRelative, Boolean isInDocLib, Boolean isMigration, Boolean isPublishing, Object varProperties)
   at Microsoft.SharePoint.Deployment.FileSerializer.SetGhostedFile(Object fileOrListItem, SPLoggerObject loggerObject, SPWeb web, Guid existId, String fileUrl, SerializationInfoHelper infoHelper, SerializationInfoHelper infoHelperListitem, Boolean fileExistsInDb, StreamingContext context)
[26/4/2011 17:55:42] [File] [NewForm.aspx] Progress: Importing
[26/4/2011 17:55:42] [File] [NewForm.aspx]   Verbose: Source URL: Lists/Products/NewForm.aspx
[26/4/2011 17:55:42] [File] [NewForm.aspx]   Verbose: Destination URL: /GR/home/Lists/Products/NewForm.aspx
[26/4/2011 17:55:42] [File] [NewForm.aspx]   Verbose: pages\form.aspx 4
[26/4/2011 17:55:42] [File] [NewForm.aspx]   Error: An unexpected error has occurred.

 

It seems that the process fails when trying to create the files with Microsoft.SharePoint.Deployment.FileSerializer.SetGhostedFile. The specific list does not exist on the server (it existed but I have deleted it).

Thanks