dbTalk Databases Forums  

MDX - Getting an “An unexpected internal error”

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


Discuss MDX - Getting an “An unexpected internal error” in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Dejan R.
 
Posts: n/a

Default MDX - Getting an “An unexpected internal error” - 04-15-2005 , 09:58 AM






I am running an ASP page to retrieve all base levels for 7 Dimensions. It
works perfect until I increase the number of leaves in a specific dimension
(train).

MDX:

SELECT {[Time].[2004.OCT], [Time].[2004.NOV], [Time].[2004.DEC],
[Time].[2005.JAN], [Time].[2005.FEB], [Time].[2005.MAR], [Time].[2005.APR],
[Time].[2005.MAY], [Time].[2005.JUN], [Time].[2005.JUN], [Time].[2005.AUG],
[Time].[2005.SEP]} ON COLUMNS , { Hierarchize(Descendants([RESCENTER].[" &
AC1 & "],1,LEAVES)) * Hierarchize(Descendants([ACCOUNT].[840300],999,LEAVES))
* Hierarchize(Descendants([BUSLINE].[All_BL],999,LEAVES)) *
Hierarchize(Descendants([FUNCTN].[All_FN],999,LEAVES)) *
Hierarchize(Descendants([LOCATION].[All_LC],999,LEAVES)) *
Hierarchize(Descendants([TRAIN].[All_RT],3,LEAVES)) *
Hierarchize(Descendants([CATEGORY].[Budget],1,LEAVES))} ON ROWS FROM [FIS]
WHERE ( [Measures].[SIGNEDDATA] )


The error that I am getting back from the server is:

Microsoft® OLE DB Provider for Analysis Services error '80004005'
An unexpected internal error has occurred.

I am assuming that I have some kind of an error in my MDX syntax. Could
somebody please take a look at this.

Thank you.


Reply With Quote
  #2  
Old   
SQL McOLAP
 
Posts: n/a

Default RE: MDX - Getting an “An unexpected internal error” - 04-15-2005 , 11:56 AM






Paste that MDX into the sample app and run it. What is the error you get, if
any?

"Dejan R." wrote:

Quote:
I am running an ASP page to retrieve all base levels for 7 Dimensions. It
works perfect until I increase the number of leaves in a specific dimension
(train).

MDX:

SELECT {[Time].[2004.OCT], [Time].[2004.NOV], [Time].[2004.DEC],
[Time].[2005.JAN], [Time].[2005.FEB], [Time].[2005.MAR], [Time].[2005.APR],
[Time].[2005.MAY], [Time].[2005.JUN], [Time].[2005.JUN], [Time].[2005.AUG],
[Time].[2005.SEP]} ON COLUMNS , { Hierarchize(Descendants([RESCENTER].[" &
AC1 & "],1,LEAVES)) * Hierarchize(Descendants([ACCOUNT].[840300],999,LEAVES))
* Hierarchize(Descendants([BUSLINE].[All_BL],999,LEAVES)) *
Hierarchize(Descendants([FUNCTN].[All_FN],999,LEAVES)) *
Hierarchize(Descendants([LOCATION].[All_LC],999,LEAVES)) *
Hierarchize(Descendants([TRAIN].[All_RT],3,LEAVES)) *
Hierarchize(Descendants([CATEGORY].[Budget],1,LEAVES))} ON ROWS FROM [FIS]
WHERE ( [Measures].[SIGNEDDATA] )


The error that I am getting back from the server is:

Microsoft® OLE DB Provider for Analysis Services error '80004005'
An unexpected internal error has occurred.

I am assuming that I have some kind of an error in my MDX syntax. Could
somebody please take a look at this.

Thank you.


Reply With Quote
  #3  
Old   
Dejan R.
 
Posts: n/a

Default RE: MDX - Getting an “An unexpected internal error” - 04-15-2005 , 12:41 PM



In the case "Hierarchize(Descendants([TRAIN].[All_RT],1,LEAVES)) *" it works
fine, once I increase the leaves
"Hierarchize(Descendants([TRAIN].[All_RT],3,LEAVES)) *" it gives me this
error:

Microsoft® OLE DB Provider for Analysis Services error '80004005'
An unexpected internal error has occurred.

"SQL McOLAP" wrote:

Quote:
Paste that MDX into the sample app and run it. What is the error you get, if
any?

"Dejan R." wrote:

I am running an ASP page to retrieve all base levels for 7 Dimensions. It
works perfect until I increase the number of leaves in a specific dimension
(train).

MDX:

SELECT {[Time].[2004.OCT], [Time].[2004.NOV], [Time].[2004.DEC],
[Time].[2005.JAN], [Time].[2005.FEB], [Time].[2005.MAR], [Time].[2005.APR],
[Time].[2005.MAY], [Time].[2005.JUN], [Time].[2005.JUN], [Time].[2005.AUG],
[Time].[2005.SEP]} ON COLUMNS , { Hierarchize(Descendants([RESCENTER].[" &
AC1 & "],1,LEAVES)) * Hierarchize(Descendants([ACCOUNT].[840300],999,LEAVES))
* Hierarchize(Descendants([BUSLINE].[All_BL],999,LEAVES)) *
Hierarchize(Descendants([FUNCTN].[All_FN],999,LEAVES)) *
Hierarchize(Descendants([LOCATION].[All_LC],999,LEAVES)) *
Hierarchize(Descendants([TRAIN].[All_RT],3,LEAVES)) *
Hierarchize(Descendants([CATEGORY].[Budget],1,LEAVES))} ON ROWS FROM [FIS]
WHERE ( [Measures].[SIGNEDDATA] )


The error that I am getting back from the server is:

Microsoft® OLE DB Provider for Analysis Services error '80004005'
An unexpected internal error has occurred.

I am assuming that I have some kind of an error in my MDX syntax. Could
somebody please take a look at this.

Thank you.


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.