通过Import-SPWeb导入时出错 [英] Error while importing through Import-SPWeb

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

问题描述

您好。我有两个2016 SPSites,http:// edrk2016:5555和http:// edrk2016:5559。我想将SPWeb spkp2016:5559 / WFL / FLOW移至spkp2016:5559 / WPT / FLOW。我使用SharePoint 2016管理shell。我的命令如下:

 Import-SPWeb http:// spkp2016:5555 / WFL / FLOW / -Path C:\ Users \Administrator.DEV \ Desktop\SP\exFile -NoFileCompression -IncludeUserSecurity。

结果是:



< pre class ="prettyprint">

Import-SPWeb:XML文档中有错误< 2,212>。

在行:1 char:1

+ Import-SPWeb http:// spkp2016:5555 / WFL / FLOW -Path

C:\ Users \Administrator.DEV ...

这就是import.log告诉我的:


---


[10/25/2018 1:38:35 PM]开始时间:10/25/2018 1:38:35 PM。


[10/25/2018 1:38:35 PM]相关ID:1bd39b9e-797d-30d5-ea27-9ab2b3df5cad


[10/25/2018 1:38:35 PM] [进度]初始化导入。


[10/25/2018 1:38 :35 PM] [FatalError] [-2146233079]


[Syste.InvalidOperationException] [XML文档中存在错误(2,212)。]


***内部异常:


[ - 2146231999] [ System.Xml.Schema.XmlSchemaValidationException] [未声明'AzureContainerSourceUri'属性。]


[10/25/2018 1:38:35 PM] [调试]  &NBSP;&NBSP; at


System.Xml.Serialization.XmlSerialization.Deserialize(XmlReader xmlReader,String encodingStyle,XmlDeserializationEvents事件)


  &NBSP;&NBSP;在Microsoft.SharePoint.Deployment.SPImport.DeserializeExportSetting()


  &NBSP;&NBSP; at Microsoft.SharePoint.Deployment.SPImport ()


[10/25/2018 1:38:35 PM] [进度]导入确实不完整。


[10/25/2018 1:38:35 PM]完成时间:10/25/2018 1:38:35 PM。


[10/25/2018 1:38:35 PM]持续时间:00:00:00


[10/25/2018 1:38:35 PM]字节导入: 0.00每秒0.00字节


[10/25/2018 1:38:35 PM]完成0警告。


[10/25 / 2018 1:38:35 PM]完成了1个错误。


---


我不知道AzureContainerSourceUri代表什么,因为我之前从未遇到过这个问题。如果有任何帮助或建议如何解决这个问题,我将很高兴。

解决方案

https://social.technet.microsoft.com/Forums/ EN-US / e72f80bd-9157-426b-9754-6c77e9de5115 /内异常2146231999-azurecontainersourceuri属性-IS-未声明

Hello. I have two 2016 SPSites, http://edrk2016:5555 and http://edrk2016:5559. I want to move SPWeb spkp2016:5559/WFL/FLOW to spkp2016:5559/WPT/FLOW. Im using SharePoint 2016 Management shell. My command looks like:

Import-SPWeb http://spkp2016:5555/WFL/FLOW/ -Path C:\Users\Administrator.DEV\Desktop\SP\exFile -NoFileCompression -IncludeUserSecurity.

The result is:

Import-SPWeb : There is and error in XML document <2, 212>.

At line:1 char:1

+Import-SPWeb http://spkp2016:5555/WFL/FLOW -Path

C:\Users\Administrator.DEV …

This is what import.log tell me:

---

[10/25/2018 1:38:35 PM] Start Time: 10/25/2018 1:38:35 PM.

[10/25/2018 1:38:35 PM] Correlation Id: 1bd39b9e-797d-30d5-ea27-9ab2b3df5cad

[10/25/2018 1:38:35 PM] [Progress] Initializing Import.

[10/25/2018 1:38:35 PM] [FatalError] [-2146233079]

[Syste.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 1:38:35 PM] [Debug]      at

System.Xml.Serialization.XmlSerialization.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)

     at Microsoft.SharePoint.Deployment.SPImport.DeserializeExportSetting()

     at Microsoft.SharePoint.Deployment.SPImport()

[10/25/2018 1:38:35 PM] [Progress] Import did not complete.

[10/25/2018 1:38:35 PM] Finish Time: 10/25/2018 1:38:35 PM.

[10/25/2018 1:38:35 PM] Duration : 00:00:00

[10/25/2018 1:38:35 PM] Byte imported: 0.00 at 0.00 bytes per second

[10/25/2018 1:38:35 PM] Finished with 0 warnings.

[10/25/2018 1:38:35 PM] Finished with 1 errors.

---

I don't know what AzureContainerSourceUri stands for, because I never had this problem before. I will be glad for any help or suggestion how to solve this problem.

解决方案

https://social.technet.microsoft.com/Forums/en-US/e72f80bd-9157-426b-9754-6c77e9de5115/inner-exception-2146231999-azurecontainersourceuri-attribute-is-not-declared


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

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