MsDeploy同步已完成XX次传递 [英] MsDeploy synchronization completed in XX pass(es)

查看:87
本文介绍了MsDeploy同步已完成XX次传递的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在清单中执行提供者列表的顺序是什么? 我看到有时我们的构建需要5次传递才能同步,而有时我们会收到由于达到同步限制而无法完成同步的错误. 是否有关于每个同步阶段如何执行以及如何执行的文档,并且有影响它的方法.

What is the sequence of executing the providers list within a Manifest. I have seen at times our builds take 5 passes to sync, while some times we get errors that the sync did not complete due to sync limit reached. Is there a documentation around how and what gets executed within each sync phase and is there a way to influence it.

谢谢, 雅丁

推荐答案

提供程序按照它们在清单中出现的顺序执行.

The providers are executed in the order in which they appear in the manifest.

当我们遇到内部网络/防火墙问题时,我们已经看到了此错误.网络操作解决此问题后,所有问题均清除.

We've seen this error when we had internal network/firewall issues. All cleared after network operations fixed the problem.

编辑

您还应该检查目标服务器上的所有文件均未标记为只读.这可能会导致同步失败并重试多次.您可以尝试删除所有目标文件并重新部署它们.

You should also check that none of the files on the target server are marked readonly. This can cause the sync to fail and retry multiple times. You can try deleting all the target files and deploying them fresh.

第三方工具也可能导致这种情况发生.同步后,Dropbox,OneDrive或病毒扫描程序可能正在编辑文件,然后WebDeploy必须再次重新同步.

Third party tools can also cause this to happen. Dropbox, OneDrive or a virus scanner may be editing files after they are synched then WebDeploy has to resync again.

摘要

在每次通过之间,正在更改网站文件或将文件添加到文件夹中.根据您的其他问题,您似乎是在将DacPacs添加到导致此问题的网站文件夹中.

Something is changing the website files or adding files to the folder between each pass. Based on your other question it looks like you are adding DacPacs to the website folder which is causing this.

MsDeploy Sync无法正常工作

这篇关于MsDeploy同步已完成XX次传递的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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