2016-04-24 115 views
1

我正在創建一個網頁應用程序the next guide。我需要在Azure門戶中託管一個sql數據庫。在Aure託管設置中,我選擇現有的sql server(沒有數據庫),然後選擇創建新的數據庫。但是,當我創建新的ASP.NET MVC項目,但失敗。 Azure門戶說如何在Azure中創建數據庫?

Tracking Id: 73aabcd6-7cdc-4bf5-9590-a55eb0cfe279 
Status: Conflict 
Provisioning State: Failed 
Timestamp: 4/24/2016, 12:36:23 PM 
Duration: PT32.4858855S 
Type: Microsoft.Sql/servers/databases 
Resource Id: /subscriptions/a56b3a76-22b0-4d67-a3dd-f726672d2b2f/resourceGroups/Isolenta29ResourceGroup/providers/Microsoft.Sql/servers/isolenta29dbserver/databases/Isolenta29Database 
StatusMessage: { 
    "status": "Failed", 
    "error": { 
    "code": "ResourceDeploymentFailure", 
    "message": "The resource operation completed with terminal provisioning state 'Failed'.", 
    "details": [ 
     { 
     "code": "40827", 
     "message": "The operation is not supported for your subscription offer type." 
     } 
    ] 
    } 
} 
Resource: isolenta29dbserver/Isolenta29Database 

我有一個DreamSpark訂閱,並已知道它只提供一個免費的數據庫。那麼出了什麼問題?如何在Azure中創建數據庫並在Web應用程序中使用它?

回答

0

看起來像Dreamspark已經有了SQL DB的支持(不過,不久前還沒有這種支持),但我懷疑它可能是某種間歇性問題。你應該可以使用MySQL。那是tutorial

0

的錯誤消息 "message": "The operation is not supported for your subscription offer type."

狀態好像你的DreamSpark訂閱不允許創建任何SQL數據庫。 要麼升級您的訂閱,要麼嘗試使用可以與您的站點一起站點的文件庫數據庫。