Site creation post after deploying azure webapp

During the publication (using visual studio webdeploy) of my Azure web application, a network failure occurred. Later I tried again, then I got the following error message.

  Error 5 Failed to complete the web deployment task. (Web Deploy cannot modify the file "NewRelic.Agent.Core.dll" at the destination because it is blocked by an external process. To enable the publish operation successfully, you may need to either restart the application to release the block or use the AppOffline rule handler for applications .Net for your next attempt to publish. Learn more at:    http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_FILE_IN_USE .) 0 0 Gamook.VideoServer.Web.Api

So I restarted my web application several times, but this is an exception. then I tried with FTP. This was also a failure. After a few minutes, I tried to deploy Visual Studio Web again, then the publication was successful. But now I get the site 503 error- under development. Any ideas?

Note: I tried the application offline. No hope

+17
source share
1 answer

I solved my problem. The solution was to remove the standalone HTML from the root directory created due to the offline application rule that I added to publish the profile

. : <EnableMSDeployAppOffline>true</EnableMSDeployAppOffline> , . MSDeploy . , -

+36

Source: https://habr.com/ru/post/1611005/


All Articles