问题描述
我们正在使用内容迁移API导出和导入spWebs。目前我们收到一些spWebs错误。这来自ULS日志。
内容迁移 | 开始出口。 |
内容迁移 | [ - 2147024809] [System.ArgumentException] [已添加具有相同密钥的项目。] |
内容迁移 | 导出未完成。 |
有没有人有一个想法?
Sven
PS:这是完整的堆栈跟踪:
一个项目已添加相同的密钥。
系统 .ArgumentException:已经添加了具有相同键的项目。 System.ThrowHelper.ThrowArgumentException(ExceptionResource资源)
在System.Collections.Generic.Dictionary`2.Insert(TKey键,TValue值,布尔加法) 在Microsoft.SharePoint.Deployment.MetaInfoHandler.Parse(Byte []
propertyBytes) 在Microsoft.SharePoint.Deployment.FileSerializer.HandleMetaInfo(ExportObjectManager objectManager,SPWeb parentWeb,Object metaInfoObject,SerializationInfo info) 在Microsoft.SharePoint.Deployment.FileVersionSerializer.GetDataFromVersionsRow(DataRow
fileData,SerializationInfo info,ExportDataFileManager fileManager,ExportObjectManager objectManager) 在Microsoft.SharePoint.Deployment.FileVersionSerializer.GetDataFromDataSet(Object obj,SerializationInfo info,StreamingContext
context) 在Microsoft.SharePoint.Deployment.FileVersionSerializer.GetObjectData(Object obj,SerializationInfo info,StreamingContext context) 在Microsoft.SharePoint.Deployment.XmlFormatter.SerializeObject(Object
obj,ISerializationSurrogate surrogate,String elementName,Boolean bNeedEnvelope) at Microsoft.SharePoint.Deployment.XmlFormatter.WriteArray(Object array,String name,Type objectType) 在Microsoft.SharePoint.Deployment.XmlFormatter.SerializeObject(Object
obj,ISerializationSurrogate surrogate,String elementName,Boolean bNeedEnvelope) 在Microsoft.SharePoint.Deployment.XmlFormatter.Serialize(Stream serializationStream,Object topLevelObject) 在Microsoft.SharePoint.Deployment.SPExport.SerializeObjects()
at Microsoft.SharePoint.Deployment.SPExport.Run() 在...
Hi,
we are using the Content Migration API to export and import spWebs. Currently we are receiving errors with some spWebs. This comes from the ULS Log.
Content Migration | Starting Export. |
Content Migration | [-2147024809] [System.ArgumentException] [An item with the same key has already been added.] |
Content Migration | Export did not complete. |
Does anyone have an idea?
Sven
P.S.: This is the full stack trace:
An item with the same key has already been added. System.ArgumentException: An item with the same key has already been added. at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource) at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add) at Microsoft.SharePoint.Deployment.MetaInfoHandler.Parse(Byte[] propertyBytes) at Microsoft.SharePoint.Deployment.FileSerializer.HandleMetaInfo(ExportObjectManager objectManager, SPWeb parentWeb, Object metaInfoObject, SerializationInfo info) at Microsoft.SharePoint.Deployment.FileVersionSerializer.GetDataFromVersionsRow(DataRow fileData, SerializationInfo info, ExportDataFileManager fileManager, ExportObjectManager objectManager) at Microsoft.SharePoint.Deployment.FileVersionSerializer.GetDataFromDataSet(Object obj, SerializationInfo info, StreamingContext context) at Microsoft.SharePoint.Deployment.FileVersionSerializer.GetObjectData(Object obj, SerializationInfo info, StreamingContext context) at Microsoft.SharePoint.Deployment.XmlFormatter.SerializeObject(Object obj, ISerializationSurrogate surrogate, String elementName, Boolean bNeedEnvelope) at Microsoft.SharePoint.Deployment.XmlFormatter.WriteArray(Object array, String name, Type objectType) at Microsoft.SharePoint.Deployment.XmlFormatter.SerializeObject(Object obj, ISerializationSurrogate surrogate, String elementName, Boolean bNeedEnvelope) at Microsoft.SharePoint.Deployment.XmlFormatter.Serialize(Stream serializationStream, Object topLevelObject) at Microsoft.SharePoint.Deployment.SPExport.SerializeObjects() at Microsoft.SharePoint.Deployment.SPExport.Run() at...
这篇关于内容迁移API:导出未完成 - 已添加具有相同密钥的项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!