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.
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