dbTalk Databases Forums  

Adding new member to an existing role in Analysis Services 2005

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


Discuss Adding new member to an existing role in Analysis Services 2005 in the microsoft.public.sqlserver.olap forum.



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

Default Adding new member to an existing role in Analysis Services 2005 - 09-01-2005 , 04:15 PM






Hi,

I am using Yukon Beta 2 Analysis services.

I have couple of Cubes and related dimensions. I access these using MDX
query from web application. In the Roles for this database in Analysis
Services i added a new member which i want to use from my web app. The
previous member in Roles work fine.
This new member has exactly same set of permissions on Cubes,Dimensions and
datasources.
Now as this new member when i run my MDX query, it gives me with following
error:

Exception Error Code : -1056309153(An MDX expression was expected. A full
statement was specified.)

The syntax of MDX is perfectly correct. If i change the user to previous
user, the same MDX query run fine and give result.
Here is the MDX query which gives error on new member but works fine for old
one:

SELECT {[Measures].[Duration] } ON COLUMNS

FROM ( SELECT ( [Client16_Time Dimension].[Time].[00:00:00] : [Client16_Time
Dimension].[Time].[23:59:59],* ) ON COLUMNS FROM (SELECT ( [Client16_Date
Dimension].[Date].[2005/05/01] : [Client16_Date
Dimension].[Date].[2005/05/28],* ) ON COLUMNS FROM [Network8_PlayLogCube]))
CELL PROPERTIES VALUE

Now if the change this MDX to a much simpler version without any filter
expressions:
SELECT {[Measures].[Duration] } ON COLUMNS
FROM [Network8_PlayLogCube])) CELL PROPERTIES VALUE

It works for new user also. After adding this new member to Role i processed
cubes and dimensions again.
I don't know why this is happening, there is no problem in Syntax of MDX
query,but error seems like there is some error there. The MDX query runs fine
with old member.

If anyone knows why this is happening or have any ideas please help.


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.