从C#连接到Analysis Server [英] Connecting to an Analysis Server from C#

查看:248
本文介绍了从C#连接到Analysis Server的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

最近,我一直在尝试从C#连接到Azure托管的分析服务器,但遇到了一个问题.

Recently I've been trying to connect to an Azure-hosted analysis server from C# and I've come across an issue.

我试图使用Microsoft ADOMD客户端,发现它似乎依赖于Microsoft.IdentityModel.Clients.ActiveDirectory.AuthenticationContext的旧版本. ADOMD客户端库通过以下方式进行了硬编码: 反射,用于已全部异步化的同步功能版本.

I was trying to use the Microsoft ADOMD client and discovered that it seems to be relying on an older version of Microsoft.IdentityModel.Clients.ActiveDirectory.AuthenticationContext. The ADOMD client library is hardcoded to look, through reflection, for synchronous versions of functions that have all been made asynchronous.

不幸的是,由于依赖该库的其他库,我无法降级到该库的旧版本,因此我陷入了无法在同一项目中真正连接到我的Analysis Service的情况.一个问题.

Unfortunately, I cannot downgrade to an older version of this library because of other libraries that rely on it, so I'm stuck in a situation where I can't really connect to my Analysis Service in the same project, which is an issue.

我是否还可以通过其他其他方式使用C#连接到Analysis Service,而无需使用旧版本的库?

Are there any other ways that I can connect to an Analysis Service with C# that don't require older versions of libraries?

推荐答案

你好,谢恩,

您能否澄清是否要连接到 Azure分析服务.那里的每个链接都包含有关连接到当前类型的信息.对于SQL Analysis Services,只需将端点设置为该端点的Azure托管实例.

Can you clarify if you're trying to connect to SQL Analysis Services or Azure Analysis Services. Each link there contains information on connecting to the current type. For SQL Analysis Services, it's just setting the endpoint to the Azure-hosted instance of it.

如果这与SQL Analysis Services有关,则最好在

If this is about SQL Analysis Services, you'll be better served posting on their forums so the developers of this library can look into the issue you're experiencing. 


这篇关于从C#连接到Analysis Server的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆