amazon ec2 - Not able to web deploy to ec2 instance -


i trying web deploy ec2 instance using msbuild

c:\windows\microsoft.net\framework\v4.0.30319\msbuild.exe  /p:configuration=release;msdeployserviceurl=ec2-instance 

name.compute.amazonaws.com:8172/msdeploy.axd;msdeploypublishmethod=remoteagent;username="adminuser";password="password";deployiisapppath=sitename;createpackageonpublish=true;deployonbuild=true;deploytarget=webpublish "my.web.csproj"

i a

c:\program files (x86)\msbuild\microsoft\visualstudio\v10.0\web\microsoft.web .publishing.targets(3847,5): error : web deployment task failed.(could not comp lete request remote agent url ':8172/msdeploy.axd/msdeployagentservice'.)  error indicates cannot connect  server. make sure service url correct, firewall , network sett ings on computer , on server computer configured properly, , t appropriate services have been started on server. c:\program files (x86)\msbuild\microsoft\visualstudio\v10.0\web\microsoft.web.p ublishing.targets(3847,5): error : error details:\r  c:\program files (x86)\msbuild\microsoft\visualstudio\v10.0\web\microsoft.web.p ublishing.targets(3847,5): error : not complete request remote age nt url ':8172/msdeploy.a xd/msdeployagentservice'. 

i have 1.open ports in security group 8172

2.reinstalled web deploy 3 in target

3.made admin user , using that

help appreciated.

the url using incorrect. since publishing on web using web management service , hence url should in either 1 of following formats:

publishing admin:

https://myserver.com:8172/msdeploy.axd 

if publishing owner of 1 site on server , have permissions own site then:

https://myserver.com:8172/msdeploy.axd?site=<sitename> 

Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -