TFS preview, continuous deployment and upgrade - InvalidXmlRequest
-
יום שישי 06 יולי 2012 22:08
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
- נערך על-ידי Knut Meltzer יום שישי 06 יולי 2012 22:16
כל התגובות
-
שבת 07 יולי 2012 05:25
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.
-
שבת 07 יולי 2012 07:06
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
-
יום רביעי 11 יולי 2012 09:48
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! -
יום ראשון 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.
**UPDATE**
I can confirm that indeed this has been fixed.
- הוצע כתשובה על-ידי Veerendra Kumar יום שני 30 יולי 2012 06:24
- נערך על-ידי Sami Rageb יום חמישי 09 אוגוסט 2012 20:56 status update to issue