Chinaunix首页 | 论坛 | 博客
  • 博客访问: 130324
  • 博文数量: 69
  • 博客积分: 595
  • 博客等级: 中士
  • 技术积分: 670
  • 用 户 组: 普通用户
  • 注册时间: 2008-04-16 17:37
文章分类

全部博文(69)

文章存档

2017年(2)

2016年(9)

2015年(13)

2014年(30)

2012年(4)

2011年(2)

2010年(2)

2009年(5)

2008年(2)

我的朋友

分类: SQLServer

2014-11-08 09:19:05



Connecting to SQL Server Analysis Services from a remote domain / login

When connecting to SSAS from a different remote domain / login using Excel 2010 where you have set up a windows user at the SSAS server, provided adequate permissions at the SSAS server to read the cube etc. but still cannot connect from a local Excel the issue is probably on account of the different domains / logins and a lack of trust between the servers.

All of your settings are correct, its probably just the windows being over cautious.

I found two workarounds for this

1) Create a local user with the same login details. Login as that user and then connect (not ideal)

2) Connect using the runas command and include the /netonly switch
A little more info on the second method….

Navigate to excel in Windows explorer (“C:\Program Files (x86)\Microsoft Office\Office14″)
hold down the right shift key then right click the explorer window and choose Open command window here
now paste this in to the window “runas /netonly /user:REMOTEDOMAIN\USERNAME EXCEL“
You will be prompted for a password. Enter it and press the ENTER key
Excel will load.

You will now be able to connect to the Analysis Services on the remote machine with the same details as your excel session will be trusted.

If this has fixed your problem you might like to create a shortcut.

Simply create a standard shortcut to EXCEL and then edit the command to this

C:\Windows\System32\runas.exe /netonly /user:DOMAIN\USER "C:\Program Files (x86)\Microsoft Office\Office14\EXCEL.EXE"

阅读(1027) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~