title: Getting site under construction message after azure webapp deployment
body: <p>I had a network failure while publishing (using visual studio webdeploy ) my webapp to azure. Later i tried again, Then i got the below error message.</p>
  
  <blockquote>
    <blockquote>
      <p>Error   5   Web deployment task failed. (Web Deploy cannot modify the file 'NewRelic.Agent.Core.dll' on the destination because it is locked
      by an external process.  In order to allow the publish operation to
      succeed, you may need to either restart your application to release
      the lock, or use the AppOffline rule handler for .Net applications on
      your next publish attempt.   Learn more at:
      <a href="http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_FILE_IN_USE" rel="noreferrer">http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_FILE_IN_USE</a>.)     0   0   ABCD.ABCD.ABCD.ABCD</p>
    </blockquote>
  </blockquote>
  
  <p>So i restarted my webapp several times, but same exception. then i tried with FTP. That was also a failure. After few minutes i tried again with visual studio web deploy, then publishing succeeded. But now i am getting a 503 error- site under construction. Any idea?</p>
  
  <p>Note: I tried app offline also. No hope </p>