2016-12-06 76 views
0

我在Visual Studio中創建一個新的ASP.NET MVC Web應用程序2015年更新3.在創作,我檢查,我想主辦我的應用程序在Azure上作爲Web盒子應用。在配置Azure的Web應用程序設置,我創建了一個新的資源組,一個新的應用程序服務的計劃,以及新的資源組。部署到Azure的新資源組和Web站點失敗

當它試圖創建項目並部署它,我得到了以下錯誤:

{ 
    "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應用程序的目標,一個窗口彈出顯示我的Microsoft帳戶和顯示我的Azure訂閱,但它並沒有顯示任何現有的Web應用程序。

什麼我需要做什麼?我一直在尋找幾個小時,我無法弄清楚。

+0

您對此主題有任何更新嗎? –

+0

我更新了Visual Studio中的所有工具和部署工作順利 – michaelkoss

回答

1

這似乎是一個已知的問題,更多信息請參考MSDN thread。請嘗試更新到最新版本的Azure SDK以解決此問題。以下是剪斷的線程。

This is a known issue for some older versions of the Azure App Service tooling

我們可以Microsoft Web Platform Installer工具輕鬆搞定在Azure SDK。

enter image description here