dbTalk Databases Forums  

CubeDefs are not working

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


Discuss CubeDefs are not working in the microsoft.public.sqlserver.olap forum.



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

Default CubeDefs are not working - 07-03-2004 , 12:28 AM






In a ASP I have this:

<%
Option Explicit
Dim cat, cube
Set cat = Server.CreateObject("ADOMD.Catalog")
cat.ActiveConnection = Application("OLAPconn")
Response.Write cat.Name & "<br/>"
For Each cube In cat.CubeDefs
Response.Write cube.Name & "<br/"
Next
%>

The Application("OLAPconn") is defined in global.asa as:

<SCRIPT LANGUAGE=VBScript RUNAT=Server>
Sub Application_OnStart()
Application("OLAPconn")="Provider=MSOLAP.2;" & _
"Integrated Security=SSPI;" & _
"Data Source=MyServer;" & _
"Initial Catalog=FoodMart 2000;"
End Sub
</SCRIPT>

There is no error. But the return is this:

FoodMart 2000
Budget

That's it. The remaining cubes:

HR
Sales
Trained Cube
Warehouse
Warehouse and Sales

are not being returned at all. Just the first is. I suppose the CubeDefs is not working. This in Windows 2000 SP3 Microsoft SQL Server 2000 SP3 MDAC 2.7 SP1 Refresh Microsoft Internet Explorer 5.5 SP2.

Any ideas how to get CubeDefs to work? Thanks.

Roles in all the cubes are:

Administrator
Everyone
IIS_MachineName
User
Domain Usrs
Guests
Network

All of these have logon and login rights in SQL 2000 Server. Maybe there is a login and/or a logon right that needs to be granted somewhere.

--
George Hester
__________________________________

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.