のサブスクリプションが登録されていません。Visual Studio 2015からazureにMVCアプリケーションをパブリックに公開しようとしています。私は、アプリケーションをホストするために複数の場所を使用しようとしましたAzure App ServicesにMVCアプリケーションをデプロイする際にエラーが発生しました - リソースタイプが
**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.**
:[Azureで、右クリックプロジェクト>公開>] 私は私の紺碧のアカウントに自分のWebアプリケーションを公開しようとするたびに、私は次のエラーを取得しますエラーは依然として続きます
Q:このコンポーネントはどのように登録されますか?以下は
を(私は作成時に自分のアプリケーションでアプリケーションの洞察を含めていない)エラー周りの詳細は次のとおりです。
OPERATION IDC16287A675C4B7D3
TRACKING IDb0355f45-867b-4328-95cd-6d627751c619
STATUSConflict
PROVISIONING STATEFailed
TIMESTAMP12/3/2016, 3:12:24 PM
DURATIONPT0.8505384S
TYPEmicrosoft.insights/components
RESOURCE ID/subscriptions/a955ba0f-a5f6-4ba4-b7d4-a0dae7b87215/resourceGroups/DemoBEEApp1Resources/providers/microsoft.insights/components/DemoBEEApp2
STATUSMESSAGE{
"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."
}
}
RESOURCEDemoBEEApp2
私はエリアがPowerShellコマンドを使用してサポート見つけるしようとすると:
((Get-AzureRmResourceProvider -ProviderNamespace microsoft.insights).ResourceTypes | Where-Object ResourceTypeName -eq sites).Locations
結果は空白に戻ります。
Q:何このmicrosoft.insightsで、なぜそれが自動的に要求されますが利用できませんか?
私は本当に誰かが私に
を展開使用してAzureのに公開することができます発生しました/social.msdn.microsoft.com/Forums/en-US/d71994f3-5b2e-4801-9b07-1eec36cffd38/deploying-mvc-app-to-azure-app-services-error-subscription-is-not-registered-for -the-resource-type?フォーラム= windowsazurewebsitespreview)。 1つの場所に保管するのが最善でしょう。 –