[英]Can't connect from Excel to remote OLAP (SSAS) “no connection could be made because the target machine actively refused it”
I have OLAP Cube on SQL Server 2008 R2. 我在SQL Server 2008 R2上具有OLAP多维数据集。
I can connect to it from Excel locally (via localhost), but I can't connect from Excel remotely. 我可以从Excel本地连接(通过本地主机),但是不能从Excel远程连接。 I get the following error: "No connection could be made because the target machine actively refused it". 我收到以下错误:“由于目标计算机主动拒绝连接,因此无法建立连接”。
I enter server IP address and user credentials, which has reader roles in Cube. 我输入服务器IP地址和用户凭据,这些凭据在Cube中具有读取器角色。
What was the error's reason? 错误的原因是什么?
Thank you! 谢谢!
The user of machine from which you are connecting through excel remotely , does that use has rights on remote SSAS server ? 您通过excel远程连接的机器的用户,该使用对远程SSAS服务器具有权限吗? If not then you can add this user . 如果没有,则可以添加该用户。 Go to SSMS , Right click on analysis services server desired instance , click on properties , then click on security and check the administrators . 转到SSMS,右键单击Analysis Services服务器所需的实例,单击属性,然后单击安全性并检查管理员。 You can add this user as administrator . 您可以将该用户添加为管理员。
PTSLITE needs to be installed for the pivot tables in excel. 需要为excel中的数据透视表安装PTSLITE。
Ptslite.exe and Ptsfull.exe, are provided on the SQL Server 2000 CD-ROM, in the folder \\Msolap\\Install\\Pts. SQL Server 2000 CD-ROM上的\\ Msolap \\ Install \\ Pts文件夹中提供了Ptslite.exe和Ptsfull.exe。 Ptslite.exe installs the PivotTable Service files only; Ptslite.exe仅安装数据透视表服务文件; Ptsfull.exe installs the PivotTable Service files and Microsoft Data Access Components (MDAC). Ptsfull.exe将安装数据透视表服务文件和Microsoft数据访问组件(MDAC)。
... the target machine actively refused it ...目标机器积极拒绝
Means there is a firewall on the target machine and blocked the port you wanted to connect or the OLAP service is not working. 意味着目标计算机上有防火墙,并阻止了您要连接的端口,或者OLAP服务无法正常工作。 Since you said "it works locally" this could not be the reason. 由于您说过“它在本地有效”,所以这不是原因。 Another possibility is service is configured to serve only localhost interface. 另一种可能性是将service配置为仅服务localhost接口。
In my case SSAS was configured with HTTP access. 在我的情况下,SSAS已配置为具有HTTP访问权限。 but msmdpump.ini file has wrong ServerName 但是msmdpump.ini文件的ServerName错误
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.