![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I have the following captured from a trace event. I'd like to run it within Management Studio. When I attempt to run it as XMLa, it throws the following error. Any tips to get it to run? I'm new to XMLA. Executing the query ... The RestrictionList element at line 7, column 134 (namespace urn:schemas-microsoft-com:xml-analysis) cannot appear under Envelope/Body/Execute/Command. Execution complete RestrictionList xmlns="urn:schemas-microsoft-com:xml-analysis" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" CATALOG_NAME>Sales Hourly</CATALOG_NAME CUBE_NAME>Sales</CUBE_NAME MEMBER_UNIQUE_NAME>[Sales].[Ad Category Drilldown].[All Ad Category].[ Subtotal]</MEMBER_UNIQUE_NAME TREE_OP>8</TREE_OP /RestrictionList PropertyList xmlns="urn:schemas-microsoft-com:xml-analysis" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" Catalog>Sales Hourly</Catalog MdxMissingMemberMode>Error</MdxMissingMemberMode LocaleIdentifier>1033</LocaleIdentifier DbpropMsmdMDXCompatibility>2</DbpropMsmdMDXCompatibility /PropertyList |
#3
| |||
| |||
|
|
The restrictions list appear in a Discover statement, for example: Discover xmlns="urn:schemas-microsoft-com:xml-analysis" RequestType>DISCOVER_XML_METADATA</RequestType Restrictions RestrictionList ObjectExpansion>ExpandObject</ObjectExpansion /RestrictionList /Restrictions Properties PropertyList Timeout>0</Timeout SspropInitAppName>Microsoft SQL Server Management Studio</SspropInitAppName LocaleIdentifier>1033</LocaleIdentifier ClientProcessID>3184</ClientProcessID /PropertyList /Properties /Discover You also need to know the RequestType. You mentioned you got the RestrictionsList and the PropertiesList from a trace event. Does that event also provides the RequestType ? Adrian "Jesse O." <jesperzz (AT) hotmail (DOT) com> wrote in message news:uh%23pCV6mGHA.732 (AT) TK2MSFTNGP04 (DOT) phx.gbl... I have the following captured from a trace event. I'd like to run it within Management Studio. When I attempt to run it as XMLa, it throws the following error. Any tips to get it to run? I'm new to XMLA. Executing the query ... The RestrictionList element at line 7, column 134 (namespace urn:schemas-microsoft-com:xml-analysis) cannot appear under Envelope/Body/Execute/Command. Execution complete RestrictionList xmlns="urn:schemas-microsoft-com:xml-analysis" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" CATALOG_NAME>Sales Hourly</CATALOG_NAME CUBE_NAME>Sales</CUBE_NAME MEMBER_UNIQUE_NAME>[Sales].[Ad Category Drilldown].[All Ad Category].[ Subtotal]</MEMBER_UNIQUE_NAME TREE_OP>8</TREE_OP /RestrictionList PropertyList xmlns="urn:schemas-microsoft-com:xml-analysis" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" Catalog>Sales Hourly</Catalog MdxMissingMemberMode>Error</MdxMissingMemberMode LocaleIdentifier>1033</LocaleIdentifier DbpropMsmdMDXCompatibility>2</DbpropMsmdMDXCompatibility /PropertyList |
#4
| |||
| |||
|
|
I have the following captured from a trace event. I'd like to run it within Management Studio. When I attempt to run it as XMLa, it throws the following error. Any tips to get it to run? I'm new to XMLA. Executing the query ... The RestrictionList element at line 7, column 134 (namespace urn:schemas-microsoft-com:xml-analysis) cannot appear under Envelope/Body/Execute/Command. Execution complete RestrictionList xmlns="urn:schemas-microsoft-com:xml-analysis" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" CATALOG_NAME>Sales Hourly</CATALOG_NAME CUBE_NAME>Sales</CUBE_NAME MEMBER_UNIQUE_NAME>[Sales].[Ad Category Drilldown].[All Ad Category].[ Subtotal]</MEMBER_UNIQUE_NAME TREE_OP>8</TREE_OP /RestrictionList PropertyList xmlns="urn:schemas-microsoft-com:xml-analysis" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" Catalog>Sales Hourly</Catalog MdxMissingMemberMode>Error</MdxMissingMemberMode LocaleIdentifier>1033</LocaleIdentifier DbpropMsmdMDXCompatibility>2</DbpropMsmdMDXCompatibility /PropertyList |
#5
| |||
| |||
|
|
Hi Jesse, what MDSCHEMA do you descover? MDSCHEMA_MEMBERS? Then you request schould have following form. Discover xmlns="urn:schemas-microsoft-com:xml-analysis" RequestType>DISCOVER_XML_METADATA</RequestType Restrictions RestrictionList CATALOG_NAME>Sales Hourly</CATALOG_NAME CUBE_NAME>Sales</CUBE_NAME MEMBER_UNIQUE_NAME [Sales].[Ad Category Drilldown].[All Ad Category].[Subtotal] /MEMBER_UNIQUE_NAME TREE_OP>8</TREE_OP /RestrictionList /Restrictions Properties PropertyList Catalog>Sales Hourly</Catalog MdxMissingMemberMode>Error</MdxMissingMemberMode LocaleIdentifier>1033</LocaleIdentifier DbpropMsmdMDXCompatibility>2</DbpropMsmdMDXCompatibility /PropertyList /Properties /Discover "Jesse O." <jesperzz (AT) hotmail (DOT) com> schrieb im Newsbeitrag news:uh%23pCV6mGHA.732 (AT) TK2MSFTNGP04 (DOT) phx.gbl... I have the following captured from a trace event. I'd like to run it within Management Studio. When I attempt to run it as XMLa, it throws the following error. Any tips to get it to run? I'm new to XMLA. Executing the query ... The RestrictionList element at line 7, column 134 (namespace urn:schemas-microsoft-com:xml-analysis) cannot appear under Envelope/Body/Execute/Command. Execution complete RestrictionList xmlns="urn:schemas-microsoft-com:xml-analysis" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" CATALOG_NAME>Sales Hourly</CATALOG_NAME CUBE_NAME>Sales</CUBE_NAME MEMBER_UNIQUE_NAME>[Sales].[Ad Category Drilldown].[All Ad Category].[ Subtotal]</MEMBER_UNIQUE_NAME TREE_OP>8</TREE_OP /RestrictionList PropertyList xmlns="urn:schemas-microsoft-com:xml-analysis" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" Catalog>Sales Hourly</Catalog MdxMissingMemberMode>Error</MdxMissingMemberMode LocaleIdentifier>1033</LocaleIdentifier DbpropMsmdMDXCompatibility>2</DbpropMsmdMDXCompatibility /PropertyList |
#6
| |||
| |||
|
|
Thanks again for your continuted help Vladimir. When running the query, I receive the following error, any ideas? And yes, It's 10 - MDSCHEMA_MEMBERS Executing the query ... XML for Analysis parser: The restriction, CATALOG_NAME, is not recognized by the server. Execution complete "Vladimir Chtepa" <vc.nospam (AT) diacom-systemhaus (DOT) nospam.de> wrote in message news:OoNaVzDnGHA.1204 (AT) TK2MSFTNGP04 (DOT) phx.gbl... Hi Jesse, what MDSCHEMA do you descover? MDSCHEMA_MEMBERS? Then you request schould have following form. Discover xmlns="urn:schemas-microsoft-com:xml-analysis" RequestType>DISCOVER_XML_METADATA</RequestType Restrictions RestrictionList CATALOG_NAME>Sales Hourly</CATALOG_NAME CUBE_NAME>Sales</CUBE_NAME MEMBER_UNIQUE_NAME [Sales].[Ad Category Drilldown].[All Ad Category].[Subtotal] /MEMBER_UNIQUE_NAME TREE_OP>8</TREE_OP /RestrictionList /Restrictions Properties PropertyList Catalog>Sales Hourly</Catalog MdxMissingMemberMode>Error</MdxMissingMemberMode LocaleIdentifier>1033</LocaleIdentifier DbpropMsmdMDXCompatibility>2</DbpropMsmdMDXCompatibility /PropertyList /Properties /Discover "Jesse O." <jesperzz (AT) hotmail (DOT) com> schrieb im Newsbeitrag news:uh%23pCV6mGHA.732 (AT) TK2MSFTNGP04 (DOT) phx.gbl... I have the following captured from a trace event. I'd like to run it within Management Studio. When I attempt to run it as XMLa, it throws the following error. Any tips to get it to run? I'm new to XMLA. Executing the query ... The RestrictionList element at line 7, column 134 (namespace urn:schemas-microsoft-com:xml-analysis) cannot appear under Envelope/Body/Execute/Command. Execution complete RestrictionList xmlns="urn:schemas-microsoft-com:xml-analysis" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" CATALOG_NAME>Sales Hourly</CATALOG_NAME CUBE_NAME>Sales</CUBE_NAME MEMBER_UNIQUE_NAME>[Sales].[Ad Category Drilldown].[All Ad Category].[ Subtotal]</MEMBER_UNIQUE_NAME TREE_OP>8</TREE_OP /RestrictionList PropertyList xmlns="urn:schemas-microsoft-com:xml-analysis" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" Catalog>Sales Hourly</Catalog MdxMissingMemberMode>Error</MdxMissingMemberMode LocaleIdentifier>1033</LocaleIdentifier DbpropMsmdMDXCompatibility>2</DbpropMsmdMDXCompatibility /PropertyList |
#7
| |||
| |||
|
|
I have the following captured from a trace event. I'd like to run it within Management Studio. When I attempt to run it as XMLa, it throws the following error. Any tips to get it to run? I'm new to XMLA. Executing the query ... The RestrictionList element at line 7, column 134 (namespace urn:schemas-microsoft-com:xml-analysis) cannot appear under Envelope/Body/Execute/Command. Execution complete RestrictionList xmlns="urn:schemas-microsoft-com:xml-analysis" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" CATALOG_NAME>Sales Hourly</CATALOG_NAME CUBE_NAME>Sales</CUBE_NAME MEMBER_UNIQUE_NAME>[Sales].[Ad Category Drilldown].[All Ad Category].[ Subtotal]</MEMBER_UNIQUE_NAME TREE_OP>8</TREE_OP /RestrictionList PropertyList xmlns="urn:schemas-microsoft-com:xml-analysis" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" Catalog>Sales Hourly</Catalog MdxMissingMemberMode>Error</MdxMissingMemberMode LocaleIdentifier>1033</LocaleIdentifier DbpropMsmdMDXCompatibility>2</DbpropMsmdMDXCompatibility /PropertyList |
#8
| |||
| |||
|
#9
| |||
| |||
|
#10
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |