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
1-Run "SQL Server Configuration Manager"
2-Select "SQL Server Services"
3-Right Click "SQL Server Analysis Services" and choose properties
4-On the "log on " tab ,choose "this account".
5-Click "Browse" button , then Click "Advanced" button.
6-Click "find now" button . Now find your account in the below table and select it.
7-When you selected proper account (With sufficient permission) , return to "log on" tab
and enter your password
8-Restart service and try again your task...
I hope this could help ...
I just had the same issue, but other people's answers does not help.
In my case I fixed like this:
You will probably need to set "Use the service account" in your Data Source, in your project of Visual Studio
I found my solution using the oposite logic of Amir.
Though I am just running things locally to make modifications that will later be pushed to production. So if you're running locally, this solution may help.
Should be able to deploy now.
Try the steps below:
Credit (JetBoy2k) : https://social.msdn.microsoft.com/Forums/sqlserver/en-US/0a1ce033-29fb-49a9-944a-ee2ea55e69a8/errors-in-the-highlevel-relational-engine-a-connection-could-not-be-made-to-the-data-source-with?forum=sqlanalysisservices
Set Impersonation Mode to service account by opening the Data Source configuration window in Visual Studio and selecting Use the service account in the Impersonation Information window.
Go into the services MMC console (Right-click on the Windows home button, select Run, and in the Run dialog window, type in services.msc and click OK).
Scroll down the services list in the right pane until you find the SQL Server Analysis Services service, and look in the Log On As column to find the account name that the service runs under. Copy the fully qualified account name (NT Service\SSASAccountName) and close the Services MMC window.
In SSMS, click on the Database that you need to access.
Create a login for the SSAS service account with the following SQL command:
CREATE LOGIN [NT Service\MSOLAP$SSASSERVICEACCOUNTNAME] FROM WINDOWS
Click on the Security folder for that database.
Under the Security folder, right-click on the Users folder, then click on New User on the fly-out menu.
In the Database User - New window, select Windows User from the User Type drop-down.
In the User name field, enter the AS account name.
Click on the ellipsis button for the Login Name field.
In the Select Login window, enter the account name and click OK.
Back in the Database User - New window, enter dbo for the Default schema value, then click OK.
You should now see the AS service account in the Users folder.
Double-click on the Roles folder, just below the Users folder, and then double-click on the database Roles folder.
Double click on the DB-owner role. This will open the Database role properties - db_owner window.
In the Database role properties - db_owner window, click on the Add button below the Members of this role pane.
In the Select Database User or Role window, click on the Browse button
The AS service account will be listed in the Browse for Objects window. Select the checkbox for the account and click OK.
Back in the Select Database User or Role window, click OK.
You should now see the AS service account listed as a Role Member in the Members of this role pane of the Database role properties - db_owner window.
Click OK.
I had to go an extra step to Gayan Dasanayake's answer given above as I was still encountering permission errors when I completed all the steps.
In my case, I had to add the user 'NT SERVICE\MSSQLServerOLAPService' to the actual database as well and grant 'select' permission on all the dimension and fact tables via the 'Securables' section by right-clicking on the users properties in SMSS.