You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Azure DevOps流水线中Tabular Editor 2生成.bim时连接字符串无效报错

从PBIP构建BIM文件时Azure DevOps流水线报错:连接字符串无效

我在Azure DevOps流水线中尝试将基于文件夹的表格模型(.pbip)构建为.bim文件,多次尝试均失败,报错信息如下:

Tabular Editor 2.27.2 (build 2.27.9403.24625)

Loading model...
Error loading model: The connection string is not valid.
Destination: "D:\a\1\self\Data Model - Sales.bim" - False

根据Tabular Editor 2的官方文档,这个错误表示无法连接服务器,但我只是执行本地构建操作,并未尝试连接任何服务器。

我在DevOps中运行的核心PowerShell脚本如下(该脚本在本地环境运行正常):

$path = "$(Build.SourcesDirectory)"
$pbiPath = $path + '\Semantic Models\Data Model - Sales\Data Model - Sales.SemanticModel\definition\'
$destinationPath = $path + '\Data Model - Sales.bim'

$p = Start-Process -Wait -NoNewWindow -PassThru -FilePath $path\TabularEditor\TabularEditor.exe `
    -ArgumentList """$pbiPath"" -VSTS -BUILD ""$destinationPath"""
exit $p.ExitCode 

代理池配置详情:

pool:
  name: Azure Pipelines    # your job runs on an agent in this pool
  demands: agent.os -equals Windows_NT
  vmImage: windows-latest

我已经确认脚本可以正常启动并关闭Tabular Editor,但始终无法生成目标.bim文件,对此十分困惑,恳请帮助。

内容的提问来源于stack exchange,提问作者Jeremiah

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.06.12 04:02:38