2012-06-14 160 views
3

我已經註冊了Windows Azure上的測試帳戶以進行測試。我爲測試構建了一個Hello world ASP.NET Web應用程序+數據庫。將ASP.NET網站+數據庫發佈到Windows Azure網站

我安裝了Visual Studio 2012 RC並安裝了Windows Azure軟件。

在Windows Azure中我已經創建了一個新的網頁電子郵件+數據庫,我認爲,運行良好(http://azuretest.azurewebsites.net

我從網上下載的Windows Azure發佈配置,並在Visual Studio中導入。當我發佈我選擇發佈數據庫的網站時,請從發佈配置文件中選擇正確的連接字符串。

出版後,我得到這個錯誤:

Error 1 Web deployment task failed. (Could not complete an operation with the specified provider ("dbSqlPackage") when connecting using the Web Management Service. This can occur if the server administrator has not authorized the user for this operation. dbSqlPackage http://go.microsoft.com/fwlink/?LinkId=178034 Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_USER_NOT_AUTHORIZED_FOR_DEPLOYMENTPROVIDER .) 0 0 azuretest

的網址在此錯誤消息鏈接到從2008年和2010年,我不認爲我能找到什麼好的信息有文章..

錯誤說

This can occur if the server administrator has not authorized the user for this operation

,但我不認爲我可以授權在一個共享的Windows Azure網站任何事情,可以嗎?

回答

1

我剛剛在http://social.msdn.microsoft.com/Forums/en-US/windowsazurewebsitespreview/thread/3f99e1e3-e030-47e0-9e43-f029663ca806回答了這個問題。

嗨Marcel,我在Visual Studio Web團隊工作。當我們發佈VS 2012 RC時,我們希望在RC發佈之前能夠最終確定Update Database複選框的服務器端組件。不幸的是,我們無法做到這一點,所以VS 2012 RC中的更新數據庫複選框只有在您公開發布到本地主機時纔可用。

我們正在努力讓服務器端部件準備就緒,但我們無法提交一個日程安排。我在http://blogs.msdn.com/b/webdevtools/archive/2012/06/14/vs-publish-dialog-update-database-dialog-disabled.aspx上發過帖子。

+0

感謝您的回答。 –