dbTalk Databases Forums  

CREATE GLOBAL CUBE question

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


Discuss CREATE GLOBAL CUBE question in the microsoft.public.sqlserver.olap forum.



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

Default CREATE GLOBAL CUBE question - 04-03-2006 , 12:11 PM






Hi

I try to create a local cube from my machine using VB6, my database is
AS2005 on a remote machine.

I logged the actions during a Excel 2003 generation of a local cube (see
below)

When I Connect I try:

cn.connectionstring = "Provider=MSOLAP.3;Data
Source=DEVSQL01;Initial Catalog=FoodMart 2000"
Call cn.Open(sConnection)

where sConneciton is the script below.

I keep getting an error stating "error during named instance information
is being retrieved ...", what am I missing?

Thanks
Klaus

CREATE GLOBAL CUBE [Warehouse1] STORAGE 'D:\Warehouse1.cub' FROM [Warehouse]
(
MEASURE [Warehouse].[Store Invoice],
MEASURE [Warehouse].[Supply Time],
MEASURE [Warehouse].[Warehouse Cost],
MEASURE [Warehouse].[Warehouse Sales],
MEASURE [Warehouse].[Units Shipped],
MEASURE [Warehouse].[Units Ordered],
MEASURE [Warehouse].[Warehouse Profit],

DIMENSION [Warehouse].[Product]
(
LEVEL [(All)],
LEVEL [Product Family],
LEVEL [Product Department],
LEVEL [Product Category],
LEVEL [Product Subcategory],
LEVEL [Brand Name],
LEVEL [Product Name]
),
DIMENSION [Warehouse].[Store]
(
LEVEL [(All)],
LEVEL [Store Country],
LEVEL [Store State],
LEVEL [Store City],
LEVEL [Store Name]
),
DIMENSION [Warehouse].[Store Size in SQFT]
(
LEVEL [(All)],
LEVEL [Store Sqft]
),
DIMENSION [Warehouse].[Store Type]
(
LEVEL [(All)],
LEVEL [Store Type]
),
DIMENSION [Warehouse].[Time]
(
LEVEL [Year],
LEVEL [Quarter],
LEVEL [Month]
),
DIMENSION [Warehouse].[Warehouse]
(
LEVEL [(All)],
LEVEL [Country],
LEVEL [State Province],
LEVEL [City],
LEVEL [Warehouse Name]
)

)

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.