I'm attempting to use Web Deploy 3.5 in a test environment. It fails with a 404, even though Web Deploy 3.5 is installed on the test server and the Web Management Service is started.
I have even tried it locally (on the test server) on the command-line with:
"c:\Program Files (x86)\IIS\Microsoft Web Deploy V3"\msdeploy -verb:sync -source:contentPath="E:\Downloads\Deployments\DefaultSite_All_MSDeploy.zip" -dest:contentPath='DefaultSite/mySiteName',ComputerName="https://localhost:8172/msdeploy.axd?site=PhaseI",UserName='americas\r.compton',Password='notmypassword',AuthType='Basic' -enableRule:doNotDeleteRule -allowUntrusted -verbose
The error returned on the command-line Verbose: Pre-authenticating to remote agent URL 'https://servername.com:8172/msdeploy.axd?site=mySiteName'as 'americas\r.compton'. Error Code: ERROR_DESTINATION_NOT_REACHABLE More Information: Could not connect to the remote computer ("servername.com"). On the remote computer, make sure that Web Deploy is installed and that the required process ("Web Management Service") is started. Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_DESTINATION_NOT_REACHABLE Error: The remote server returned an error: (404) Not Found.
The IIS LOGS:
#Software: Microsoft Internet Information Services 7.5
#Version: 1.0
#Date: 2013-12-12 18:18:41
#Fields: date time s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) sc-status sc-substatus sc-win32-status time-taken2013-12-12 18:18:41 138.57.160.65 POST /msdeploy.axd site=mySiteName 8172 - 145.30.91.141 - 404 7 0 145
#Software: Microsoft Internet Information Services 7.5 #Version: 1.0
#Date: 2013-12-12 21:08:23
#Fields: date time s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) sc-status sc-substatus sc-win32-status time-taken 2013-12-12 21:08:23 fe80::7157:1fcd:691b:93f%10 HEAD /msdeploy.axd site=PhaseI 8172 - fe80::7157:1fcd:691b:93f%10 - 404 7 0 0 2013-12-12 21:09:32 fe80::7157:1fcd:691b:93f%10 HEAD /msdeploy.axd site=PhaseI 8172 - fe80::7157:1fcd:691b:93f%10 - 404 7 0 0
My thought is that the httpHandler, msdeploy.axd is not installed or configured correctly. Should I expect to see it among the httpHandlers in C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config?