Cube data using SAAS, localhost/api/dataengine/cube returns empty page

Posted by: elisabethruizm on 16 March 2018, 8:11 am EST

    • Post Options:
    • Link

    Posted 16 March 2018, 8:11 am EST

    I have this code in Startup class

    app.UseDataEngineProviders()
                    .AddCube("cube", @"Data source=localhost;Provider=MSOLAP.5;Initial catalog=OLAPsig", "Tenebrosa Mart Final");
    

    but when I run the application and write in the url: localhost:1234/api/dataengine/cube to see the result, the page is empty!

    I need your help. I have to connect my web aplplication with a cube data

  • Posted 18 March 2018, 6:31 pm EST

  • Posted 6 September 2018, 12:39 am EST

    i have the same issue fields file is returned empty (json with an empty array), its most probably authentication or a network issue(proxy 407) try calling the http request localhost:{your port}/api/dataengine/cube/fields it will show you a detailed error , and also did an sql profiling to check what was the user that is accessing the ssas cube , make sure that this user is authenticated and with credentials in the roles table

  • Posted 6 September 2018, 3:57 pm EST

    Hi Wesam,

    Please make sure that you are able to access SSAS cube. Further, from version 4.0.20182.160, the OLAP supports direct SSAS cube binding. Please refer to the following blog:

    https://www.grapecity.com/en/blogs/connect-microsoft-ssas-cubes-with-mvc-olap

    Hope it helps to resolve issues.

    Please let us know if you have any further queries.

    ~Manish

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels