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。 但是,當我試圖將數據庫添加到項目時出現錯誤。無法在Azure中創建sql server數據庫
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服務器中創建數據庫。
我也嘗試使用Azure portal將數據庫添加到創建的sql服務器,但它也失敗了。
但是,我能夠爲Mobile App Services Quickstart
教程創建數據庫。
如何解決問題?
我還以爲像,並試圖刪除我唯一的數據庫數據庫大小云端。它幫助我使用門戶創建數據庫。然後我刪除它,並嘗試使用VS做同樣的事情。但它又失敗了。 – Umriyaev