I am trying to deploy an Analysis Services cube in SQL Server 2012. My user account is REALM\Merin
where REALM
is the domain and my computer's name is Hercules
. I am already in Analysis Service's administrator group. When I process the cube using SQL Server Data Tools, I get following error.
OLE DB error: OLE DB or ODBC error. Login failed for user 'REALM\Hercules$'.; 28000.
My user account is REALM\Merin but I don't know why it is complaining about user REALM\Hercules$. What does this account mean? A user with ComputerName + $ is strange to me. Someone help please.
Thanks, Merin
Get your Windows Username and Password from SSMS and use it in the impersonation info area as shown below:
Look into the "Impersonation Information" tab of you data source object in the cube. You probably selected "Use the service account", and this is
REALM\Hercules$
. And probably the account under which the Analysis Services service is running does not have access rights to the relational data source. Configure the impersonation in a way that the access is allowed, and processing should work.Below Steps Solve Cube Processing Error.
(For Visual Studio 2015 Data Tools/Business Intelligence Studio) Double Click Data Source to open Data Source Designer -> Impersonation Information (TAB) -> 1st Option: Enter Credentials-> Click OK
(For SQL SERVER Management Studio 2016) Double Click Data Source to open Data Source Properties -> Under Security Settings, Click Impersonation Info (dropdown) -> 1st Option: Enter Credentials -> Click OK.
I was having the same issue:
The fix in my situation was to:
Change the Analysis Service account from the default to a domain account
Grant the domain account read access to the data source
I did not understand about the ComputerName$, but I was able to resolve my Cube deployment error. Below are the steps:
:)
Should be able to deploy now.