SQL Server 2012: Login failed for user 'NT Service\MSSQLServerOLAPService'.; 28000

后端 未结 7 1792
执笔经年
执笔经年 2020-12-09 09:45

I am using Analysis services in Microsoft SQL Server 2012 on Windows 7.

I tried to create Mining models and process it. I am getting the following error while proces

相关标签:
7条回答
  • 2020-12-09 10:31

    I recently encountered a similar error.

    My error was fixed by creating a new login in ssms, with the name the error gave me.

    In your case it would be 'NT Service\MSSQLServerOLAPService'

    You then need to check 'db_datareader' and the 'db_datawriter' in that new login's properties on the 'User Mappings' page. Check the database you are using on top and then the 'db_datareader' and 'db_datawriter'on the bottom where it sais 'Database Role Membership For: Database_Name.

    Hope this helps.


    Something you can also try is: Go to the 'Server Manager','Configuration','Services' Search for the 'SQL Server Analysis Services (Instance_Name)' that you use. Go to its Properties and then the 'Log on' tab. If it uses the option of 'This Account', make sure you use that account specified in the data source of the cube in the 'Impersonation Information' as the user name and password.

    EDIT

    The reason for this usually is because the account running the service does not have the right permissions to do what is requested.

    There are 2 ways to do this so far I know:

    1. Change the account running the sevice to the account that has the right permissions.
    2. Give the account that is running the service the right permissions.
    0 讨论(0)
提交回复
热议问题