dbTalk Databases Forums  

Connection problems using Linked Server with OpenQuery to access Analysis Server

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


Discuss Connection problems using Linked Server with OpenQuery to access Analysis Server in the microsoft.public.sqlserver.olap forum.



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

Default Connection problems using Linked Server with OpenQuery to access Analysis Server - 06-15-2005 , 02:06 PM






Hello all,

I need to a very simple MDX query from a stored procedure, but am
having a hard time with the connection.

I get the below:

Server: Msg 7399, Level 16, State 1, Line 1
OLE DB provider 'MSOLAP' reported an error.
[OLE/DB provider returned message: Cannot initialize Microsoft® SQL
Server Analysis Services.]
OLE DB error trace [OLE/DB Provider 'MSOLAP' IDBInitialize::Initialize
returned 0x80004005: ].

I was also getting an Access Denied error before, that seemed to
disappear after I followed the advice of some post to check the "allow
in process" under provider options.

Can anyone point me to some information on how I need to set up the
linked server? It seems like I've tried every permutation of security
but am having no luck. On my own local sql server, with a local
Analysis Server, I can run an OpenQUery using a linked server to an
Analysis Server with no problem.

Or is there anyway way I could do some kind of trace on the Analysis
Server so I could see what my OpenQuery is trying to login as?

thanks,
Sylvia


Reply With Quote
  #2  
Old   
Dave Wickert [MSFT]
 
Posts: n/a

Default Re: Connection problems using Linked Server with OpenQuery to access Analysis Server - 06-15-2005 , 04:00 PM






The AS Ops Guide has some samples using OpenQuery via linked server, but it
doesn't address this specific error.
http://www.microsoft.com/technet/pro.../anservog.mspx

You might try using the AuditEvents registry setting, see:
http://msdn.microsoft.com/library/de...egsettings.asp
--
Dave Wickert [MSFT]
dwickert (AT) online (DOT) microsoft.com
Program Manager
BI SystemsTeam
SQL BI Product Unit (Analysis Services)
--
This posting is provided "AS IS" with no warranties, and confers no rights.


"Sylvia" <Puget4753 (AT) yahoo (DOT) com> wrote

Hello all,

I need to a very simple MDX query from a stored procedure, but am
having a hard time with the connection.

I get the below:

Server: Msg 7399, Level 16, State 1, Line 1
OLE DB provider 'MSOLAP' reported an error.
[OLE/DB provider returned message: Cannot initialize Microsoft® SQL
Server Analysis Services.]
OLE DB error trace [OLE/DB Provider 'MSOLAP' IDBInitialize::Initialize
returned 0x80004005: ].

I was also getting an Access Denied error before, that seemed to
disappear after I followed the advice of some post to check the "allow
in process" under provider options.

Can anyone point me to some information on how I need to set up the
linked server? It seems like I've tried every permutation of security
but am having no luck. On my own local sql server, with a local
Analysis Server, I can run an OpenQUery using a linked server to an
Analysis Server with no problem.

Or is there anyway way I could do some kind of trace on the Analysis
Server so I could see what my OpenQuery is trying to login as?

thanks,
Sylvia



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.