in

Prologika Forums

Business Intelligence to the Masses

Unable to browse cube as another user

Last post 05-02-2008 12:40 PM by cheryldopp. 6 replies.
Page 1 of 1 (7 items)
Sort Posts: Previous Next
  • 04-29-2008 10:32 AM

    Unable to browse cube as another user

    I realize this is probably a security 101 problem, but I've got a fairly robust cube I'm now wanting to share with users and I can't get it to work. I have created a role called "Cube User", and this user has all the read privileges. I've assigned the role to a user on the network.

     When I browse the cube as Current User, I can see the cube, when I browse the cube as the role "Cube User", I can see the cube, when I try to browse the cube as the user assigned to the role, I get

    The following system error occurred:  Incorrect function. . (Microsoft
    SQL Server 2005 Analysis Services)

    ------------------------------
    Program Location:

       at
    Microsoft.AnalysisServices.AdomdClient.AdomdConnection.XmlaClientProvider.M­icrosoft.AnalysisServices.AdomdClient.AdomdConnection.IXmlaClientProviderEx­.CreateSession(Boolean
    sendNamespaceCompatibility)
       at
    Microsoft.AnalysisServices.AdomdClient.AdomdConnection.ConnectToXMLA(Boolea­n
    createSession, Boolean isHTTP)
       at Microsoft.AnalysisServices.AdomdClient.AdomdConnection.Open()
       at
    Microsoft.AnalysisServices.Browse.ConnectionsManagerBase.Connect()
       at
    Microsoft.AnalysisServices.Browse.CubeBrowser.ConnectionsManager.Connect()
       at Microsoft.AnalysisServices.Browse.CubeBrowser..ctor(String
    nameOfCube, Object cube, IServiceProvider iserviceProvider,
    DesignerPageRelevantData designerPageRelevantData, UserContextData
    securityContextData)
       at
    Microsoft.AnalysisServices.Browse.CubeBrowserHostControl.CreateBrowser()
       at
    Microsoft.AnalysisServices.Browse.BrowserHostControl.LoadBrowser()

    I have added the user to every conceivable permissions group: he is an
    Administrator of the server in SQL Server Management Studio for the server in question; I've added him various network Groups visible from my computer, such as
    Administrators, and Users group on the network. I've also tried
    restarting Analysis Services under the Network Service built-in
    account. What else can I try? I need my users to be able to access the
    cube!

    Thanks!!!
    Cheryl

    Filed under:
  • 04-29-2008 2:55 PM In reply to

    Re: Unable to browse cube as another user

    Do you get the same error when you use the Change User toolbar button in the cube browser? Do you have any allowed/denied sets in the Dimension Data security tab? If you comment the entire Calculations script except the first CALCULATE statement and deploy, do you still get the error?
  • 04-29-2008 4:20 PM In reply to

    Re: Unable to browse cube as another user

    I am using "Change User" in the Cube Browser tab to test, which is giving me the error. I have checked and did not have any Allowed or Disallowed parameters in the Dimension Data, and I tried as you suggested in commenting out the Calculations script except the first CALCULATE statement. I am still getting the same error message.

     My ultimate goal is to have another be able to access the cube via pivot table. I am guessing, somehow, that they are having trouble connecting to the database somehow. When I try "Run As" in SQL Server Management Studio, I am able to both access the server and browse the cube.

     I have all my services running as Network Services (built-in) now, since I doubted running as Local would work. Any other ideas?

     Thanks so much for your help! I have a somewhat useful first iteration of the cube to show, and I cannot enable others to see it! :(

     Thanks,

    Cheryl

  • 04-29-2008 4:25 PM In reply to

    Re: Unable to browse cube as another user

    It seems to me that any authenticated user on the user is being rejected in connecting to the cube, but not if the user is running the server. For example, even when I "Change User" to myself (as an authenticated domain\username), it fails as well. Wasn't sure if I was clear in stating that before...

    Thanks,

    Cheryl

  • 04-29-2008 6:17 PM In reply to

    Re: Unable to browse cube as another user

    I am reviewing your book more carefully and can see that the Windows Server 2003 domain controller is required to use "Change User" functionality for "Other User". I wonder if I am barking up the wrong tree here as I do not know which domain controller is used.

    The root problem is trying to debug why or why not Pivot Table access from another user workstation will/will not work. The actual error given when the user tries to set up a Data Source to the cube indicates trouble with the transport layer. I wanted to test that the user had access before trying to figure out why the user could not access from Excel... I do have PTS 9.0 installed (and trying to use it) there...

  • 04-29-2008 8:51 PM In reply to

    Re: Unable to browse cube as another user

    Windows Server 2003 is for when you need to impersonate the user which is not what you doing.

    Try using the SQL Server Profiler to see what identity the session is being established under.Sounds like an issue with Active Directory though  If you create a local Windows account and assign it to the role, and then connect as this account, does it work? I haven't encountered "Incorrect function" error with SSAS security so it's probably outside SSAS.

  • 05-02-2008 12:40 PM In reply to

    Re: Unable to browse cube as another user

    Hi Teo,

     Thanks for your help! I think the problem with the "Change User" browser functionality had sent me off on the wrong track. It was, indeed, an authentication issue identified by using SQL Server Profiler (in the past I've never had to be a server admin, just a database architect - so getting this set up is presenting new opportunities to learn... :) )

    Thanks again

Page 1 of 1 (7 items)
Copyright © 2005 Prologika, LLC
Powered by Community Server (Commercial Edition), by Telligent Systems