在Azure App Service部署任务期间锁定了web.config文件 [英] web.config file locked during Azure App Service Deploy task

查看:60
本文介绍了在Azure App Service部署任务期间锁定了web.config文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们在VSTS中配置了自动发布管道以发布到Azure.运行Azure App Service Deploy(v3)任务时,将导致错误(自今天早上起:2017-09-11).

We configured a automatic release pipeline in VSTS to publish to azure. When running the Azure App Service Deploy (v3) task it results in an error (since this morning: 2017-09-11).

我们尝试检查选项:

  • 使应用脱机
  • 重命名锁定的文件(与天蓝色插槽中的appsetting中的MSDEPLOY_RENAME_FILES_FLAG相同= 1)

我们还检查/设置了以下选项:

We also checked/set the following options:

  • 使用Web Deploy发布
  • 设置setparameters.xml的正确路径(未更改且未检查)
  • 删除目标位置的其他文件
  • 从App_Data文件夹中排除文件

我们还使用Stackify来监视页面.自上一个工作版本(或实际的多个版本)以来,这也没有改变.没有安装其他扩展.

We also use Stackify for monitoring the page. This also did not change since the last working release (or actual multiple releases). No other extensions are installed.

锁定的文件是web.config文件,但是Azure应用程序服务(假设IIS)或Stackify都不应该锁定此文件.

The file locked is the web.config file, but this should not be locked by either Azure app services (asume IIS) or Stackify.

我们最初运行的是App Service部署任务的第2版,并由于此错误而进行了更新.

We were originally running v2 of the App Service deploy task, and updated due to this error.

请告知如何继续解决此错误.

Please advise how to continue resolving this error.

推荐答案

重启后不再发生.可能是小故障.

Didn't happen again after restart. Probably a glitch.

这篇关于在Azure App Service部署任务期间锁定了web.config文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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