Azure Web App Deployment error via msdeploy - ERROR_INSUFFICIENT_A CCESS_TO_SITE_FOLDER

后端 未结 5 1583
故里飘歌
故里飘歌 2021-02-18 16:23

I have been deploying to my Azure Web App for about 4 months now, using msdeploy, and everything has been smooth sailing to upload the website. Until recently, there has been n

5条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-02-18 16:51

    I got the error (Unable to perform the operation ("Delete Directory") for the specified directory ("2_0_50727") on a deployment that had been working fine and suddenly broke.

    If you're not paying attention '2_0_50727' looks like just a random number.

    It turns out it was the folder aspnet_client\system_web\2_0_50727 which didn't even contain any files.

    Based on the timestamp of this folder - and the fact that it was in ALL my web applications with this timestamp - it must have been created by Add / Remove Features when I made some changes to my IIS installed features. So whatever permissions that runs at is what this folder was created as.

    As soon as I deleted it I was able to deploy again.

提交回复
热议问题