Hi,
I'm reasonably new to msdeploy and I don't seem to be able to get past a hurdle... :(
The story so far...
I have a test site I want to be able to deploy remotely,
I have the testsite running on both my box and a remote box.
I have tested using MS Deploy to deploy to the localhost both on my box and the remote box with:
msdeploy.exe -verb:sync - source:package=c:\testsite.zip -dest:auto
This works fine.
I am now trying to deploy remotely.
I initially tried with:
msdeploy.exe -verb:sync -source:package=c:\testsite.zip -dest:auto,computerName=192.168.1.120,Username=Administrator,Password=Password,AuthType=Basic
This resulted in ERROR_USER_NOT_ADMIN
I read that I shouldnt be addressing the computername like that so I changed it to:
msdeploy.exe -verb:sync -source:package=c:\testsite.zip -dest:auto,computerName=https://192.168.1.120:8192/msdeploy.axd,Username=Administrator,Password=Password,AuthType=Basic
This now results in ERROR_DESTINATION_NOT_REACHABLE with the note that the target machine actively refused the connection.
And finally I found I should be using -allowUntrusted
msdeploy.exe -verb:sync -source:package=c:\testsite.zip -dest:auto,computerName=https://192.168.1.120:8192/msdeploy.axd,authType=Basic,username=Administrator,password=Password, -allowUnstrusted
But Still same result - machine actively refusing the connection.
The remote box is Server 2012 with IIS8, my box is Win 7 with IIS 7.5
I found that the remote box did not have Microsoft Web Deploy V3 in C:\Program Files\IIS (Only had up to V2) so I installed that...
Ive added the port 8172 to the firewall and then proceeded to turn it off instead.
What have I missed?
Your help is most appreciated!
Thanks!