msdeploy


MsDeploy.exe ERROR_FILE_IN_USE Error - Octopus Deploy


I am trying to create nuget packages on every builds with Nugetter in VS 2013 and TFS 2013.
Everything is fine. I am creating the packages and putting to a fixed location.
and getting these packeges with Octopus.
On Octopus I have environments and projects. And I can create Releases.
But when I wanted to deploy releases to an environment I am getting the below error.
I am stuck! What can I do for this? Any help?
Error Code: ERROR_FILE_IN_USE
Error 17:58:30
More Information: The file 'Website.zip' is in use. Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_FILE_IN_USE.
Error 17:58:30
Error: The process cannot access '[SomePath]\WebSites\test.octopus.com\Debug\Website.zip' because it is being used by another process.
Error 17:58:30
at Microsoft.Web.Deployment.NativeMethods.RaiseIOExceptionFromErrorCode(Win32ErrorCode errorCode, String maybeFullPath)
Error 17:58:30
at Microsoft.Web.Deployment.FilePathProviderBase.Delete(Boolean whatIf)
Error 17:58:30
Error count: 1.
When I've seen this error in the past it could be one of several things:
First, make sure the file isn't getting marked as read-only.
Next, from time-to-time I have to stop the IIS application pools before copying files to the destination. Then restart when the copy is finished.
Finally, Could some virus scanner be locking the file while you're trying to access it?

Related Links

MsDeploy 3.5 automatic backup creates zip files lacking the Contents directory
msdeploy how to grant read/write permission for IIS_IUSRS to c:\windows\temp folder
MSDeploy skip root web.config
How can I skip deleting a folder but still sync the folder contents for an Web Deploy (msdeploy) sync?
How do I target an already existing application pool with webdeploy?
msdeploy and AppPool running under domain user
WebDeploy from TeamBuild fails with http 504
Webdeploy skip rule includes .css files as well as .cs
Using MSDeploy parameters to set the “additional provider settings” in a Web Deploy package
How can I use the “wmsvc=[server]” syntax with the dirPath provider?
how to deploy portion of my site only
How to specify IIS Web Application Name in Parameters.xml used with MSDeploy
How can I include the PDB files into a Package ZIP file using Visual Studio 2012 and MSdeploy
Undoing RunCommand Privilege changes for WMSvc
MSDeploy API - Allow Untrusted Certificate
MSDeploy API - Deleting a remote file through code

Categories

HOME
jboss
list
weblogic12c
functional-programming
barcode-scanner
haproxy
subdomain
message-queue
filesize
consul
jersey-2.0
gentelella
hyperledger
bittorrent
share
phpmqtt
graphql-js
pyresttest
tfs2010
eddystone
hystrix
bootstrap-switch
fullcalendar-scheduler
grocery-crud
android-5.1.1-lollipop
word2vec
cloudsim
parceler
home
raml
router
data-collection
high-availability
unrar
beego
fstar
running-object-table
adapter
sparkle
vcenter
listjs
subclassing
android-alarms
android-n
opal-framework
word-cloud
minikube
google-prediction
jqgrid-asp.net
latexml
julius-speech
daz3d
flume-twitter
wysihtml5
karabiner
sigsegv
test-data
emf-compare
prefetch
gawk
scheduledexecutorservice
right-to-left
qpixmap
exists
jeditable
jemdoc
vimperator
gdl
python-cffi
extend
featuretoggle
apple
360-degrees
angular-amd
scala-macros
encryption-symmetric
dmake
pre
nosql-aggregation
mod-perl
strcmp
hyphen
stty
xs
red-system
clrprofiler
cakeyframeanimation
pcspim
series-40
fitch-proofs
dropshadow
wiktionary
kolite
mvcrecaptcha
channelfactory
git-log
eaccelerator
odac
3270
stretchblt
objectinstantiation
rootkit
webclient.uploaddata

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App