问题
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
回答1:
I did not understand about the ComputerName$, but I was able to resolve my Cube deployment error. Below are the steps:
- Double click the data source in the Analysis Project Click
- Impersonation Information tab
- Select Use a specific Windows user name and password
- Enter user name and password and click OK
- Process the Cube
:)
回答2:
Get your Windows Username and Password from SSMS and use it in the impersonation info area as shown below:
回答3:
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.
回答4:
I was having the same issue:
OLEDE Error: Login failed for user 'DOMAIN\ComputerName$'.;28000
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
回答5:
- Run 'Sql Server Configuration Manager' and check 'Log On As' account name of SQL Server Analysis Services (...name...).
- Copy this account name (double click to open and then copy)
- Open 'SQL Server Management Studio' and login to 'Database Engine'.
- Go to Security > Logins click on 'New Login...' and give the copied name.
- Restart
Should be able to deploy now.
回答6:
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.
来源:https://stackoverflow.com/questions/18702987/olede-error-login-failed-for-user-domain-computername-28000