Quantcast
Channel: All Forums
Viewing all articles
Browse latest Browse all 27852

Web Deployment Task Fails with a timeout

$
0
0

I am trying to set up auto deployment of a website in the build process. I can publish via Visualstudio 2012, but when I try to have TFS build auto deploy I get a timeout error.

Here is my command to the TFS build process:

/p:DeployOnBuild=True /p:DeployTarget=MsDeployPublish /p:CreatePackageOnPublish=True /p:MSDeployPublishMethod=WMSVC /p:MSDeployServiceUrl=http://<MyServer> /p:DeployIisAppPath="InitiationTool" /p:UserName=BGRSDEV\admin /p:Password=<mypassword>

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://<MyServer>:8172/msdeploy.axd?site=InitiationTool'.)

Could not complete the request to remote agent URL 'http://<MyServer>:8172/msdeploy.axd?site=InitiationTool'. The operation has timed out

I have tried running the msdeploy.exe dump command and get the same behavior. this works:

msdeploy.exe -verb:dump -source:iisapp="InitiationTool",computername=http://<MyServer>/MSDEPLOYAGENTSERVICE,username=BGRSDEV\admin,password=<mypassword>

this timesout:

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

Noel

 

 

 


Viewing all articles
Browse latest Browse all 27852

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>