Connection String error while using ADOMD.NET to connect to Azure Analysis

后端 未结 2 745
旧时难觅i
旧时难觅i 2020-12-11 10:43

I am trying to retrieve data from Azure Analysis Services using ADOMD.NET from a deployed model in cloud. The code snippet is as below, but i am getting an error that the Co

2条回答
  •  借酒劲吻你
    2020-12-11 10:57

    Turns out that this issue is due to the RTM version of AdomdClient not actually supporting the RTM version of Azure Analysis Services. As a result, the following Nuget Package is required:

    https://github.com/ogaudefroy/Unofficial.Microsoft.AnalysisServices.AdomdClient

    Once you remove / uninstall the version 12 ( the RTM version ) of Microsoft.AnalysisServices.AdomdClient.12.0.2000.8 and install the above AdomdClient everything works just fine. In short, the v12 version doesn't have the code built in to parse asazure:// Data Sources

    Highly annoying with no documentation on Microsoft's site nor support relating to the problem. However this will address your question.

提交回复
热议问题