导入.cmp文件时,xml文档(2 183)中存在错误。 [英] there is an error in xml document (2 183) while importing the .cmp file.

查看:130
本文介绍了导入.cmp文件时,xml文档(2 183)中存在错误。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我正在尝试从.cmp文件导入spweb,但收到的错误是"xml文档中有错误(2 183) "。

I am trying to import the spweb from .cmp file, but getting the error saying "there is an error in xml document (2 183)".

SharePoint 2016子网站我使用Export-SpWeb命令进行了备份。之后,我尝试使用Import-spweb http:// site / subsite -path""导入它-force

SharePoint 2016 subsite i took a back up using Export-SpWeb command. After that i am trying to import it using Import-spweb http://site/subsite -path "" -force

问候

Hema

Hema Manjunath

Hema Manjunath

推荐答案

Hi Hema,

Hi Hema,

检查格式.cmp文件的名称。尝试重新运行import命令,然后检查结果。

Check the format of the name of your .cmp file. Try to rerun the import command and then check the results.

Import-SPWeb cmdlet将在与导出包相同的位置生成导出日志文件。请检查导入日志以查看失败的原因。

The Import-SPWeb cmdlet will generate an export log file in the same location as the export package. Please check the import log to see what is failing.

此外,请检查站点组名称中是否存在任何无效字符。如果组名中有一些无效字符,请重命名组。然后尝试再次导入Web。

In addition, check if there are any invalid characters in the site group names. If there are some invalid characters in the group names, rename the groups. And then try importing the web again.

有关SharePoint中站点组名称中无法使用的字符的信息:

Information about the characters that you cannot use in site group names in SharePoint:

https://support.office.com/en-us/article/Invalid-file-names-and-file-types-in-OneDrive-OneDrive-for-Business-and-SharePoint-64883a5d-228e-48f5 -b3d2-eb39e07630fa

此外,请检查导出包的大小。默认的驾驶室大小约为25Mb。这曾经是一个限制,您必须通过设置参数来增加stsadm。使用PowerShell Export-SPWeb cmdlet,如果您达到
的限制,它会生成多个文件。您可能需要使用CompressionSize参数更改此限制以设置cab大小(最大为1024Mb)。

In addition, check the size of your export package. There is a default cab size of about 25Mb. This used to be a limit you had to increase with stsadm by setting a parameter. With the PowerShell Export-SPWeb cmdlet it generates multiple files if you hit the limit. You may need to change this limit using the CompressionSize parameter to set the cab size (up to a maximum of 1024Mb).

示例:

Export-SPWeb http://mysite -Path c:\backup\ExportFile -CompressionSize 1000

祝你好运,

Allen Bai

Allen Bai


这篇关于导入.cmp文件时,xml文档(2 183)中存在错误。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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