msdeploy


msdeploy and runCommand results in vague “Access is denied” error


I have a preexisting deployment process which successfully deploys a site to its staging environment. Attempting the same process against a new production environment is failing at the point where we try to invoke msdeploy's "runCommand" option.
We're using pstrami, which ultimately uses msdeploy twice. msdeploy successfully copies files to the target machine. pstrami then tries to use msdeploy a second time, this time to use "runCommand" on a bat file that should actually install everything under IIS.
The first use of msdeploy works, copying the files. Therefore, the credentials we're working with are correct.
The second use of msdeploy outputs the following:
Info: Updating runCommand (bootstrap.bat).
Warning: Access is denied.
It appears that bootstrap.bat is not actually reached. It is unclear who is being denied access to what. I suspect that the user is not allowed to perform "runCommand", but advice about runCommand online is inconsistent and has not revealed anything different between my staging and production machines.
What should it take for msdeploy 'runCommand' to be granted access?
MSDeploy supports configuring permissions on a per-provider basis, so your hosting provider may have disabled it. It might be worth checking with them.

Related Links

msdeploy and skip directories not named x
Using MS Deploy to deploy only the databases
How do I copy a file from a deployed web site to a local directory using MS Web Deploy (msdeploy.exe)?
MsDeploy runCommand provider - Unauthorized error
TFS deploy error destination not reachable
Is the entire package uploaded to MsDeploy.axd?
How to deploy package (zip) into specific site under IIS using msdeploy
(MSDeploy) Deploying Contents of a Folder to a Remote IIS Server
Web Deploy (MSDeploy) API “postSync:runCommand”
One-click publish in vs 2012: how to remove _ConnectionStringsToInsert?
any way to pass -Usechecksum to msdeploy using msbuild
How to automatically add recycleApp provider in the *.deploy.cmd file generated by Visual Studio
msdeploy Visual Studio 2010 Database Project (dbproj)
MS Deploy - deploy a folder to a website
Create Web App with Specific Location
Deployment issue of an web application using MSDeploy command

Categories

HOME
visual-studio
key
mousemove
compilation
embedded-resource
whmcs
gallery
yahoo
azure-graph-api
game-maker
async-await
fosuserbundle
cocos2d-android
codefluent
scheduled-tasks
psql
pe
data-type-conversion
pst
coreldraw
rxjs5
sipp
software-packaging
morris.js
list-comprehension
hevc
onchange
math.js
google-play-developer-api
winsock
infopath2010
shapeless
listjs
transform
numerics
spinner
fastlane
assemblies
game-center
fiware-wirecloud
haar-classifier
elasticsearch-aggregation
notesview
julius-speech
zend-form
windows-media-player
sonicmq
cordova-ios
amazon-elastic-beanstalk
punctuation
mechanicalturk
perl-data-structures
mifos
carmen
system.net.mail
callouts
nsdata
groovyfx
uibinder
frame-grab
django-redis
cryptojs
ora-04091
cfwheels
calcite
ngcordova
embeddedwebserver
shoes
kognitio-wx2
nhibernate-criteria
cakephp-2.2
dc
iplimage
tabris
relationships
quantify
oracle-adf-mobile
nidaqmx
coding-efficiency
rpg
csslint
tabletools
cpu-time
assetic
frontbase
notifyjs
quickgraph
node.js-stream
apportable
bcdedit
unicoins
spiral
cyrillic
smartfox
user-forums
getproperty
arrow
word-frequency
pageheap
kolite
n-queens
glx
dynamic-c
fragment-identifier
hungarian-notation
bass
mygeneration
oracle-pro-c
spring-modules
data-retrieval
rtti
accumulator
error-detection

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