dbTalk Databases Forums  

Cannot connect to OLAP cube when querying data at lowest dimension via ASP web page

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


Discuss Cannot connect to OLAP cube when querying data at lowest dimension via ASP web page in the microsoft.public.sqlserver.olap forum.



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

Default Cannot connect to OLAP cube when querying data at lowest dimension via ASP web page - 09-14-2006 , 02:50 PM






Hi,

I'm getting error message when running MDX query pulling data via ASP
web page from lowest dimension (emp dimension). This same MDX
querystring runs OK via the MDX Sample Application, but errors out when
run via ASP web page. Strange thing is that the MDX querystring will
work from the ASP web page if looking at higher dimension (supervisor
dimension).

WORKER LEVEL MDX QUERY THAT DOESN'T WORK VIA WEB PAGE:
------------------------------------------------------------------------------------------------------------
SELECT {[Measures].[Qualified Units], [Measures].[Qualified Profit],
[Measures].[Qualified Unit Profit]} ON COLUMNS, non empty {[Product
Category Description].Members} ON ROWS FROM MAIN_REPORTING WHERE
([Sales], [Fri 08/18/06], [organization].[supervisor_name],
[emp].[worker_name])

SUPERVISOR LEVEL MDX QUERY THAT WORKS VIA WEB PAGE:
------------------------------------------------------------------------------------------------------
SELECT {[Measures].[Qualified Units], [Measures].[Qualified Profit],
[Measures].[Qualified Unit Profit]} ON COLUMNS, non empty {[Product
Category Description].Members} ON ROWS FROM MAIN_REPORTING WHERE
([Sales], [Fri 08/18/06], [supervisor_name])

I've verified the permissions to the cube MAIN_REPORTING and "Everyone"
and "NT Authority/Anonymous Logon" has unrestricted permissions to all
the dimensions and measures in the cube. Again, the worker level MDX
query works on the MDX Sample App, but not via the web page while the
supervisor level MDX query works on the web page.

Have tried searching through newsgroups but haven't found anything that
will work. Appreciate any help/insight anyone can give me.

Here's error message...

---------------------------------------------------------
Error Type:
Microsoft® OLE DB Provider for Analysis Services (0x80040E14)
Cannot connect to the server ''. The server is either not started or
too busy.
---------------------------------------------------------

Thanks,
Randy Ly
rly4444 (AT) gmail (DOT) com


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.