asp.net - ADOMD.net Impersonate Windows User ID -
i trying connect ssas cube uses windows authentication
my web application stored on seperate server sql analysis instance (lets says serverwebapp
) , ssas cube on servercube
olapcon = new adomdconnection("provider=msolap.4; roles=administrator; integrated security=sspi; persist security info=true; effectiveusername=<domain\username>; " _ & " initial catalog=<dbname>; data source=<servercube>; ")
as ssas uses windows authentication have tried impersonate windows login specifing effectiveusername
however, doesn't seem work getting follow error:
either user, domain\serverwebapp, not have access <dbname> database, or database not exist.
as can see using web apps login id not windows id
how impersonate windows id in ssas adomd connection string?
this tripped me when used effectiveusername. msdn:
to use [the effectiveusername] property, caller must have administrative permissions in analysis services.
Comments
Post a Comment