יום שישי 06 יולי 2012 22:08
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 יום שישי 06 יולי 2012 22:16
שבת 07 יולי 2012 05:25
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.
שבת 07 יולי 2012 07:06
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
יום רביעי 11 יולי 2012 09:48
יום ראשון 29 יולי 2012 00:59
I have this same issue with respect to a web service, not web site.
I have created a bug report on MS Connect here:
Please up vote to ensure it gets visibility. Thanks.
I can confirm that indeed this has been fixed.