无法使用澳大利亚东部的VSO构建部署Web App,并且无法从Azure门户设置CD构建 [英] Unable to deploy Web App using VSO build in Australia East and error setting up CD build from Azure portal

查看:127
本文介绍了无法使用澳大利亚东部的VSO构建部署Web App,并且无法从Azure门户设置CD构建的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

来自Ducas Francis @ducas通过Twitter:

From Ducas Francis @ducas via Twitter:

您好。我正在尝试使用VSO的构建部署到澳大利亚东部地区的Web应用程序。该选项不在下拉列表中(见下图)。

Hello. I'm trying to use VSO's build to deploy to a web app in Australia East region. The option isn't in the drop-down (see picture below).

我还尝试从Azure门户设置CD版本,但收到错误 - "无法设置连续部署"。

I'm also trying to set up a CD build from the Azure portal, but getting an error - "Failed to set up continuous deployment".

https://twitter.com/ducas/status/653516349608583168

 

https://twitter.com/ducas/status/653516349608583168
 

谢谢,

@AzureSupport

Thanks,
@AzureSupport

推荐答案

只是为了添加更多上下文...

Just to add more context...

我正在尝试从visualstudio.com部署到Azure Web App。该项目正在使用TFVC。

I'm trying to deploy to an Azure Web App from visualstudio.com. The project is using TFVC.

一位同事使用Azure门户设置了一个XAML CD版本,但是当它运行时会发生以下错误(问题1) -

A colleague set up a XAML CD build using the Azure portal, but when it is run the following error occurs (problem 1) -

Exception Message: '<', hexadecimal value 0x3C, is an invalid attribute character. Line 10, position 42. (type XmlException)
Exception Stack Trace: at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.ParseAttributeValueSlow(Int32 curPos, Char quoteChar, NodeData attr)
at System.Xml.XmlTextReaderImpl.ParseAttributes()
at System.Xml.XmlTextReaderImpl.ParseElement()
at System.Xml.XmlTextReaderImpl.ParseElementContent()
at System.Xml.Linq.XContainer.ReadContentFrom(XmlReader r)
at System.Xml.Linq.XContainer.ReadContentFrom(XmlReader r, LoadOptions o)
at System.Xml.Linq.XDocument.Load(XmlReader reader, LoadOptions options)
at System.Xml.Linq.XDocument.Parse(String text, LoadOptions options)
at Microsoft.TeamFoundation.Deployment.Workflow.PubSettingsParser.Parse(String fileText)
at Microsoft.TeamFoundation.Deployment.Workflow.ConnectedServiceObjectCacheExtension.ParseCredentialProfile(ConnectedService service)
at Microsoft.TeamFoundation.Deployment.Workflow.HttpCredentialsExtension.CreateEntry(ConnectedService service)
at Microsoft.TeamFoundation.Deployment.Workflow.ConnectedServiceObjectCacheExtension.GetEntry(ConnectedService service)
at Microsoft.TeamFoundation.Deployment.Workflow.HttpCredentialsExtension.GetCredentials(ConnectedService service)
at Microsoft.TeamFoundation.Deployment.Workflow.Activities.AzureWebsiteApiBaseActivity`1.GetTask(AsyncCodeActivityContext context, CancellationToken token)
at Microsoft.TeamFoundation.Deployment.Workflow.Activities.RestApiAsyncCodeActivity`1.BeginExecute(AsyncCodeActivityContext context, AsyncCallback callback, Object state)
at System.Activities.AsyncCodeActivity`1.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager)
at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)

所以我尝试设置一个脚本化的TF Build和w对上面的截图感到惊讶 - 即澳大利亚东部不能作为Web App Location(问题2)的选择。我输入了它,以及我的应用程序名称,并且能够保存构建。

So I tried to set up a scripted TF Build and was surprised at the above screenshot - i.e. that Australia East was not available as a selection for Web App Location (problem 2). I typed it in anyway, along with my app name and was able to save the build.

然而,当我进入队列构建时,我会看到没有项目的标准对话框在队列下拉列表中(问题3)。所以...我无法对构建进行排队。

However, when I go to queue the build, I am presented with the standard dialog with no items in the Queue drop-down (problem 3). So... I can't queue the build.

我认为这可能是由于区域不匹配所致,所以我尝试创建一个全新的资源组和Web应用程序东南亚的免费等级并改变构建。我现在在Azure部署步骤中选择了东南亚地区,但我的
应用程序没有出现在Web App Name下拉列表中。在输入并保存之后我尝试对构建进行排队,但由于仍然没有队列存在,因此无法进行。

I thought this might be due to the region mis-match, so I tried to create an entirely new resource group and web app on a free tier in Southeast Asia and change the build. I now selected the Southeast Asia region in the  Azure Deployment step, but my application did not appear in the Web App Name drop-down. After typing it and saving I tried to queue the build, but was unable to as there were still no queues present.

最后,我尝试使用Azure门户(portal.azure.com )建立CD版本,但收到以下警告(问题4) -

Finally, I tried to use the Azure portal (portal.azure.com) to establish a CD build, but received the following alert (problem 4) -

标题:无法设置连续部署

说明: 无法使用Visual Studio Online为Web应用< app_name>设置持续部署。处理您的请求时出错。请稍后再试。

Description: Failed to set up continuous deployment for web app <app_name>, using Visual Studio Online. There was an error processing your request. Please try again in a few moments.

状态: 错误

时间 :2015年10月12日,星期一,下午9:51:58

Time: Monday, October 12, 2015, 9:51:58 PM

您能帮我诊断并解决这个问题吗?

Could you please help me to diagnose and resolve this issue?


这篇关于无法使用澳大利亚东部的VSO构建部署Web App,并且无法从Azure门户设置CD构建的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆