dbTalk Databases Forums  

Security Problem Accessing Analysis Services from SQL Server

microsoft.public.sqlserver.olap microsoft.public.sqlserver.olap


Discuss Security Problem Accessing Analysis Services from SQL Server in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
RJ Smith
 
Posts: n/a

Default Security Problem Accessing Analysis Services from SQL Server - 04-14-2004 , 01:49 PM






I am trying to access analysis services from within SQL server to query an
olap data source, but get an 'Access denied' error. When I run the query in
the SQL server sitting on the same box as the olap database, I get the
error, but if I run the query in the SQL server sitting on my desktop,
against the same server, I don't get the error message. My initial though
was that this might be some sort of account delegation issue, but want to
make sure before I start messing around with active directory and kerberos.
Does anyone know what's causing this error and how to fix it?

Example query:
select *
FROM OPENROWSET
(
'MSOLAP.2',
'DATASOURCE=cubeserver;CATALOG="MyCubeDB"',
'SELECT { [User Count]} ON COLUMNS, NON EMPTY {[InstallDate].[Daily
Date].Members} ON ROWS FROM [Users]')

The error message:

Server: Msg 7399, Level 16, State 1, Line 1
OLE DB provider 'MSOLAP.2' reported an error. Access denied.
OLE DB error trace [OLE/DB Provider 'MSOLAP.2' IUnknown::QueryInterface
returned 0x80070005: Access denied.].



Reply With Quote
  #2  
Old   
 
Posts: n/a

Default Security Problem Accessing Analysis Services from SQL Server - 04-15-2004 , 09:09 AM






Hi,

Have you installed SP3 on the server and PTSLite.exe on
the client?

Ta
Paul
Quote:
-----Original Message-----
I am trying to access analysis services from within SQL
server to query an
olap data source, but get an 'Access denied' error. When
I run the query in
the SQL server sitting on the same box as the olap
database, I get the
error, but if I run the query in the SQL server sitting
on my desktop,
against the same server, I don't get the error message.
My initial though
was that this might be some sort of account delegation
issue, but want to
make sure before I start messing around with active
directory and kerberos.
Does anyone know what's causing this error and how to fix
it?

Example query:
select *
FROM OPENROWSET
(
'MSOLAP.2',
'DATASOURCE=cubeserver;CATALOG="MyCubeDB"',
'SELECT { [User Count]} ON COLUMNS, NON EMPTY
{[InstallDate].[Daily
Date].Members} ON ROWS FROM [Users]')

The error message:

Server: Msg 7399, Level 16, State 1, Line 1
OLE DB provider 'MSOLAP.2' reported an error. Access
denied.
OLE DB error trace [OLE/DB Provider 'MSOLAP.2'
IUnknown::QueryInterface
returned 0x80070005: Access denied.].


.


Reply With Quote
  #3  
Old   
RJ Smith
 
Posts: n/a

Default Re: Security Problem Accessing Analysis Services from SQL Server - 04-15-2004 , 11:25 AM



Yes, the server is on SP3 for both Analysis Services and SQL Server. The
server is the same machine as the client, so I wouldn't think I would need
to install PTSLite -- that's the OLEDB driver, correct?

--RJ
<anonymous (AT) discussions (DOT) microsoft.com> wrote

Quote:
Hi,

Have you installed SP3 on the server and PTSLite.exe on
the client?

Ta
Paul
-----Original Message-----
I am trying to access analysis services from within SQL
server to query an
olap data source, but get an 'Access denied' error. When
I run the query in
the SQL server sitting on the same box as the olap
database, I get the
error, but if I run the query in the SQL server sitting
on my desktop,
against the same server, I don't get the error message.
My initial though
was that this might be some sort of account delegation
issue, but want to
make sure before I start messing around with active
directory and kerberos.
Does anyone know what's causing this error and how to fix
it?

Example query:
select *
FROM OPENROWSET
(
'MSOLAP.2',
'DATASOURCE=cubeserver;CATALOG="MyCubeDB"',
'SELECT { [User Count]} ON COLUMNS, NON EMPTY
{[InstallDate].[Daily
Date].Members} ON ROWS FROM [Users]')

The error message:

Server: Msg 7399, Level 16, State 1, Line 1
OLE DB provider 'MSOLAP.2' reported an error. Access
denied.
OLE DB error trace [OLE/DB Provider 'MSOLAP.2'
IUnknown::QueryInterface
returned 0x80070005: Access denied.].


.




Reply With Quote
  #4  
Old   
Andrey Taranov
 
Posts: n/a

Default Re: Security Problem Accessing Analysis Services from SQL Server - 04-16-2004 , 02:31 PM



Maybe your SQL server has running under windows account what do not have
rights to access AS cube?

"RJ Smith" <rjs (AT) 180solutions (DOT) com> сообщил/сообщила в новостях следующее:
news:ONyc2ElIEHA.3536 (AT) TK2MSFTNGP09 (DOT) phx.gbl...
Quote:
I am trying to access analysis services from within SQL server to query an
olap data source, but get an 'Access denied' error. When I run the query
in
the SQL server sitting on the same box as the olap database, I get the
error, but if I run the query in the SQL server sitting on my desktop,
against the same server, I don't get the error message. My initial though
was that this might be some sort of account delegation issue, but want to
make sure before I start messing around with active directory and
kerberos.
Does anyone know what's causing this error and how to fix it?

Example query:
select *
FROM OPENROWSET
(
'MSOLAP.2',
'DATASOURCE=cubeserver;CATALOG="MyCubeDB"',
'SELECT { [User Count]} ON COLUMNS, NON EMPTY {[InstallDate].[Daily
Date].Members} ON ROWS FROM [Users]')

The error message:

Server: Msg 7399, Level 16, State 1, Line 1
OLE DB provider 'MSOLAP.2' reported an error. Access denied.
OLE DB error trace [OLE/DB Provider 'MSOLAP.2' IUnknown::QueryInterface
returned 0x80070005: Access denied.].





Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.