小编Kei*_*ith的帖子

将MVC应用程序部署到Azure App Services错误 - 未为资源类型注册预订

我试图直接从Visual Studio 2015公开MVC应用程序.[右键单击项目>发布>到Azure] 每次我尝试将我的Web应用程序发布到我的azure帐户时,我都会收到以下错误:

**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.**
Run Code Online (Sandbox Code Playgroud)

我曾尝试使用多个位置来托管应用程序,但错误仍在继续

问:如何注册此组件?(我没有在创建的应用程序中包含应用程序见解)

以下是有关错误的更多详细信息:

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 …
Run Code Online (Sandbox Code Playgroud)

c# asp.net-mvc azure azure-web-sites

7
推荐指数
1
解决办法
3790
查看次数

标签 统计

asp.net-mvc ×1

azure ×1

azure-web-sites ×1

c# ×1