上傳最大尺寸我在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」時創建的。 –