dbTalk Databases Forums  

Can't get linked server to AS2000 to work

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


Discuss Can't get linked server to AS2000 to work in the microsoft.public.sqlserver.olap forum.



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

Default Can't get linked server to AS2000 to work - 10-07-2005 , 11:38 AM






I'm trying to get a linked server set up from a SQL2k box to an AS2K
box. I can create the linked server just fine, but when I try to
execute a query using OPENQUERY(), I get the following:

[OLE/DB provider returned message: Database 'FoodMart 2000' does not
exist.]
OLE DB error trace [OLE/DB Provider 'MSOLAP' IDBInitialize::Initialize
returned 0x80004005: ].
Msg 7399, Level 16, State 1, Line 1
OLE DB provider 'MSOLAP' reported an error.

I suspect this has to do with security but I'm not sure how to set up
the linked server since AS does not have a "standard login" concept. I
chose the option for using the login's current security context.

Do I need to do something to the AS 2000 box as well?


Reply With Quote
  #2  
Old   
BizWorld
 
Posts: n/a

Default Re: Can't get linked server to AS2000 to work - 10-07-2005 , 12:23 PM






Please make sure that you install SP3 or latest for Analysis server and SQL
Server.

Regards,

BizWorld

"Randy Knight" <knight.randy (AT) gmail (DOT) com> wrote

Quote:
I'm trying to get a linked server set up from a SQL2k box to an AS2K
box. I can create the linked server just fine, but when I try to
execute a query using OPENQUERY(), I get the following:

[OLE/DB provider returned message: Database 'FoodMart 2000' does not
exist.]
OLE DB error trace [OLE/DB Provider 'MSOLAP' IDBInitialize::Initialize
returned 0x80004005: ].
Msg 7399, Level 16, State 1, Line 1
OLE DB provider 'MSOLAP' reported an error.

I suspect this has to do with security but I'm not sure how to set up
the linked server since AS does not have a "standard login" concept. I
chose the option for using the login's current security context.

Do I need to do something to the AS 2000 box as well?




Reply With Quote
  #3  
Old   
dbahooker@hotmail.com
 
Posts: n/a

Default Re: Can't get linked server to AS2000 to work - 10-07-2005 , 05:28 PM



and make sure that the useraccount that SQL runs as (and/or the account
sql agent runs as) has enough perms to connect to AS


Reply With Quote
  #4  
Old   
Randy Knight
 
Posts: n/a

Default Re: Can't get linked server to AS2000 to work - 10-07-2005 , 06:44 PM



I'm certain they're both SP3 ... but I'll check on the service accounts.


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

Default Re: Can't get linked server to AS2000 to work - 10-07-2005 , 10:37 PM



Quote:
I suspect this has to do with security but I'm not sure how to set up
the linked server since AS does not have a "standard login" concept. I
chose the option for using the login's current security context.

Do I need to do something to the AS 2000 box as well?

When you use linked servers, the SQL box makes a connection to the AS2k
box and passes through the query. Unless you have set up Kerberos, one
server cannot pass a clients credentials to another server. As such the
"user" that connects to AS will be the user account that the SQL service
is running under. You will need to go into AS and assign this user
account to a role which has access to the database/cubes you are
interested in.

--
Regards
Darren Gosbell [MCSD]
<dgosbell_at_yahoo_dot_com>
Blog: http://www.geekswithblogs.net/darrengosbell


Reply With Quote
  #6  
Old   
dbahooker@hotmail.com
 
Posts: n/a

Default Re: Can't get linked server to AS2000 to work - 10-11-2005 , 12:41 PM



you can delegate authority without kerberos using 'SetSpn' i believe or
simply 'trust account for delegation'

for the service/account that SQL Server will run under


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

Default Re: Can't get linked server to AS2000 to work - 10-11-2005 , 05:42 PM



Quote:
you can delegate authority without kerberos using 'SetSpn' i believe or
simply 'trust account for delegation'

for the service/account that SQL Server will run under
I could be wrong, but I was pretty sure that the steps you are
describing are the ones you need to take to set up Kerberos. I think
Win2k3 uses kerberos for delegating trusts

Mosha has the exact steps for enabling Kerberos on his website at
http://www.mosha.com/msolap/articles...delegation.htm

--
Regards
Darren Gosbell [MCSD]
<dgosbell_at_yahoo_dot_com>
Blog: http://www.geekswithblogs.net/darrengosbell


Reply With Quote
  #8  
Old   
Randy Knight
 
Posts: n/a

Default Re: Can't get linked server to AS2000 to work - 10-13-2005 , 04:17 PM



The SQL Service account is a Domain Admin so it shouldn't matter, but I
explicity added it to a database role anyway.

Same Error as before:


Error 7399: OLE DB Provider 'MSOLAP' reported an error.

OLE DB error trace [OLE/DB Provider 'MSOLAP' IDBInitialize::Initialize
returned 0x80004005: ].


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.