【问题标题】:How to create a database in Azure?如何在 Azure 中创建数据库?
【发布时间】:2016-04-24 09:42:22
【问题描述】:

我正在创建一个关注the next guide 的网络应用程序。我需要在 Azure 门户中托管一个 sql 数据库。在 Aure 托管设置中,我选择现有的 sql server(没有数据库),然后选择创建新数据库。但是当我创建新的 ASP.NET MVC 项目时却失败了。 Azure 门户说

Tracking Id: 73aabcd6-7cdc-4bf5-9590-a55eb0cfe279
Status:    Conflict
Provisioning State:    Failed
Timestamp:    4/24/2016, 12:36:23 PM
Duration:    PT32.4858855S
Type:    Microsoft.Sql/servers/databases
Resource Id:    /subscriptions/a56b3a76-22b0-4d67-a3dd-f726672d2b2f/resourceGroups/Isolenta29ResourceGroup/providers/Microsoft.Sql/servers/isolenta29dbserver/databases/Isolenta29Database
StatusMessage:    {
  "status": "Failed",
  "error": {
    "code": "ResourceDeploymentFailure",
    "message": "The resource operation completed with terminal provisioning state 'Failed'.",
    "details": [
      {
        "code": "40827",
        "message": "The operation is not supported for your subscription offer type."
      }
    ]
  }
}
Resource:    isolenta29dbserver/Isolenta29Database

我有一个 DreamSpark 订阅并且已经知道它只提供一个免费数据库。那么出了什么问题呢?如何在 Azure 中创建一个 ehosted 的数据库并在 Web 应用程序中使用它?

【问题讨论】:

    标签: c# asp.net azure azure-sql-database dreamspark


    【解决方案1】:

    看起来 Dreamspark 已经有了 SQL DB 的支持(但是,不久前还没有这样的支持),但我怀疑这可能是某种间歇性问题。您应该能够使用 MySQL。那是tutorial。

    【讨论】:

      【解决方案2】:

      如错误消息中所述 "message": "The operation is not supported for your subscription offer type."

      您的 DreamSpark 订阅似乎不允许创建任何 SQL 数据库。 您要么升级订阅,要么尝试使用可以与您的站点一起站点的文件库。

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 2014-05-09
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2013-06-23
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多