我对简单的服务升级有疑问。我的服务有一个轮胎,它有一个 Web 应用程序。
当我尝试升级服务时,出现以下错误。
`Application (C:\ProgramData\VirtualMachineManagerData\CacheResources\779b4f72f2a647e2b6dc119f20e0da25\BusinessCenter_Package_v0.0.0.57.zip, WebDeploy) removal failed on the virtual machine (HBC_STAG_VM_01). DetailedErrorMessage: An error was encountered when processing operation 'Delete Directory' on 'C:\inetpub\wwwroot\Content'.`
然后我添加了一个 web 部署配置文件 msdeploy.exe.configsettings ,其中包含以下内容来禁用两个 webdeploy 规则。
<configuration>
<rules>
<rule name="BlockHarmfulDeleteOperations" enabled="false" />
<rule name="BlockUnsupportedDeleteOperations" enabled="false" />
</rules>
</configuration>
现在我收到以下错误。
`Application (C:\ProgramData\VirtualMachineManagerData\CacheResources\a9483ef219134b75bf1422774b3efdcb\BusinessCenter_Package_v0.0.0.59.zip, WebDeploy) removal failed on the virtual machine (HBC_STAG_VM_01). DetailedErrorMessage: Provider setAcl is blocked, by BlockUnsupportedDeleteOperations, from performing delete operations to avoid unexpected results.`
我永远无法成功升级服务。任何帮助是极大的赞赏。
非常感谢任何帮助。
萨普马尔。