MsDeploy synchronization completed in XX pass(es)

99封情书 提交于 2019-12-12 02:36:28

问题


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.

Thanks, Yatin


回答1:


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.

EDIT

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.

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.

SUMMARY

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 not working



来源:https://stackoverflow.com/questions/37657801/msdeploy-synchronization-completed-in-xx-passes

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!