通过SP MNG Shell导入SPWeb

时间:2018-10-25 11:01:48

标签: shell sharepoint

我的测试站上有2个SP网站,我必须将一个SP Web从http://site:1111/site1/移到http://site:2222/site2/。我正在使用SharePoint命令行管理程序,使用命令-Import-SPWeb -identity http://spsite:1111/site1/targetfolder -Path C:\Users\Admin.DEV\Desktop\SP\xFile -NoFileCompression -IncludeUserSecurity。我正在尝试运行此脚本,但cmd总是返回错误

[10/25/2018 12:43:03 PM] [FatalError] [-2146233079] [System.InvalidOperationException] [There is an error in XML document (2, 212).] 
*** Inner exception:
[-2146231999] [System.Xml.Schema.XmlSchemaValidationException] [The 'AzureContainerSourceUri' attribute is not declared.] 
[10/25/2018 12:43:03 PM] [Debug]    at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
   at Microsoft.SharePoint.Deployment.SPImport.DeserializeExportSettings()
   at Microsoft.SharePoint.Deployment.SPImport.Run()

我找不到AzureContainerSourceUri的用途或所用的URI。感谢您的帮助。

0 个答案:

没有答案