2017-01-02 108 views
1

上傳最大尺寸我在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「啓用的遷移」中寫道,我有我的數據庫。所有資源都在同一個資源組中。

+0

其中* *沒有定義呢?怎麼樣?您是否嘗試在與Application Insights相同的資源組中創建數據庫? –

+0

在此先感謝@PanagiotisKanavos。所有資源都在同一個資源組中。在Azure中,當我在Visual Studio中按發佈發佈到Azure時,我定義了我的數據庫。我使用新的數據庫創建了一個新的應用程序計劃。本地數據庫是在「Package Manager Console」中編寫「enable-migrations」時創建的。 –

回答

0

Visual Studio中的sql server最多有5 Gb的空間供您使用它..如果您需要更多的空間下載sql server並將數據庫鏈接到visual studio 如果您使用的最大空間不能更改在視覺工作室集成的SQL服務器

+1

這不是OP問什麼。您正在使用SQL Azure的 –

相關問題