在Visual Studio中更改SQL Server数据库的最大大小以在Azure中上载 [英] Changing SQL Server database maximum size in Visual Studio for uploading in Azure
问题描述
我在Visual Studio 2015中构建了一个小的ASP.NET MVC web application
,我想使用Microsoft Imagine Student
订阅将其上传到Microsoft Azure.当我尝试发布它时,出现此错误:
I built a small ASP.NET MVC web application
in Visual Studio 2015 and I want to upload it to Microsoft Azure with my Microsoft Imagine Student
subscription. When I try to publish it, I get this error:
失败:/subscriptions/1(...)4/resourceGroups/Default-ApplicationInsights-EastUS/providers/Microsoft.Sql/servers/sapromaniadbser/databases/Sap20170102030950_db() 40619:版本免费"不支持数据库最大大小"1073741824".
Failed: /subscriptions/1(...)4/resourceGroups/Default-ApplicationInsights-EastUS/providers/Microsoft.Sql/servers/sapromaniadbser/databases/Sap20170102030950_db () 40619: The edition 'Free' does not support the database max size '1073741824'.
很明显,我需要更改数据库的最大大小,但是我该怎么做呢?
It's clear that I need to change my database max size, but how can I do this?
在本地计算机上创建项目并将其与Visual Studio Team Services
中的项目链接以进行版本控制后,便在Visual Studio Team Services
上创建了项目.我在Package Manager Console
中写了"enable-migrations",并且有了数据库.所有资源都在同一个资源组中.
I created my project on Visual Studio Team Services
, after I created the project on my local machine and I linked it with the project from Visual Studio Team Services
for having version control. I wrote in Package Manager Console
"enable-migrations", and I had my database. All resources are in the same resource group.
推荐答案
您需要购买 https://azure.microsoft.com/de-de/pricing/purchase -options/ 我认为.
You need buy it over https://azure.microsoft.com/de-de/pricing/purchase-options/ i think.
这篇关于在Visual Studio中更改SQL Server数据库的最大大小以在Azure中上载的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!