Cannot find dimension member - in a name-binding funct



I am seeing an interesting, inconsistant error in Analysis Services queries.

I have a MOLAP cube with a big dimension (about 6 million members). I have
the VLDMThreshold set to about 10 million on the server -- otherwise
processing the cube takes forever. The dimension is relatively flat, so I
have a hidden grouping level between the top level and the leaf level. The
leaf level has Unsigned Big Integer keys (the member key is the same as the
member name), and both member keys and member names are set to true.

After opening a connection to the cube, the first time I slice on the big
dimension, I get a "Formula error - cannot find dimension member - in a
name-binding function." If I execute the SAME query again with the
connection still open, the query succeeds. If I close the connection, reopen
it, and execute the query again, it fails again. This is true whether I make
the query via the MDX sample application or via a VB.Net object.

The problem doesn't happen when I make the keys Varchars. But when they are
Varchars, the dimension is larger, and so the server frequently runs out of
memory.

In my VB.Net, I'm working around the problem by manually opening the
connection to the cube, catching the Formula Error exception and running the
query again before closing the connection. But maybe I'm missing something?
Anyone else gotten this to work without having to run the same query twice?

-- Jonathan

http://kerblog.com/earlyedition/archive/2005/04/21/424.aspx
.



Relevant Pages

  • RE: cannot find dimension member in a name-binding function
    ... I had the same problem once - after openning the connection I got "cannot ... find dimension member" error, but from the 2nd run on evrything went fine. ... After this the same query started to work normally, ...
    (microsoft.public.sqlserver.olap)
  • cannot find dimension member in a name-binding function
    ... leaf level has Unsigned Big Integer keys (the member key is the same as the ... member name), and both member keys and member names are set to true. ... After opening a connection to the cube, the first time I slice on the big ... If I execute the SAME query again with the ...
    (microsoft.public.sqlserver.olap)
  • Cannot find dimension member - in a name-binding funct
    ... leaf level has Unsigned Big Integer keys (the member key is the same as the ... member name), and both member keys and member names are set to true. ... After opening a connection to the cube, the first time I slice on the big ... If I execute the SAME query again with the ...
    (microsoft.public.sqlserver.olap)
  • RE: filtering on a member that doesnt exist
    ... "Michael Swart" wrote: ... > If the cube is processed from a database with no data, the query will ... > fail when querying a table with -1 since -1 is not yet a member of the ...
    (microsoft.public.sqlserver.olap)
  • filtering on a member that doesnt exist
    ... Sorry if this is a newbie type question. ... If the cube is processed from a database with no data, the query will ... fail when querying a table with -1 since -1 is not yet a member of the ...
    (microsoft.public.sqlserver.olap)

Loading