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 processing it.
OLE DB error: OLE DB or ODBC error:
Login failed for user 'NT Service\MSSQLServerOLAPService'.; 28000.
How to correct this and process the model successfully?
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.
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: