导入列表时出错 [英] Error Importing a list

查看:79
本文介绍了导入列表时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

当我尝试将列表从旧站点导入到新站点时遇到问题.

I have a problem when I try to import a list from an old site to a new one.

我已经从旧列表中导出了列表,当我尝试使用PowerShell导入新列表时,出现以下错误:

I have exported the list from the old one and when I try to import on the new one with PowerShell I receive the following error :

请完成此操作.请重试.

Connot complete this action.Please try again.

ULS日志:

警告:无法找到/sites/Datalass/Lists/Country的查找列表.该列表不是导出的软件包的一部分,并且在目标网站集中不存在.
  [列表]  错误:无法完成此操作.

 Warning: Unable to find a lookup list /sites/Datalass/Lists/Country. The list is not part of the exported package and does not exist in the destination site collection.
 [List]    Error: Cannot complete this action.

请重试.
[列表]调试:在Microsoft.SharePoint.SPGlobal.HandleComException(COMException comEx)
  在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 字符串bstrFields,字符串bstrContentTypes,字符串bstrImageUrl,字符串bstrEventSinkAssembly,字符串bstrEventSinkClass,字符串bstrEventSinkData,GUID guidDocTemplateId,字符串bstrViews,字符串bstrForms,布尔值bCompressedSchema,日期时间dtTimeCreated)
  在Microsoft.SharePoint.Deployment.ListSerializer.CreateList(SPWeb parentWeb,Dictionary`2 listMetaData,布尔值使用PublicSchema)
  在Microsoft.SharePoint.Deployment.ListSerializer.SetObjectData(对象obj,SerializationInfo信息,StreamingContext上下文,ISurrogateSelector选择器)中
  在Microsoft.SharePoint.Deployment.XmlFormatter.CallSetObjectData(对象obj,SerializationInfo objectData,ISerializationSurrogate代理,ISurrogateSelector选择器)
  FatalError:无法完成此操作.

Please try again.
[List]    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)
 FatalError: Cannot complete this action.

请重试.
  Debug:   在Microsoft.SharePoint.SPGlobal.HandleComException(COMException comEx)
  在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 字符串bstrFields,字符串bstrContentTypes,字符串bstrImageUrl,字符串bstrEventSinkAssembly,字符串bstrEventSinkClass,字符串bstrEventSinkData,GUID guidDocTemplateId,字符串bstrViews,字符串bstrForms,布尔值bCompressedSchema,日期时间dtTimeCreated)
  在Microsoft.SharePoint.Deployment.ListSerializer.CreateList(SPWeb parentWeb,Dictionary`2 listMetaData,布尔值使用PublicSchema)
  在Microsoft.SharePoint.Deployment.ListSerializer.SetObjectData(对象obj,SerializationInfo信息,StreamingContext上下文,ISurrogateSelector选择器)中
  在Microsoft.SharePoint.Deployment.XmlFormatter.CallSetObjectData(对象obj,SerializationInfo objectData,ISerializationSurrogate代理,ISurrogateSelector选择器)
   at Microsoft.SharePoint.Deployment.XmlFormatter.ParseObject(Type objectType,Boolean isChildObject)
  在Microsoft.SharePoint.Deployment.XmlFormatter.DeserializeObject(类型ObjectType,布尔值isChildObject,DeploymentObject信封)
  在Microsoft.SharePoint.Deployment.XmlFormatter.Deserialize(Stream serializationStream)
  在Microsoft.SharePoint.Deployment.ObjectSerializer.Deserialize(Stream serializationStream)
  在Microsoft.SharePoint.Deployment.SPImport.DeserializeObjects()
  在Microsoft.SharePoint.Deployment.SPImport.Run()
 进度:导入未完成.

Please try again.
 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()
 Progress: Import did not complete.

谢谢!

popescualexandra

popescualexandra

推荐答案

您好alexamaya,

Hi alexamaya,

旧网站集中的列表是否包含查找列?

Does the list in the old site collection contain lookup column?

如果是这样,则查找列包含查找列表的GUID,在新站点中,新列表可能会查找旧列表的GUID.如果找不到它,查找将失败.

If so, the lookup column contain the GUID of lookup list, in the new site, the new list might look for the old list’s GUID. When it can't find it the lookup will fail.

请参阅以下类似的帖子:

Refer to the similar post below:

最诚挚的问候,


这篇关于导入列表时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆