TFS preview, continuous deployment and upgrade - InvalidXmlRequest

Proposed TFS preview, continuous deployment and upgrade - InvalidXmlRequest

  • Friday, July 06, 2012 10:08 PM
     
      Has Code

    Hi

    I'm trying to use continuous integration in tfspreview, but getting an error for the xml in the request.

     An attempted http request against URI https://management.core.windows.net:8443/..../services/hostedservices/..../deploymentslots/..../?comp=upgrade returned an error: (400) Bad Request.
    Additional Exception Information:
    Error Code: InvalidXmlRequest
    Message: The request body's XML was invalid or not correctly specified.
     The Upgrade Deployment operation threw an unexpected exception.
     Upgrade Failed for the .... Slot of the .... Hosted Service. The existing deployment will be deleted and the new deployment will be deployed.
     

    Where can I find the xml request, and has anyone managed to perform an automatic build and upgrade from TFS preview?


    Knut Meltzer


All Replies

  • Saturday, July 07, 2012 5:25 AM
     
     

    Hi,

    the Windows Azure Training Kit - http://www.windowsazure.com/en-us/develop/net/other-resources/training-kit/ - contains a sample called 'Publishing ASP.NET Applications with Windows Azure Web Sites and Team Foundation Service' and it works great if you follow the instructions. I also found it easy to just follow the instructions in the portal after clicking 'Set up TFS publishing' on the service dashboard (under 'quick glance').


    Best Regards. When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer. This helps us build a healthy and positive community.

  • Saturday, July 07, 2012 7:06 AM
     
     

    Hi,

    My tfs-build publishing a new deploy without any problems. It's only when I have the "allow Upgrade" set to true I'm getting this message. A full deploy works, but upgrade failes


    Knut Meltzer

  • Wednesday, July 11, 2012 9:48 AM
     
     

    I am seeing the exact same behavior, new deployment works great, updates fail.

    I am working with a cloud service by the way, not an Azure Website.


    http://jcapka.blogspot.com
    My company XComplica is hiring!

  • Sunday, July 29, 2012 12:59 AM
     
     Proposed

    I have this same issue with respect to a web service, not web site.

    I have created a bug report on MS Connect here:

    https://connect.microsoft.com/VisualStudio/feedback/details/755934/tfs-preview-cannot-perform-upgrade-to-azure-web-service-role

    Please up vote to ensure it gets visibility.  Thanks.


    **UPDATE**
    I can confirm that indeed this has been fixed.

    • Proposed As Answer by Veerendra Kumar Monday, July 30, 2012 6:24 AM
    • Edited by Sami Rageb Thursday, August 09, 2012 8:56 PM status update to issue
    •