Can't get vs2010 msdeploy (web/publish) to work to an azure instance RRS feed

  • Question

  • So, some may call this greedy, but .. I'm in for it all.  Trying to make Azure into my first class development environment.

    I created an instance with my web site, successfully remoted into it, now I'm trying to get msdeploy to work. Here is what I've done:

    1.  Opened port 8172 on the firewall when I remoted in to the instance (not sure if this is enough)

    2.  set publish method:  Web Deploy

    3.  Service URL:  https://xxxx.cloudapp.net:8172/MsDeploy.axd

    4.  Site/application: Web_IN_0_Web    (from iis manager when remoted in)

    5.  Check "Mark as IIS application on destination

    6.  Checked "Allow untrusted certificate"

    7.  Put in my username and password I logged in with remote desktop

    8.  Pushed publish

    The error I get is:

    Error	1	Web deployment task failed.(Could not complete the request to remote agent URL 'https://xxxx.cloudapp.net:8172/MsDeploy.axd?site=Web_IN_0_Web'.)
    This error indicates that you cannot connect to the server. Make sure the service URL is correct, firewall and network settings on this computer and on the server computer are configured properly, and the appropriate services have been started on the server.
    Error details:
    Could not complete the request to remote agent URL 'https://xxxx.cloudapp.net:8172/MsDeploy.axd?site=Web_IN_0_Web'.
    Unable to connect to the remote server
    No connection could be made because the target machine actively refused it	C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\Web\Microsoft.Web.Publishing.targets	3588	5	Web


    Peter Kellner http://peterkellner.net Microsoft MVP • ASPInsider
    Monday, December 20, 2010 2:43 AM


All replies