创建具有Web应用程序数据库时天青NoRegisteredProviderFound [英] Azure NoRegisteredProviderFound when creating database with web app

查看:278
本文介绍了创建具有Web应用程序数据库时天青NoRegisteredProviderFound的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

作为每个<一href=\"http://stackoverflow.com/questions/37676310/how-to-resolve-this-error-noregisteredproviderfound-when-deploying-to-an-azure\">this SO ,我更新VS更新2,但我仍然得到同样的错误。

As per this SO, I updated VS to update 2 but I still get the same error.

创建具有Azure的选项MVC +的WebAPI项目选中。选择北欧和Azure的细节填充。
选择创建数据库。

Creating a MVC + webapi project with Azure option selected. Select North Europe and populated with Azure details. Selected to create database.

天青创建的所有资源部分从数据库中。错误显示:

Azure creates all resources part from the database. error shown:

Creating Microsoft Azure Web App
Creation of Microsoft Azure Web App failed. Following errors occured during the deployment:
Error during deployment for resource 'xxxWebApiDb' in resource group 'xxxWebApiGroup': NoRegisteredProviderFound: No registered resource provider found for location 'North Europe' and API version '2.0' for type 'servers'. The supported api-versions are '2014-01-01, 2014-04-01, 2014-04-01-preview'. The supported locations are 'northeurope, eastus, westus, southcentralus, eastus2, centralus, northcentralus, eastasia, southeastasia, japanwest, japaneast, westeurope, brazilsouth, australiaeast, australiasoutheast, centralindia, westindia, southindia, canadacentral, canadaeast'..

没有错误,如果我选择不创建数据库。我可以创建SQL数据库的单独通过Azure的门户。

No errors if I choose not to create a database. I can create SQL DB's separately via Azure portal.

推荐答案

bmoore-MSFT 中指出,评论,更新的Azure SDK解决这个问题。

As bmoore-msft pointed out in the comments, updating the Azure SDK fixes this issue.


  • 转到工具菜单

  • 转到扩展和更新

  • 找到在的Azure SDK 并更新

  • Go to "Tools" menu
  • Go to "extensions and updates"
  • Find the Azure SDK and update it

还是去下面的链接 rel=\"nofollow\">,下载和放大器;安装。

Or go to the following link here, download & install.

这篇关于创建具有Web应用程序数据库时天青NoRegisteredProviderFound的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆