【发布时间】:2020-05-28 10:39:37
【问题描述】:
我有一个需要在 Azure Devops Pipelines 中运行的 Node 应用程序 - 它需要连接到 SQL Server(在 VM 上,也在 Azure 中)。它使用“msnodesqlv8”与 SQL Server 对话。
连接字符串如下所示:
Server=dns.name.here,1433;Database=mydb;Driver={SQL Server Native Client 11.0};Trusted_Connection=Yes;APP=Extraction in DevOps;
一切都在本地运行良好(显然!),但应用程序在管道中构建和运行时失败,并出现以下错误:
Error: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
VM 映像是“windows-latest”,我认为它包含与 SQL Server 通信所需的位。
不胜感激。
谢谢, 杰夫
【问题讨论】:
标签: sql-server azure