dbTalk Databases Forums  

Bug when setting description property in AS2005 Dimension Usage screen?

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


Discuss Bug when setting description property in AS2005 Dimension Usage screen? in the microsoft.public.sqlserver.olap forum.



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

Default Bug when setting description property in AS2005 Dimension Usage screen? - 06-29-2006 , 04:31 AM






There is an apparent bug with the Dimension Usage screen in the Cube
editor for AS2005. If I enter anything in the Description property for
a dimension used in the cube, when I attempt to deploy the cube I get
the following error:

The Description element at line 1748, column 25 (namespace
http://schemas.microsoft.com/analysi...es/2003/engine) cannot
appear under
Envelope/Body/Execute/Command/Batch/Alter/ObjectDefinition/Cube/Dimensions/Dimension

The only way to clear the error seems to be to edit the code and remove
the <Description> element. Has anyone else seen this behaviour?

Is there a workaround? I want to populate the Description property,
because I want to use the metadata to build a web application that
provides documentation of the cube structures for business users.

I am using the developer edition with SP1 and hot fix build 2153.


Reply With Quote
  #2  
Old   
Vladimir Chtepa
 
Posts: n/a

Default Re: Bug when setting description property in AS2005 Dimension Usage screen? - 06-29-2006 , 05:14 AM






Hi,

I have the same bug and have asked the MS PSS.
They are thinking it about.

Vladimir Chtepa


"Graham Binner" <graham.binner (AT) aleagroup (DOT) com> schrieb im Newsbeitrag
news:1151573475.373948.112210 (AT) d56g2000cwd (DOT) googlegroups.com...
Quote:
There is an apparent bug with the Dimension Usage screen in the Cube
editor for AS2005. If I enter anything in the Description property for
a dimension used in the cube, when I attempt to deploy the cube I get
the following error:

The Description element at line 1748, column 25 (namespace
http://schemas.microsoft.com/analysi...es/2003/engine) cannot
appear under
Envelope/Body/Execute/Command/Batch/Alter/ObjectDefinition/Cube/Dimensions/Dimension

The only way to clear the error seems to be to edit the code and remove
the <Description> element. Has anyone else seen this behaviour?

Is there a workaround? I want to populate the Description property,
because I want to use the metadata to build a web application that
provides documentation of the cube structures for business users.

I am using the developer edition with SP1 and hot fix build 2153.




Reply With Quote
  #3  
Old   
Darren Gosbell
 
Posts: n/a

Default Re: Bug when setting description property in AS2005 Dimension Usage screen? - 06-29-2006 , 08:00 AM



With a bit of reading between the lines, BOL defines the elements that
can appear under .../Cube/Dimensions/Dimension as:

<CubeDimension>
<ID>...</ID>
<Name>...</Name>
<Translations>...</Translations>
<DimensionID>...</DimensionID>
<Visible>...</Visible>
<AllMemberAggregationUsage>...</AllMemberAggregationUsage>
<HierarchyUniqueNameStyle>...</HierarchyUniqueNameStyle>
<MemberUniqueNameStyle>...</MemberUniqueNameStyle>
<Attributes>...</Attributes>
<Hierarchies>...</Hierarchies>
<Annotations>...</Annotation>
</CubeDimension>

see: http://msdn2.microsoft.com/en-us/library/ms126687.aspx

Is there a reason you are not setting the description from within the
actual dimension itself?

--
Regards
Darren Gosbell [MCSD]
Blog: http://www.geekswithblogs.net/darrengosbell

In article <#fEUIT2mGHA.1208 (AT) TK2MSFTNGP03 (DOT) phx.gbl>, vc.nospam@diacom-
systemhaus.nospam.de says...
Quote:
Hi,

I have the same bug and have asked the MS PSS.
They are thinking it about.

Vladimir Chtepa


"Graham Binner" <graham.binner (AT) aleagroup (DOT) com> schrieb im Newsbeitrag
news:1151573475.373948.112210 (AT) d56g2000cwd (DOT) googlegroups.com...
There is an apparent bug with the Dimension Usage screen in the Cube
editor for AS2005. If I enter anything in the Description property for
a dimension used in the cube, when I attempt to deploy the cube I get
the following error:

The Description element at line 1748, column 25 (namespace
http://schemas.microsoft.com/analysi...es/2003/engine) cannot
appear under
Envelope/Body/Execute/Command/Batch/Alter/ObjectDefinition/Cube/Dimensions/Dimension

The only way to clear the error seems to be to edit the code and remove
the <Description> element. Has anyone else seen this behaviour?

Is there a workaround? I want to populate the Description property,
because I want to use the metadata to build a web application that
provides documentation of the cube structures for business users.

I am using the developer edition with SP1 and hot fix build 2153.





Reply With Quote
  #4  
Old   
Graham Binner
 
Posts: n/a

Default Re: Bug when setting description property in AS2005 Dimension Usage screen? - 06-29-2006 , 09:19 AM



Thanks for the information.

I may well end up relying on the description property in the actual
dimension. My intention was to use the description property on the
Dimension to capture general information about the purpose of the
dimension, but to use the description property in the Dimension Usage
window to capture any information specific to the usage of the
dimension within the cube (for example with role playing dimensions).


Darren Gosbell wrote:
Quote:
With a bit of reading between the lines, BOL defines the elements that
can appear under .../Cube/Dimensions/Dimension as:

CubeDimension
ID>...</ID
Name>...</Name
Translations>...</Translations
DimensionID>...</DimensionID
Visible>...</Visible
AllMemberAggregationUsage>...</AllMemberAggregationUsage
HierarchyUniqueNameStyle>...</HierarchyUniqueNameStyle
MemberUniqueNameStyle>...</MemberUniqueNameStyle
Attributes>...</Attributes
Hierarchies>...</Hierarchies
Annotations>...</Annotation
/CubeDimension

see: http://msdn2.microsoft.com/en-us/library/ms126687.aspx

Is there a reason you are not setting the description from within the
actual dimension itself?

--
Regards
Darren Gosbell [MCSD]
Blog: http://www.geekswithblogs.net/darrengosbell

In article <#fEUIT2mGHA.1208 (AT) TK2MSFTNGP03 (DOT) phx.gbl>, vc.nospam@diacom-
systemhaus.nospam.de says...
Hi,

I have the same bug and have asked the MS PSS.
They are thinking it about.

Vladimir Chtepa


"Graham Binner" <graham.binner (AT) aleagroup (DOT) com> schrieb im Newsbeitrag
news:1151573475.373948.112210 (AT) d56g2000cwd (DOT) googlegroups.com...
There is an apparent bug with the Dimension Usage screen in the Cube
editor for AS2005. If I enter anything in the Description property for
a dimension used in the cube, when I attempt to deploy the cube I get
the following error:

The Description element at line 1748, column 25 (namespace
http://schemas.microsoft.com/analysi...es/2003/engine) cannot
appear under
Envelope/Body/Execute/Command/Batch/Alter/ObjectDefinition/Cube/Dimensions/Dimension

The only way to clear the error seems to be to edit the code and remove
the <Description> element. Has anyone else seen this behaviour?

Is there a workaround? I want to populate the Description property,
because I want to use the metadata to build a web application that
provides documentation of the cube structures for business users.

I am using the developer edition with SP1 and hot fix build 2153.






Reply With Quote
  #5  
Old   
Vladimir Chtepa
 
Posts: n/a

Default Re: Bug when setting description property in AS2005 Dimension Usage screen? - 06-29-2006 , 09:48 AM



Hi Darren,

I need to set differing description for the role playing dimensions,
otherwise I can't explain business users, what is difference between them.
For example: "shipping date" and "delivery date". Nobody will be happy from
the description of the original "time" dimension in this place.

Thanks in advance,
Vladimir Chtepa

p.s.
There are many thing in MSDN2, espessially related to SSAS, from
MDSCHEMA_... documentation till AMO help that are very spacy and can't serve
as proven truth.


"Darren Gosbell" <jam (AT) newsgroups (DOT) nospam> schrieb im Newsbeitrag
news:MPG.1f0e79e7909ac36398995c (AT) news (DOT) microsoft.com...
Quote:
With a bit of reading between the lines, BOL defines the elements that
can appear under .../Cube/Dimensions/Dimension as:

CubeDimension
ID>...</ID
Name>...</Name
Translations>...</Translations
DimensionID>...</DimensionID
Visible>...</Visible
AllMemberAggregationUsage>...</AllMemberAggregationUsage
HierarchyUniqueNameStyle>...</HierarchyUniqueNameStyle
MemberUniqueNameStyle>...</MemberUniqueNameStyle
Attributes>...</Attributes
Hierarchies>...</Hierarchies
Annotations>...</Annotation
/CubeDimension

see: http://msdn2.microsoft.com/en-us/library/ms126687.aspx

Is there a reason you are not setting the description from within the
actual dimension itself?

--
Regards
Darren Gosbell [MCSD]
Blog: http://www.geekswithblogs.net/darrengosbell

In article <#fEUIT2mGHA.1208 (AT) TK2MSFTNGP03 (DOT) phx.gbl>, vc.nospam@diacom-
systemhaus.nospam.de says...
Hi,

I have the same bug and have asked the MS PSS.
They are thinking it about.

Vladimir Chtepa


"Graham Binner" <graham.binner (AT) aleagroup (DOT) com> schrieb im Newsbeitrag
news:1151573475.373948.112210 (AT) d56g2000cwd (DOT) googlegroups.com...
There is an apparent bug with the Dimension Usage screen in the Cube
editor for AS2005. If I enter anything in the Description property for
a dimension used in the cube, when I attempt to deploy the cube I get
the following error:

The Description element at line 1748, column 25 (namespace
http://schemas.microsoft.com/analysi...es/2003/engine) cannot
appear under
Envelope/Body/Execute/Command/Batch/Alter/ObjectDefinition/Cube/Dimensions/Dimension

The only way to clear the error seems to be to edit the code and remove
the <Description> element. Has anyone else seen this behaviour?

Is there a workaround? I want to populate the Description property,
because I want to use the metadata to build a web application that
provides documentation of the cube structures for business users.

I am using the developer edition with SP1 and hot fix build 2153.







Reply With Quote
  #6  
Old   
Vladimir Chtepa
 
Posts: n/a

Default Re: Bug when setting description property in AS2005 Dimension Usage screen? - 06-29-2006 , 10:42 AM



Hi Darren,

If you mean, that CubeDimension couldn't has description by design, how
could you explain, that AMO exposes Description as get/set property in
CubeDimension class?
Why BI studio allows developer set it manually?
I don't belive that both AMO and BI Studio Developers have implemented some
additional features, that conflict with engine.

Thanks in advance,
Vladimir Chtepa

"Darren Gosbell" <jam (AT) newsgroups (DOT) nospam> schrieb im Newsbeitrag
news:MPG.1f0e79e7909ac36398995c (AT) news (DOT) microsoft.com...
Quote:
With a bit of reading between the lines, BOL defines the elements that
can appear under .../Cube/Dimensions/Dimension as:

CubeDimension
ID>...</ID
Name>...</Name
Translations>...</Translations
DimensionID>...</DimensionID
Visible>...</Visible
AllMemberAggregationUsage>...</AllMemberAggregationUsage
HierarchyUniqueNameStyle>...</HierarchyUniqueNameStyle
MemberUniqueNameStyle>...</MemberUniqueNameStyle
Attributes>...</Attributes
Hierarchies>...</Hierarchies
Annotations>...</Annotation
/CubeDimension

see: http://msdn2.microsoft.com/en-us/library/ms126687.aspx

Is there a reason you are not setting the description from within the
actual dimension itself?

--
Regards
Darren Gosbell [MCSD]
Blog: http://www.geekswithblogs.net/darrengosbell

In article <#fEUIT2mGHA.1208 (AT) TK2MSFTNGP03 (DOT) phx.gbl>, vc.nospam@diacom-
systemhaus.nospam.de says...
Hi,

I have the same bug and have asked the MS PSS.
They are thinking it about.

Vladimir Chtepa


"Graham Binner" <graham.binner (AT) aleagroup (DOT) com> schrieb im Newsbeitrag
news:1151573475.373948.112210 (AT) d56g2000cwd (DOT) googlegroups.com...
There is an apparent bug with the Dimension Usage screen in the Cube
editor for AS2005. If I enter anything in the Description property for
a dimension used in the cube, when I attempt to deploy the cube I get
the following error:

The Description element at line 1748, column 25 (namespace
http://schemas.microsoft.com/analysi...es/2003/engine) cannot
appear under
Envelope/Body/Execute/Command/Batch/Alter/ObjectDefinition/Cube/Dimensions/Dimension

The only way to clear the error seems to be to edit the code and remove
the <Description> element. Has anyone else seen this behaviour?

Is there a workaround? I want to populate the Description property,
because I want to use the metadata to build a web application that
provides documentation of the cube structures for business users.

I am using the developer edition with SP1 and hot fix build 2153.







Reply With Quote
  #7  
Old   
Darren Gosbell
 
Posts: n/a

Default Re: Bug when setting description property in AS2005 Dimension Usage screen? - 06-30-2006 , 09:54 AM



Vladimir,

I did not say that CubeDimension does not have a description by design.
I just pointed out that BOL does not have it listed in the XMLA.

I am guessing that the documentation in BOL may have come from what ever
internal XSD is being used to validate the XMLA, hence the error. And I
agree that BOL is quite sparse in some places and even completely wrong
in others (if I find any of these I use the "send feedback" link and
they do end up getting fixed)

AMO and BI Studio ultimately end up sending XMLA commands to the server
and whether you try to set the description from BI Studio, AMO or XMLA
directly you always get an error like:

-------------------
The Description element at line 1280, column 31 (namespace
http://schemas.microsoft.com/analysi...es/2003/engine) cannot appear
under
Envelope/Body/Execute/Command/Alter/ObjectDefinition/Cube/Dimensions/Dim
ension.
------------------

I agree that role playing dimensions is an excellent reason to have a
separate description attached to the CubeDimension object. I would guess
that this property probably does exist in the engine, there is just no
way of setting it as the xmla is being rejected as invalid.

I think your only hope in the short term is if you can get some help
from PSS as I can't see a way of setting this property in the current
release of the product.

Good Luck

--
Regards
Darren Gosbell [MCSD]
Blog: http://www.geekswithblogs.net/darrengosbell

In article <u9u2TK5mGHA.2252 (AT) TK2MSFTNGP04 (DOT) phx.gbl>, vc.nospam@diacom-
systemhaus.nospam.de says...
Quote:
Hi Darren,

If you mean, that CubeDimension couldn't has description by design, how
could you explain, that AMO exposes Description as get/set property in
CubeDimension class?
Why BI studio allows developer set it manually?
I don't belive that both AMO and BI Studio Developers have implemented some
additional features, that conflict with engine.

Thanks in advance,
Vladimir Chtepa

"Darren Gosbell" <jam (AT) newsgroups (DOT) nospam> schrieb im Newsbeitrag
news:MPG.1f0e79e7909ac36398995c (AT) news (DOT) microsoft.com...
With a bit of reading between the lines, BOL defines the elements that
can appear under .../Cube/Dimensions/Dimension as:

CubeDimension
ID>...</ID
Name>...</Name
Translations>...</Translations
DimensionID>...</DimensionID
Visible>...</Visible
AllMemberAggregationUsage>...</AllMemberAggregationUsage
HierarchyUniqueNameStyle>...</HierarchyUniqueNameStyle
MemberUniqueNameStyle>...</MemberUniqueNameStyle
Attributes>...</Attributes
Hierarchies>...</Hierarchies
Annotations>...</Annotation
/CubeDimension

see: http://msdn2.microsoft.com/en-us/library/ms126687.aspx

Is there a reason you are not setting the description from within the
actual dimension itself?

--
Regards
Darren Gosbell [MCSD]
Blog: http://www.geekswithblogs.net/darrengosbell

In article <#fEUIT2mGHA.1208 (AT) TK2MSFTNGP03 (DOT) phx.gbl>, vc.nospam@diacom-
systemhaus.nospam.de says...
Hi,

I have the same bug and have asked the MS PSS.
They are thinking it about.

Vladimir Chtepa


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.