Quantcast
Channel: Web Deployment Tool (MS Deploy)
Viewing all articles
Browse latest Browse all 663

ERROR_FILE_IN_USE even with -enableRule:AppOffline

$
0
0

Started with update to net core 1.1.0

Main project dll (aka Projectname.dll) is permanently locked so publish fails to update it.

Executing command ["C:\Program Files (x86)\IIS\Microsoft Web Deploy V3\msdeploy.exe" -source:manifest='c:\temp\PublishTemp\obj\Dispatcher103\SourceManifest.xml' -dest:manifest='c:\temp\PublishTemp\obj\Dispatcher103\DestinationManifest.xml',ComputerName='https://SOMEADDRESS:8172/msdeploy.axd?site=SOMESITE',UserName='SOMEHOST\Administrator',Password='{PASSWORD-REMOVED-FROM-LOG}',IncludeAcls='False',AuthType='Basic' -verb:sync -enablerule:AppOffline -enableRule:DoNotDeleteRule -retryAttempts:20 -allowUntrusted]

Severity    Code    Description    Project    File    Line    Suppression State
Error        Error Code: ERROR_FILE_IN_USE    Dispatcher        0    
Error        Error count: 1.    Dispatcher        0    
Error        More Information: Web Deploy cannot modify the file 'Dispatcher.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: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_FILE_IN_USE.    Dispatcher        0    


Viewing all articles
Browse latest Browse all 663

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>