dbTalk Databases Forums  

Accessing locaL cube from excel

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


Discuss Accessing locaL cube from excel in the microsoft.public.sqlserver.olap forum.



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

Default Accessing locaL cube from excel - 08-08-2006 , 03:12 AM






Hello

I have created a local cube using two ways:
1) in Excel 2003 when creating a pivot table from an olap (SQL 2005) server
2) using CREATE GLOBAL CUBE (in VB6)

The result (for both 1) and 2)) is a cub-file which can be opened in our
selfwritten browsing application (VB6 using office web controls 10 / 11
for presentation).

If I try to open this in excel using "pivot table / chart report" with
an external datasource, I can connect to the local file, but when I try
to get the data in the sheet, I always get an error (for both 1) and 2))
stating "Excel cannot find OLAP cube ABC. Either the OLAP database has
been changed or you don't have permissions to connect to the cube."

Interesting detail: although display is possible using the selfwritten
app (see above, using pivottable and chartspace controls), you get an
error when refreshing the controls (using .RefreshData-method or Refresh
in the context menu), this error states "Failed to get data ... current
session is invalid due to structural changes to the database".

Online access to the (local) OLAP server database is without any
problems (for both Excel and own app).

Any clues?

Thanks in advance
Klaus Wiesel

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.