XMLA 操作失败。您正在使用旧版本的 Analysis Services 客户端库或 SQL Server Management Studio

XMLA operation failed. You are either using an older version of Analysis Services client libraries or SQL Server Management Studio

我有一个 AMO 项目,用于针对 ssas 表格 2016 模型自动执行操作。

将模型移动到 azure 分析服务表格中,库运行时出现以下错误:

XMLA operation failed. You are either using an older version of Analysis Services client libraries or SQL Server Management Studio. Please upgrade to the latest version. More information can be found here: https://go.microsoft.com/fwlink/?linkid=860248

我尝试从 link 下载最新版本的库,但是只有

而我的解决方案之前使用了两个 dll:

此外,微软网站上的新 dll 似乎有不同的定义。例如,服务器对象没有连接方法。

你的link是正确的。如果您安装 AMO,您将安装所有 DLL。在安装目录下查看:Microsoft SQL Server0\SDK\Assemblies。确保在项目中引用 14 或更高版本的主要版本。