在另一台服务器上使用数据源处理多维数据集

时间:2017-07-11 21:31:58

标签: sql-server ssas xmla

我有一个托管在Server1上的Cube。

然后,在SSMS中我这样做:右键单击 - >脚本数据库为 - >创建到 - >新查询编辑器窗口。然后复制结果XMLA。然后在Server2上打开XMLS查询窗口,粘贴,运行。多维数据集已复制。

我右键单击SSMS上的Cube并单击进程。这是错误:

  

OLE DB错误:OLE DB或ODBC错误:登录超时已过期; HYT00;建立与SQL Server的连接时发生了与网络相关或特定于实例的错误。找不到服务器或无法访问服务器。检查实例名称是否正确以及SQL Server是否配置为允许远程连接。有关详细信息,请参阅SQL Server联机丛书。 08001;命名管道提供程序:无法打开与SQL Server的连接[53]。 ; 08001

我做错了什么?

1 个答案:

答案 0 :(得分:0)

This is almost certainly related to the Datasource settings (in the SSAS database). If you look at its Properties (double-click), there's an Impersonation Info setting under Security Settings.

The most robust setting here is "Impersonate", where you specify a user that will be used to access the source data for the cube (which may be anywhere the Datasource points). If you have "Use Current User" set here, SSAS will attempt to connect to the datasource as you (how ever you are logged in to the SSAS server).

This user (you) may not have the necessary permissions to access the source data. Or there may be network-related security set up that prevents the SSAS service (or anything) on Server 2 from talking to the server that hosts the source data.