תשובה Azure Web Deploy Error 550

  • Tuesday, July 12, 2011 9:20 AM
     
     

    Hi

    I created an instance with RDP and Web Deploy enabled. My RDP is working fine but when I try to deploy my site using Web Deploy, its give me the error

     

    Web deployment task failed.(Could not connect to the destination computer using the specified process ("The Web Management Service") because the server did not respond. Make sure that the process ("The Web Management Service") is started on the destination computer.)

    Make sure the site that you are deploying to is a valid site on the destination server. If the issue is not resolved, please contact your server administrator.

    Error details:

    Could not connect to the destination computer ("***.cloudapp.net") using the specified process ("The Web Management Service") because the server did not respond. Make sure that the process ("The Web Management Service") is started on the destination computer.

    The remote server returned an error: (550).

    The url I use for Web Deploy is "https://***.cloudapp.net:8172/MsDeploy.axd". I checked my instance on the Azure Mgmt Console that the endpoint 8172 is available and that my Site/Application name is exactly the same as the name of my role. I also checked that the "Web Deployment Agent Service" and the "Web Management Service" are working (also restarted them) but still its not working. Even if I delete the role completely and publish cloudapp completely again, it doesnt work out.
    What is going wrong?
    Thanks
    Akshaya


    Akshaya K Sharma

All Replies

  • Wednesday, July 13, 2011 7:51 AM
    Moderator
     
     

    Hi Akshaya,

    The server returns 550 error means the web deploy url can be reached. I'd suggest you double check the Site/application name as I can reproduce the same issue by inputing an invalid value:

    Web deployment task failed.(Remote agent (URL https://b7fa49516649497a9c735daf1d587315.cloudapp.net:8172/MsDeploy.axd?site=WebApplication2_IN_0_Web2) could not be contacted.  Make sure the remote agent service is installed and started on the target computer.)
    Make sure the site that you are deploying to is a valid site on the destination server. If the issue is not resolved, please contact your server administrator.
    Error details:
    Remote agent (URL https://b7fa49516649497a9c735daf1d587315.cloudapp.net:8172/MsDeploy.axd?site=WebApplication2_IN_0_Web2) could not be contacted.  Make sure the remote agent service is installed and started on the target computer.
    An unsupported response was received. The response header 'MSDeploy.Response' was '' but 'v1' was expected.
    The remote server returned an error: (550).

    When publishing the Azure service project, the Site/application value will be inputted automatically. We don't need to manually input the value. For instance (WebApplication2 is the web role name, Web is the site name):

    WebApplication2_IN_0_Web

    Thanks.


    Wenchao Zeng
    Please mark the replies as answers if they help or unmark if not.
    If you have any feedback about my replies, please contact msdnmg@microsoft.com.
    Microsoft One Code Framework
  • Thursday, July 14, 2011 11:05 AM
     
     

    Hi

    In my case the application name didnt come automatically. So, I had to put it my self, FYI the names I used are as follows:

    1. Solution Name: TestCloudApp

    2. Cloud Project Name: Test.Cloud

    3. Asp project name: Test.Web

    4. Role Name (same Asp project name): Test.Web

     

    Previously I was trying "Test.Web_IN_0" which didnt work then I tried as you said "Test.Web_IN_0_Test.Web" but it still didnt work, what can be wrong?

     

    Thanks a lot for your help!


    Akshaya K Sharma
  • Friday, July 15, 2011 2:13 AM
    Moderator
     
     Answered

    Hi Akshaya,

    Thanks for your response. Please have a try on:

    Test.Web_IN_0_Web (Test.Web is the role name. Web is the site name. Both Test.Web, Web can be found in ServiceDefinition.csdef file)

    Also you may want to open a remote desktop to a service instance and open up IIS manager to check the actual site name in IIS.

    Thanks.


    Wenchao Zeng
    Please mark the replies as answers if they help or unmark if not.
    If you have any feedback about my replies, please contact msdnmg@microsoft.com.
    Microsoft One Code Framework
  • Tuesday, July 19, 2011 7:27 AM
    Moderator
     
     

    Hi,

    I will mark the reply as answer. If you find it no help, please feel free to unmark it and follow up.

    Thanks.


    Wenchao Zeng
    Please mark the replies as answers if they help or unmark if not.
    If you have any feedback about my replies, please contact msdnmg@microsoft.com.
    Microsoft One Code Framework
  • Wednesday, July 20, 2011 10:39 AM
     
     
    Yep, that worked out, thanks a lot! :)
    Akshaya K Sharma