繁体   English   中英

部署到新的Azure资源组和网站失败

[英]Deployment to new Azure Resource Group and Web Site failing

我在Visual Studio 2015 Update 3中创建了一个新的ASP.NET MVC Web应用程序。在创建过程中,我选中了要将应用程序作为Web应用程序托管在Azure上的复选框。 在配置Azure Web App设置时,我创建了一个新的资源组,一个新的App Service计划和一个新的资源组。

当它尝试创建并部署项目时,出现以下错误:

{
  "error": {
    "code": "MissingRegistrationForLocation",
    "message": "The subscription is not registered for the resource type 'components' in the location 'Central US'. Please re-register for this provider in order to have access to this location."
  }
}

资源组和Web应用程序已在我的Azure门户中成功创建。

当我在VS中右键单击项目并选择“发布”,然后选择Azure Web Apps目标时,将出现一个窗口,显示我的Microsoft帐户并显示我的Azure订阅,但不显示任何现有的Web应用程序。

我需要做什么? 我已经搜索了几个小时,但无法弄清楚。

似乎是一个已知问题,更多信息请参考MSDN线程 请尝试更新到最新版本的Azure SDK来解决此问题。 以下是该线程的摘要。

对于某些旧版本的Azure App Service工具,这是一个已知问题

我们可以使用Microsoft Web Platform Installer工具轻松获得Azure SDK。

在此处输入图片说明

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM