1

我在 Azure 中有 DreamSpark 学生订阅。我正在关注Create an ASP.NET MVC app with auth and SQL DB and deploy to Azure App Service教程。我正在使用 Visual Studio Community 2015 Update 1 和 Azure SDK 2.8.2.1。但是当我尝试将数据库添加到项目时出现错误。

Template deployment failed. Deployment operation statuses:
Succeeded: /subscriptions/131474ef-becf-4444-98c3-aac7371dc3d2/resourceGroups/contactmanager/providers/Microsoft.Web/serverfarms/contactmanagerUmriyaevPlan ()

Succeeded: /subscriptions/131474ef-becf-4444-98c3-aac7371dc3d2/resourceGroups/contactmanager/providers/Microsoft.Sql/servers/contactmanagerumriyaevdbserver ()

Succeeded: /subscriptions/131474ef-becf-4444-98c3-aac7371dc3d2/resourceGroups/contactmanager/providers/Microsoft.Sql/servers/contactmanagerumriyaevdbserver/firewallrules/AllowAllAzureIPs ()

Failed: /subscriptions/131474ef-becf-4444-98c3-aac7371dc3d2/resourceGroups/contactmanager/providers/Microsoft.Sql/servers/contactmanagerumriyaevdbserver/databases/contactmanagerumriyaev_db ()
status (): 
error (ResourceDeploymentFailure): The resource operation completed with terminal provisioning state 'Failed'.
Succeeded: /subscriptions/131474ef-becf-4444-98c3-aac7371dc3d2/resourceGroups/contactmanager/providers/Microsoft.Web/sites/contactmanagerumriyaev ()

Succeeded: /subscriptions/131474ef-becf-4444-98c3-aac7371dc3d2/resourceGroups/contactmanager/providers/Microsoft.Web/sites/contactmanagerumriyaev/config/connectionstrings ()

它正在成功创建资源组、应用程序、sql server。但是,它无法在该 sql server 中创建数据库。

我还尝试使用Azure 门户将数据库添加到创建的 sql 服务器,但它也失败了。

但是,我能够为Mobile App Services Quickstart教程创建数据库。

如何解决问题?

4

1 回答 1

1

DreamSpark 网站声明SQL 数据库包含在程序中,但没有提及限制。我的猜测是:

  • 您仅限于一个数据库
  • 您选择的数据库大小未包含在程序中
于 2016-03-05T11:08:30.850 回答