Excel Connectivity with SSAS - An error was encountered in the transport layer

风流意气都作罢 提交于 2019-12-01 20:41:27

If you are trying to connect to the cube under credentials which are not the credentials you used to log into your laptop, then the proper way of accomplishing this is the following. Create a new connection from scratch. (You can't modify an existing connection.) Do the following:

  1. Data tab... From Other Sources... From Analysis Services...
  2. Type in a server name, username, and password... click next
  3. choose your database and click next
  4. Check "Always attempt to use this file to refresh data". And check "Save password in file". Click Yes when the prompt pops up.
  5. Click finish.

That will save your username and password (in clear text) into the odc file. (Be aware of this for security purposes.)

Based upon your description of the symptoms I suspect you didn't have these checkboxes checked when you created the connection. Thus it would continue to prompt for username/password when it needed to reconnect.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!