*******************************************************************************************************
Error Code: ERROR_FILE_IN_USE
More Information: Web Deploy cannot modify the file 'webapp-log.txt' on the dest
ination because it is locked by an external process. In order to allow the publ
ish operation to succeed, you may need to either restart your application to rel
ease the lock, or use the AppOffline rule handler for .Net applications on your
next publish attempt.
Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_FILE_IN_USE
.
Error: I/O error occurred.
Error count: 1.
*******************************************************************************************************
As the link in the error suggests solution is making the app offline while the deployment happens. Set the –enableRule:AppOffline in RM tool will allow the RM tool based deployments to azure to avoid above error.
No comments:
Post a Comment