2012-06-14 69 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

感谢您的回答。 –