US and Worldwide: +1 (866) 660-7555
Results 1 to 2 of 2

Thread: ADOMD Client. Error 404

  1. #1

    Default ADOMD Client. Error 404

    I have the simple cube, published with "Register XMLA Data Source".
    How can i open connection by adomd client from c#?
    I tried this ,

    AdomdConnection con = new AdomdConnection("Data Source=http://localhost:8080/mondrian/xmla; Initial Catalog=wdi;");
    con.Open();

    but get the error 404

  2. #2

    Default

    I was able to connect to the server xmla:
    AdomdConnection con = new AdomdConnection("Data Source=http://localhost:8080/pentaho/Xmla?userid=joe&password=password; Initial Catalog=wdi; User Id = joe; Password=password");
    con.Open();
    but now the error in line
    var cube = con.Cubes[0];
    "mondrian.olap.MondrianException: Mondrian Error:Internal error: Unknown database 'wdi'".
    DataSources.xml
    <DataSources>
    <DataSource>
    <DataSourceName>Provider=Mondrian;DataSource=Pentaho</DataSourceName>
    <DataSourceDescription>Pentaho BI Platform Datasources</DataSourceDescription>
    <URL>http://localhost:8080/pentaho/Xmla</URL>
    <DataSourceInfo>Provider=Mondrian</DataSourceInfo>
    <ProviderName>PentahoXMLA</ProviderName>
    <ProviderType>MDP</ProviderType>
    <AuthenticationMode>Unauthenticated</AuthenticationMode>
    <Catalogs>
    <Catalog name="wdi">
    <DataSourceInfo>Provider=mondrian;DataSource=wdi</DataSourceInfo>
    <Definition>solution:/wdi/wdi.xml</Definition>
    </Catalog>
    </Catalogs>
    </DataSource>
    </DataSources>
    What am I doing wrong?
    Last edited by kidar2; 10-10-2013 at 03:00 AM. Reason: add a question

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •