dbTalk Databases Forums  

DSO server connection via ASP

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


Discuss DSO server connection via ASP in the microsoft.public.sqlserver.olap forum.



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

Default DSO server connection via ASP - 12-07-2003 , 11:27 PM






Hi

I am trying to retrieve a list of catalogs in an ASP page from an AS2K
server, using DSO (since one can't do that with ADOMD). I have the syntax
correct, except I am getting authentication issues *I think*.

When I log into the site, urinsg Basic Authentication and an OLAP Admin
account, the code returns the list. If I use a normal user's account - it
doesn't - even though this user has been given access to certain catalogs
and cubes on the server.

Is there something I could do better? Is there a way around it? Keep in
mind, I only want the list of relevant catalogs to be returned for that
user - not the entire list.

thanks
Avi



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

Default DSO server connection via ASP - 12-09-2003 , 04:10 AM






Hello Avi,
you can get a the list of catalog with ADOMD:

VB Syntax:
dim conn as new adodb.connection
dim rec as new adodb.recordset
conn.open "Provider=msol...."
set rec = conn.OpenSchema(adSchemaCatalogs....)

HTH
Jörg


Quote:
-----Original Message-----
Hi

I am trying to retrieve a list of catalogs in an ASP page
from an AS2K
server, using DSO (since one can't do that with ADOMD). I
have the syntax
correct, except I am getting authentication issues *I
think*.

When I log into the site, urinsg Basic Authentication and
an OLAP Admin
account, the code returns the list. If I use a normal
user's account - it
doesn't - even though this user has been given access to
certain catalogs
and cubes on the server.

Is there something I could do better? Is there a way
around it? Keep in
mind, I only want the list of relevant catalogs to be
returned for that
user - not the entire list.

thanks
Avi


.


Reply With Quote
  #3  
Old   
Avi Perez
 
Posts: n/a

Default Re: DSO server connection via ASP - 12-11-2003 , 05:39 PM



thanks

that did the trick

"Joerg" <anonymous (AT) discussions (DOT) microsoft.com> wrote

Hello Avi,
you can get a the list of catalog with ADOMD:

VB Syntax:
dim conn as new adodb.connection
dim rec as new adodb.recordset
conn.open "Provider=msol...."
set rec = conn.OpenSchema(adSchemaCatalogs....)

HTH
Jörg


Quote:
-----Original Message-----
Hi

I am trying to retrieve a list of catalogs in an ASP page
from an AS2K
server, using DSO (since one can't do that with ADOMD). I
have the syntax
correct, except I am getting authentication issues *I
think*.

When I log into the site, urinsg Basic Authentication and
an OLAP Admin
account, the code returns the list. If I use a normal
user's account - it
doesn't - even though this user has been given access to
certain catalogs
and cubes on the server.

Is there something I could do better? Is there a way
around it? Keep in
mind, I only want the list of relevant catalogs to be
returned for that
user - not the entire list.

thanks
Avi


.




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.