We are trying to set up automated deploys through TFS 2012 via MSBuild and MSDeploy but we are recieving a timeout when our production server attempts to deploy to the development server. All relevant ports have been opened, the deployment tools and services have been installed and started, the only evidence of an error we have to go on is a log file which came from the development server's IIS web management log folder, it is displaying a 404 when a deploy is attempted.
MSBuild arguments:
/p:DeployOnBuild=True
/p:UserName=*****
/p:Password=*****
/p:AllowUntrustedCertificate=True
/p:DeployTarget=MsDeployPublish
/p:CreatePackageOnPublish=True
/p:MSDeployPublishMethod=WMSVC
/p:MSDeployServiceUrl=http://*******:8172/msdeploy.axd
/p:DeployIISAppPath="DeployTest"
Visual Studio build error:
C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\Web\Microsoft.Web.Publishing.targets (4377): Web deployment task failed. (Could not complete the request to remote agent URL 'http://****:8172/msdeploy.axd?site=Default Web Site'.)
Could not complete the request to remote agent URL 'http://****:8172/msdeploy.axd?site=Default Web Site'.
The operation has timed out