How to check the MSOLAP Provider used in connection string

In the Microsoft Analysis Service, when we try to connect to analysis service, we generally will use connection string as below:

Provider=MSOLAP.3;Cache Authentication=False;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=Adventure Works DW;Data Source=Michael02;Impersonation Level=Impersonate;Mode=ReadWrite;Auto Synch Period=20000;Default Isolation Mode=0;Default MDX Visual Mode=0;MDX Compatibility=0;MDX Unique Name Style=0;Non Empty Threshold=0;SQLQueryMode=Calculated;Safety Options=1;Secured Cell Value=0;SQL Compatibility=0;Compression Level=0;Real Time Olap=False;Packet Size=4096

Provider property indicates the provider that the connection uses to connect analysis service, whose possible value is MSOLAP/MSOLAP.1/MSOLAP.2/MSOLAP.3. So we have

MSOLAP   ---Default Provider
MSOLAP.1  ---OLAP 7.0 Provider (msolap.dll)
MSOLAP.1  ---Analysis Service 2000 Provider (msolap80.dll)
MSOLAP.1  ---SSAS provider (msolap90.dll)

When MSOLAP is set for the Provider property in the connection string, the default OLAP provider will be used. We need to check the default OLAP Provider in registry. When we install the AS2000 client files do we create a key called HKCR/MSOLAP.2 and will AS2000 be the default client file when msolap is used in the connection string. when we install the client files of AS2005 do we create the HKCR/MSOLAP.3 registry key and will this be the default there it copies his CLSID to the HKCR/MSOLAP registry key during registration. HKCR/MSOLAP is the default when there is no number mentioned in the connection string, so we have:

HKCR/MSOLAP    ---is the default and used when MSOLAP is selected in the connection string, the file msolap.dll, msolap80.dll or msolap90.dll that is latest registered will be the default.
HKCR/MSOLAP.1  ---is the registry key for OLAP version 7, file msolap.dll
HKCR/MSOLAP.2  ---is the registry key for AS2000, file msolap80.dll
HKCR/MSOLAP.3  ---is the registry key for AS2005, file msolap90.dll

Thanks and regards,
Michael

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值