English 中文(简体)
Cant connect to analysis services via excel
原标题:

I have an analysis services cube in SQL server 2005 which I m connecting to via an excel front end.

When I connect via one user its fine, but when I log on to the same machine as another user I get an error in my excel spreadhseet - "user...does not have access to the [Cube name] database"

Obviously the first user has the correct permissions, but how do I set up analysis services to allow other users to join the party?

最佳回答

Login to the machine with an account that is an administrator (DomainCubeAdmin) on the cube. Connect to the cube in BIDS (run devenv.exe and open Analysis Services Database).

Under Roles, create a reader role and in the Membership tab, add the user account (DomainNewUser).

All this will only work if the SSAS Server Administrator gives the DomainNewUser access to the server.

问题回答

The Windows user accounts that you are trying to access SQL Analysis Services with need to be added to the Roles in the Cube that would allow the permissions you want.

If you are connecting over HTTP using msmdpump.dll through IIS you need to turn on Authentication for that site and allow the Windows user account to access the site.

If the IIS site using msmdpump is on another machine and you aren t using a domain then the accounts would need to exist on both servers with the same password.

I know this is old but for other s reference, I had to repair the MS Office install to resolve a connectivity issue with SSAS. The user was added to the role, but the error "Cannot connect to server" was displayed when connecting.

Raj has already answered the initial question... You need users to be set up with at least read access to your SSAS instance.

However, the error "Cannot connect to server" does not necessarily mean it s an authentication issue, it actually doesn t mean much. I ve seen this error on Excel 2007 on various occasions, where the underlying error could be anything, this is just a generic error from Excel.

Several aspects that caused problems on my end were (things to check):

  • User has access to the web site (if not using anonymous auth)

  • ADOMD and OLEDB for Analysis Services are installed locally (correct version)

  • User propagated to SSAS has read access to instance (are you using ApplicationPoolIdentity?)

  • Handler mapping (script mapping for *.dll) is set up

For a complete guide of how to set up HTTP access for SSAS check: Microsoft - Configure HTTP Access to SSAS via IIS

Cheers





相关问题
Export tables from SQL Server to be imported to Oracle 10g

I m trying to export some tables from SQL Server 2005 and then create those tables and populate them in Oracle. I have about 10 tables, varying from 4 columns up to 25. I m not using any constraints/...

SQL server: Can NT accounts be mapped to SQL server accounts

In our database we have an SQL server account that has the correct roles to access some of the databases. We are now switching to windows authentication and I was wondering if we can create a NT user ...

SQL Server 2000, ADO 2.8, VB6

How to determine if a Transaction is active i.e. before issuing Begin Transaction I want to ensure that no previous transaction are open.. the platform is VB6, MS-SQL Server 2000 and ADO 2.8

热门标签