I've found a lot of articles on web deploy and why it might fail, but not any with answers with this error message.
Web deployment task failed. (Could not complete the request to remote agent URL
https://myserver:8172/msdeploy.axd?site=mysite
.)Could not complete the request to remote agent URL
https://myserver:8172/msdeploy.axd?site=mysitename
. The request was aborted: The request was canceled. This method is not supported by this class.
I am trying to deploy an MVC4 website from Visual Studio 2013 Express to a Windows 2008 R2 Datacenter server with the Web Server role installed.
I followed this (and other installation guides) and can confirm the following:
Administrator
has permissionshttps://myserver:8172/msdeploy.axd
:80
and :443
(with same cert as deploy)So for some reason, it didn't want the Windows Administrator account doing a deploy.
IIS Manager User
Windows credentials or IIS manager credentials
Management Service