January 18, 2010 at 6:25 am
Hi Friends,
I am running an OPENROWSET query to access data from other server:
SELECT a.* , 2 AS KpiId
FROM OPENROWSET
( 'MSOLAP','DATASOURCE=SQLServer1;Initial Catalog=ReportingDB;Integrated Security=SSPI',
' SELECT * FROM [Reporting Table1] ') as a
If I run this query with my own account(Sys Admin), i'm able to get the desired output. If I run this with a service account, which has read access, i'm getting below error:
Msg 7415, Level 16, State 1, Line 1
Ad hoc access to OLE DB provider 'MSOLAP' has been denied. You must access this provider through a linked server.
I have also enabled 'ADHOCRemoteQueries' and enabled 'Allow onprocess' for MSOLAP linked server provider.
Can anyone help on this?
Thanks and regards,
Subrahmanya Hegde
January 18, 2010 at 7:20 am
Maybe this will be useful for you to fix the issue:
I Hope this helps.
Regards,
Frank
Frank.
January 18, 2010 at 8:02 am
Thanks for the reply frank. I tried the 2nd option already, but it wasn't useful. This seems to be reported as a bug in SQL 2005. Not sure if it was resolved or not:
_https://connect.microsoft.com/SQLServer/feedback/ViewFeedback.aspx?FeedbackID=257494
I will look into the first link and try the things...
Again thanks for reply.
Subrahmanya Hegde
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply