azure - 将 Sql 数据库项目部署到 Azure,但 appveyor 失败

标签 azure azure-sql-database appveyor

当我使用 Appveyor 将 Sql 数据库项目部署到 Azure 时,出现下一个错误:

Error publishing database: Could not deploy package. Unable to connect to master or target server 'ods'. You must have a user with the same password in master or target server 'ods

所以,在这篇文章中Can't deploy Sql Database Project to Azure建议将 Appveyor 允许的所有 IP 地址添加到 Azure SQL 防火墙,但我仍然收到相同的错误,还有什么其他原因可能导致此问题?

最佳答案

我希望您已按照说明创建了 Azure SQL 数据库逻辑服务器 here ,请在您的连接字符串上使用“服务器管理员登录”凭据。看来 Appveyor 需要访问主数据库,并且服务器管理员登录拥有所有必需的权限。

关于azure - 将 Sql 数据库项目部署到 Azure,但 appveyor 失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51161252/

相关文章:

c# - Ninject 重新绑定(bind)数据上下文 MVC

powershell - 如何使用 PowerShell 取消 Azure SQL Server 上的所有导入/导出操作

windows - 完成构建后如何从 appveyor 获取或下载构建的应用程序(exe 文件)

asp.net-mvc - 表单例份验证/配置文件在 Azure 云上速度较慢,在本地则正常

powershell - 重新启动使用 Appveyor 部署的 Azure Web 应用程序 (aspnet5 rc1-final)

具有预先邀请的用户的 Azure B2C

c# - 如何使用 C# 创建与 UWP 应用程序和 Azure DB 的基本连接

asp.net - microsoft azure smtp 电子邮件中继设置

java - JDBC 断管 Mac