简体   繁体   English

无法从Excel连接到远程OLAP(SSAS)“无法建立连接,因为目标计算机主动拒绝了它”

[英]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.

相关问题 WinError 10061 由于目标机器主动拒绝,无法建立连接 - WinError 10061 No connection could be made because the target machine actively refused it Illuminate\Database\QueryException SQLSTATE[HY000] [2002] 由于目标机器主动拒绝,无法建立连接 - Illuminate\Database\QueryException SQLSTATE[HY000] [2002] No connection could be made because the target machine actively refused it 存储过程错误处理:由于目标计算机主动拒绝连接,因此无法建立连接 - Stored procedure error handling : no connection could be made because the target machine actively refused it 从SSAS / SSRS中的平面表创建OLAP多维数据集 - Creating an OLAP Cube from a flat table in SSAS/SSRS SQL Server Express - 从远程机器连接 - SQL Server Express - Connect from remote machine Python - 使用 pyodbc 使用 Excel 数据连接中的信息连接到远程服务器 - Python - Using pyodbc to connect to remote server using info from Excel data connection Excel 2013 OLAP工具DAX表格数据连接 - Excel 2013 OLAP Tools DAX Tabular Data Connection SQL Server远程访问-无法连接 - SQL Server Remote Access - Can't Connect 无法连接到远程数据库表 - Can't connect to remote database table DATABASE LINK无法连接到远程数据库 - DATABASE LINK Can't connect to remote database
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM