在Azure中发布

时间:2014-02-25 14:00:38

标签: asp.net azure hosting

我在Azure中发布我的网络应用程序。出现以下错误:

    Error   12  Web deployment task failed. (Could not complete an operation with the specified provider ("dbDacFx") when connecting using the Web Management Service. This can occur if the server administrator has not authorized the user for this operation. dbDacFx http://go.microsoft.com/fwlink/?LinkId=178034

我试图在我的Program Files文件夹中卸载所有Web Deploy文件夹,但即使没有打开任何内容,它也告诉我它正在使用中,我无法删除该文件夹。我已经安装了最新版本的Web部署。

任何想法都将不胜感激!

1 个答案:

答案 0 :(得分:0)

从错误消息中可以看出几件事。但我可以先建议您检查是否在应用程序后面创建或更改数据库架构。如果是这样可能是问题。例如,执行脚本的用户没有足够的权限来执行所需的任务。

请参阅Azure SQL文档以向用户授予正确的sql权限。