SharePoint 2013 内容部署报错

错误信息 一

Export ran out of memory while compressing a very large file. To successfully export, turn compression off by specifying the -nofilecompression parameter.

Content deployment job 'GDeploy' failed.The exception thrown was 'Microsoft.SharePoint.SPException' : 'Export ran out of memory while compressing a very large file. To successfully export, turn compression off by specifying the -nofilecompression parameter.'

错误截图

   

解决方法

设置SPContentDeploymentPath的CompressionEnabled属性为false,让部署过程不再压缩。

命令

Get-SPContentDeploymentPath "Path 1" | Set-SPContentDeploymentPath -CompressionEnabled:$false

参考链接

https://technet.microsoft.com/en-us/library/ff608100.aspx

其他参考

http://blogs.technet.com/b/stefan_gossner/archive/2008/05/28/pimp-my-content-deployment-job.aspx

 

错误信息 二

The changeToken refers to a time before the start of the current change log.

Content deployment job 'job-name' failed.The exception thrown was 'Microsoft.SharePoint.SPException' : 'The changeToken refers to a time before the start of the current change log.'

错误截图

解决方法

https://technet.microsoft.com/en-us/library/dd795107(v=office.12).aspx

命令

Get-SPContentDeploymentJob "job name" | Set-SPContentDeploymentJob -IncrementalEnabled:$false

将内容部署设置为完全部署,执行一次即可;其间还碰到有个别文档或者文档库部署冲突,删掉即可。

posted @   霖雨  阅读(861)  评论(0编辑  收藏  举报
编辑推荐:
· 开发者必知的日志记录最佳实践
· SQL Server 2025 AI相关能力初探
· Linux系列:如何用 C#调用 C方法造成内存泄露
· AI与.NET技术实操系列(二):开始使用ML.NET
· 记一次.NET内存居高不下排查解决与启示
阅读排行:
· 阿里最新开源QwQ-32B,效果媲美deepseek-r1满血版,部署成本又又又降低了!
· 开源Multi-agent AI智能体框架aevatar.ai,欢迎大家贡献代码
· Manus重磅发布:全球首款通用AI代理技术深度解析与实战指南
· 被坑几百块钱后,我竟然真的恢复了删除的微信聊天记录!
· AI技术革命,工作效率10个最佳AI工具
点击右上角即可分享
微信分享提示