I'm trying to add the required AppFabric WarmStart pieces by running the following command with msdeploy:
"C:\Program Files\IIS\Microsoft Web Deploy V3\msdeploy" -verb:sync -source:runcommand="C:\Windows\System32\inetsrv\appcmd set app "Default/treqs/a9tp/Dashboard /preloadEnabled:true" -dest:auto
I'm running the above command locally, so the Web Deploy Service is not being invoked. Here's the error that I get:
Error: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
Adding the debug flag gives me a bit more detail about the method that is dying:
at Microsoft.Web.Deployment.ProcessInfoWrapper.Resume() at Microsoft.Web.Deployment.CommandLineProcessExecutor.Execute(ProcessKind kind) at Microsoft.Web.Deployment.RunCommandProvider.PerformOperation(DeploymentObject source, Boolean whatif)
I have verified that it's any command within the MSDeploy.exe runcommand, so there has to be a permission. I am running Windows Server 2008 R2.