dbTalk Databases Forums  

Cannot find database

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


Discuss Cannot find database in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
vzsnake@gmail.com
 
Posts: n/a

Default Cannot find database - 09-07-2006 , 04:52 AM






Hello,everyone.

I'm beginner in OLAP and I need some help.
So, I'm using SQL SERVER 2000 without Analyses Service (not installed).


I wanted to create simple query to select some data from cube which is
on another server with analyse services installed.
EXEC sp_addlinkedserver
@server = 'San',
@srvproduct = '',
@provider = 'MSOLAP',
@datasrc = 'San',
@catalog = 'Sales'
GO

but then a run openquery I get a message that database Sales not
found. But it there,beacouse I can select data from any table if add
server as sql server!
If I remove database and run openquery I get an error "cannot open cube
'Test'".

Can anyone explain me where is my error and how to solve thisproblem?
Thanks a lot.


Reply With Quote
  #2  
Old   
Darren Gosbell
 
Posts: n/a

Default Re: Cannot find database - 09-08-2006 , 07:57 AM






There are a couple of things that you need to get right in order to get
this working.

1. The SQL Server where you are creating the linked server needs to be
running under a domain account that has permission to query the cube.
When you query the linked server it is SQL Server that then queries the
cube on behalf of the end user.

2. You need to have the MSOLAP provider setup to run in-process. The
MSOLAP provider will not work if this option is not set. When you create
a linked server from Enterprise Manager there is a button for the
provider options, you will find the in-process option in there.

--
Regards
Darren Gosbell - SQL Server MVP
Blog: http://www.geekswithblogs.net/darrengosbell

In article <1157622763.299708.295560 (AT) i3g2000cwc (DOT) googlegroups.com>,
vzsnake (AT) gmail (DOT) com says...
Quote:
Hello,everyone.

I'm beginner in OLAP and I need some help.
So, I'm using SQL SERVER 2000 without Analyses Service (not installed).


I wanted to create simple query to select some data from cube which is
on another server with analyse services installed.
EXEC sp_addlinkedserver
@server = 'San',
@srvproduct = '',
@provider = 'MSOLAP',
@datasrc = 'San',
@catalog = 'Sales'
GO

but then a run openquery I get a message that database Sales not
found. But it there,beacouse I can select data from any table if add
server as sql server!
If I remove database and run openquery I get an error "cannot open cube
'Test'".

Can anyone explain me where is my error and how to solve thisproblem?
Thanks a lot.



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.