【问题标题】:deploy azure database (using SSDT) with Visual studio online使用 Visual Studio Online 部署 Azure 数据库(使用 SSDT)
【发布时间】:2016-02-17 06:43:26
【问题描述】:

我们希望在 Visual Studio Online (VSO) 的 git 源代码控制中部署 Azure 数据库,以部署到 Azure 数据库。该脚本位于 SSDT 中,我可以在本地使用本地 Visual Studio IDE 进行部署。

当我尝试使用 VSO 发布数据库时,它会抛出以下内容:

    ....publish.sql (0, 0)
Unable to connect to target server.

我们的 VSO 构建定义如下所示。

有什么想法吗?

【问题讨论】:

  • 您是否打开了防火墙以允许来自 vso 的访问?
  • 你应该接受Cpt的回答。 Monac,做到了!

标签: azure continuous-integration sql-server-data-tools continuous-deployment azure-devops


【解决方案1】:

在一个类似的线程中,发现问题是SQL server 密码没有保存。发帖人做了以下解决:

  1. 服务器资源管理器
  2. 右键单击连接>修改连接
  3. 勾选保存密码
  4. 高级..
  5. 安全部分 - 在此处输入密码
  6. 好的
  7. 测试连接 - 良好
  8. 从相关的 DatabaseDeploy.publish xml 文件重新运行发布

来源贴在这里供参考:Database project deploy fails in Visual Studio 2013

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2013-03-01
    • 2015-12-22
    • 2014-11-14
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多