Re: Running Create global cube Mdx queries in XMLA - Analysis Server 2

Tech-Archive recommends: Fix windows errors by optimizing your registry



You can't do this with XMLA. Creating a local cube requires local machine
activity which obviously an XMLA request cannot handle. The error raised
below is handled by OLE DB or ADOMD.NET to actually create the local cube.

Thanks,
Akshai

--
--
This posting is provided "AS IS" with no warranties, and confers no rights
Please do not send email directly to this alias. This alias is for newsgroup
purposes only.

"Lance A" <Lance A@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:C406CF52-5CAF-4111-A18C-3FF6E34F8C22@xxxxxxxxxxxxxxxx
> Has anyone been successful in creating a cube file using XMLA?
>
> In Management Studio I ran an MDX query that completed successfully:
>
> CREATE GLOBAL CUBE [Test]
> STORAGE 'c:\cube\test3'
> FROM [Adventure Works DW]
> (MEASURE [Adventure Works DW].[Average Rate],DIMENSION [Adventure Works
> DW].[Dim Currency],DIMENSION [Adventure Works DW].[Dim Time])
>
> I then tried the same query in XMLA, and received errors:
>
> <Execute xmlns="urn:schemas-microsoft-com:xml-analysis">
> <Command>
> <Statement>
> CREATE GLOBAL CUBE [Test]
> STORAGE 'c:\cube\test3'
> FROM [Adventure Works DW]
> (MEASURE [Adventure Works DW].[Average Rate],DIMENSION [Adventure
> Works DW].[Dim Currency],DIMENSION [Adventure Works DW].[Dim Time])
> </Statement>
> </Command>
> <Properties>
> <PropertyList>
> </PropertyList>
> </Properties>
> </Execute>
>
> Response was:
>
> Executing the query ...
> CREATE GLOBAL CUBE statement. FILENAME|c:\cube\test4|DDL|
> <Batch xmlns="http://schemas.microsoft.com/analysisservices/2003/engine";
> xmlns:xsd="http://www.w3.org/2001/XMLSchema";
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance
>
> .....
>
> Execution complete
>
> I would like to create cube files using XMLA, but looks like I'm going to
> have to resort to msolap.3


.



Relevant Pages

  • Re: Calculated member on a offline cube...
    ... the calculated member will not be in the local cube if any of the ... if you are using CREATE GLOBAL CUBE. ...
    (microsoft.public.sqlserver.olap)
  • Re: Data source name not found with XMLA 1.1
    ... - I've been trying different authentication methods for the XMLA ... "Datasourceinfo" one, but the datasources.xml is ... - Since the AS cube is on the same machine, ... - Remembering another installation problem, we installed MDAC 2.8, ...
    (microsoft.public.data.xmlanalysis)
  • Re: Scripting cube role via XMLA or AMO?
    ... One way to capture the XMLA would be to set up your project in BIDS to ... Then start up SQL Profiler and set it to profile ... CubePermission cubeperm; ... // Members of this role can discover and query the Adventure Works cube. ...
    (microsoft.public.sqlserver.olap)
  • Re: Scripting cube role via XMLA or AMO?
    ... This is one example of setting up the cube permission xmla script: ... <CellPermissions> ...
    (microsoft.public.sqlserver.olap)
  • HOW TO USE XMLA FOR DEVELOPING OLAP BROWSER
    ... any material or tutorials available for it. ... XMLA can use to access all kinds of cubes like make in Microsoft ... My purpose is that i have make a cube in any cube designer. ...
    (microsoft.public.sqlserver.olap)