简体   繁体   English

通过Excel的OLAP多维数据集-传输层错误

[英]OLAP Cube Through Excel - Transport Layer Error

I have a cube running on SSAS SQL Server 2012. 我在SSAS SQL Server 2012上运行一个多维数据集。

Every time I want to connect to a cube, or update data in files that contain it, I (and all the other users) get the "Transport Layer Error" message. 每次我想连接到多维数据集或更新包含该多维数据集的文件中的数据时,我(以及所有其他用户)都会收到“传输层错误”消息。

I click "OK" and am prompted to re enter my credentials. 我单击“确定”,并提示您重新输入我的凭据。 Usually it works after that (though sometimes it doesn't). 通常在此之后它可以工作(尽管有时不行)。

This becomes very annoying when I need to refresh a file that contains a dozen of cubes: I need to enter the credentials 12 times. 当我需要刷新包含多个多维数据集的文件时,这变得非常烦人:我需要输入凭据12次。

Sometimes it becomes impossible to connect to the cube, I get stuck in a Transport Layer Error infinite loop. 有时无法连接到多维数据集,我陷入了传输层错误无限循环中。

Important note: The server is on a different domain than the PC, I am connected to it through a VPN. 重要说明:服务器与PC不在同一域中,我通过VPN连接到它。

Is there any way to get rid of this? 有什么办法可以摆脱这个?

You should do it like this to avoid problems again 您应该这样做以避免再次出现问题

  1. Data tab... From Other Sources... From Analysis Services... 数据标签...来自其他来源...来自Analysis Services ...

  2. Type in a server name, username, and password... click next choose your database and click next 输入服务器名称,用户名和密码...单击下一步,选择您的数据库,然后单击下一步

  3. Check "Always attempt to use this file to refresh data". 选中“始终尝试使用此文件刷新数据”。 And check "Save password in file". 并检查“将密码保存在文件中”。 Click Yes when the prompt pops up. 提示弹出时,单击“是”。 Click finish. 单击完成。 That will save your username and password (in clear text) into the odc file. 这样会将您的用户名和密码(以明文形式)保存到odc文件中。 (Be aware of this for security purposes.) (出于安全考虑,请注意这一点。)

And if that doesnt help, try to create a whole new excel workbook and readd connections to the cube. 并且如果这样做没有帮助,请尝试创建一个全新的Excel工作簿并读取与多维数据集的连接。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM