0

an error occurred when the request was processed on the remote computer. could not find file 'd:\home\site\wwwroot\app_offline.htm'

getting this error while publishing code using visual studio.

MANSI
  • 31
  • 1
  • 2

1 Answers1

0
  • WEBSITE_RUN_FROM_PACKAGE lets you run a Web App by pointing it to a zip file containing your files.

  • Either delete WEBSITE_RUN_FROM_PACKAGE OR Set the value to 0.

  • After setting WEBSITE_RUN_FROM_PACKAGE ,delete the publish profile from Visual Studio and add it again (then publish again).

  • Go to Azure Portal => You Web App =>Configurations -> Application settings, change the value of 'WEBSITE_RUN_FROM_PACKAGE' from '1' to '0' or delete it.

Change from WebDeploy (which is default) to ZipDeploy in "Azure App Service Deploy" step.

enter image description here

Harshitha Veeramalla
  • 1,515
  • 2
  • 10
  • 11