簡體   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