SQL Server Parser: The syntax for the ImpersonationInfo object is incorrect, If the ImpersonateAccount value is used for ImpersonationInfo

vtwuwzda  于 2023-03-07  发布在  其他
关注(0)|答案(3)|浏览(146)

I am trying to deploy a cube for the first time on my PC. I have run SSMS as an Admin and made myself (Gary-pc\gary, using Windows authentication) an admin. Doing this got me past the error message user does not have permission to create a new object in 'GARY-PC', or the object does not exist. When I deploy the cube now, I get the error: the syntax for the ImpersonationInfo object is incorrect. If the ImpersonateAccount value is used for ImpersonationInfo, then the Account property cannot be empty. I have not (knowingly! LOL) set up anything related to impersonation.

emeijp43

emeijp431#

I've resolved the problem with this:

  • Double click on data source
  • Select impersonation
  • Choose use credentials of user

As @user1335419 says.

f45qwnt8

f45qwnt82#

I tried changing the impersonation to "Credentials of User" and although I was successful in deploying the cube, I could not process it. I ended up getting an error that said:
"The datasource contains an ImpersonationMode that is not supported for processing operations"

So I changed the impersonation from "Credentials of User" to "Inherit" and was able to process. I don't know if the first deployment would have worked with "Inherit", but thought I would share my experience.

lx0bsm1f

lx0bsm1f3#

I've solved it with @napstercake's solution too. I choosed Use the service account in Impersonation info tab

相关问题