dbTalk Databases Forums  

AS2005: processing from a custom application vs Mngmt Studio process... problem...

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


Discuss AS2005: processing from a custom application vs Mngmt Studio process... problem... in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Jéjé
 
Posts: n/a

Default AS2005: processing from a custom application vs Mngmt Studio process... problem... - 07-26-2006 , 02:26 PM






Hi,

I have a web page where I execute an XML/A script to start to process a cube
("<base cube>"), this cube is linked to another cube ("<Visible cube>").
the process command works fine, the cube is processed correctly.

But, when I click make a connection in management studio to browse the
visible cube, I receive an error. I have to click reconnect a second time to
access my cube.

If I execute the same XML/A script to do the process but from management
studio himself, then everything works fine!
I can create my connection see the new values in the cube without receiving
any error.

so, why processing from the web site cause an error while the exact same
script executed in mngmt studio don't generate this error????

The error is:
Error in the OLAP storage engine: the version of the linked file « measure
group », with the name "<base cube>" as changed.
Restart the operation to solve the problem.
(error translated from a french error message)

"<base cube>" is the name of the processed cube, while I'm refreshing the
connection of the second cube. (the visible cube)

I'm using the XMLAClient API to execute my XML/A Script.

Other tests done:
executing a standard MDX query against my visible cube after I do the web
based process return nothing (no error but no result), reexecuting the query
(without doing anything else) and the result is returned correctly.
executing a query against the <base cube> after the process works fine, only
the cubes where this one is linked generate the error.

any idea of what's appends?

thanks.

Jerome.



Reply With Quote
  #2  
Old   
Jéjé
 
Posts: n/a

Default Re: AS2005: processing from a custom application vs Mngmt Studio process... problem... - 07-26-2006 , 04:36 PM






ok,, after a lots of tests I have found the reason....

1 of the partitions in the <Base Cube> use the proactive caching feature.
After I have disabled it the web based process is ok and the first
connection to the cube no longer generate no result or errors.

but to be honest, I don't know why processing from the web or from
management studio produce the error or not!!!
if the problem is really linked to the proactive caching, then in the 2
cases I should suffer the first connection access issue.

Does the management studio access do something more when we execute an XML/A
script from his interface?


"Jéjé" <willgart_A_ (AT) hotmail_A_ (DOT) com> wrote

Quote:
Hi,

I have a web page where I execute an XML/A script to start to process a
cube ("<base cube>"), this cube is linked to another cube ("<Visible
cube>").
the process command works fine, the cube is processed correctly.

But, when I click make a connection in management studio to browse the
visible cube, I receive an error. I have to click reconnect a second time
to access my cube.

If I execute the same XML/A script to do the process but from management
studio himself, then everything works fine!
I can create my connection see the new values in the cube without
receiving any error.

so, why processing from the web site cause an error while the exact same
script executed in mngmt studio don't generate this error????

The error is:
Error in the OLAP storage engine: the version of the linked file « measure
group », with the name "<base cube>" as changed.
Restart the operation to solve the problem.
(error translated from a french error message)

"<base cube>" is the name of the processed cube, while I'm refreshing the
connection of the second cube. (the visible cube)

I'm using the XMLAClient API to execute my XML/A Script.

Other tests done:
executing a standard MDX query against my visible cube after I do the web
based process return nothing (no error but no result), reexecuting the
query (without doing anything else) and the result is returned correctly.
executing a query against the <base cube> after the process works fine,
only the cubes where this one is linked generate the error.

any idea of what's appends?

thanks.

Jerome.





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.