I am trying to set up automatic deployment of a website during the build process. I can publish through Visual Studio 2012, but when I try to create an automatic TFS deployment, I get a timeout error.
Here is my command for the TFS build process:
/p:DeployOnBuild=True /p:DeployTarget=MsDeployPublish /p:CreatePackageOnPublish=True /p:MSDeployPublishMethod=WMSVC /p:MSDeployServiceUrl=http:
Here is the error message:
C: \ Program Files (x86) \ MSBuild \ Microsoft \ VisualStudio \ v11.0 \ Web \ Microsoft.Web.Publishing.targets (4193): Web deployment task failed. (Could not complete the request to remote agent URL 'http: //: 8172 / msdeploy.axd? Site = InitiationTool'.)
Could not complete the request to remote agent URL 'http: //: 8172 / msdeploy.axd? Site = InitiationTool'. The operation has timed out
I tried running the ddump msdeploy.exe command and getting the same behavior.
It works:
msdeploy.exe -verb:dump -source:iisapp="InitiationTool",computername=http://<MyServer>/MSDEPLOYAGENTSERVICE,username=BGRSDEV\admin,password=<mypassword>
This time:
msdeploy.exe -verb:dump -source:iisapp="InitiationTool",computername="http://<MyServer>:8172/msdeploy.axd?site=InitiationTool",username=BGRSDEV\admin,password=<mypassword>,authType=basic -allowUntrusted
Any ideas?
thanks
source share