【问题标题】:XMLA operation failed. You are either using an older version of Analysis Services client libraries or SQL Server Management StudioXMLA 操作失败。您正在使用旧版本的 Analysis Services 客户端库或 SQL Server Management Studio
【发布时间】:2018-01-02 12:27:28
【问题描述】:

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

将模型移动到 azure analysis services 表格中,库运行时出现以下错误:

XMLA 操作失败。您正在使用旧版本的 Analysis Services 客户端库或 SQL Server Management Studio。请升级到最新版本。更多信息可以在这里找到:https://go.microsoft.com/fwlink/?linkid=860248

我已经尝试从链接下载最新版本的库,但是只有一个

  • Microsoft.AnalysisServices.DLL

    C:\Windows\Microsoft.NET\assembly\GAC_MSIL\Microsoft.AnalysisServices\v4.0_14.0.0.0__89845dcd8080cc91

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

  • Microsoft.AnalysisServices.Tabular.dll
  • Microsoft.AnalysisServices.Core.dll

除此之外,来自微软网站的新 dll 似乎有不同的定义。例如,Server 对象没有 connect 方法。

【问题讨论】:

    标签: ssas-tabular azure-analysis-services


    【解决方案1】:

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

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-10-11
      • 1970-01-01
      • 2013-09-10
      • 2013-11-02
      • 1970-01-01
      相关资源
      最近更新 更多