上传最大尺寸我在Visual Studio 2015年建立了一个小型ASP.NET MVC web application
,我想这与我的Microsoft Imagine Student
订阅上传到微软的Azure。当我尝试发布它,我得到这个错误:更改SQL Server数据库在Visual Studio在Azure中
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'.
很显然,我需要改变我的数据库最大大小,但我怎么能做到这一点?
我创造了我的项目上Visual Studio Team Services
,我创建的项目我的本地机器上后,我与项目挂钩它Visual Studio Team Services
具有版本控制。我在Package Manager Console
“启用的迁移”中写道,我有我的数据库。所有资源都在同一个资源组中。
其中* *没有定义呢?怎么样?您是否尝试在与Application Insights相同的资源组中创建数据库? –
在此先感谢@PanagiotisKanavos。所有资源都在同一个资源组中。在Azure中,当我在Visual Studio中按发布发布到Azure时,我定义了我的数据库。我使用新的数据库创建了一个新的应用程序计划。本地数据库是在“Package Manager Console”中编写“enable-migrations”时创建的。 –