Win Samples

Posted by: danreber on 3 August 2017, 3:48 pm EST

  • Posted 3 August 2017, 3:48 pm EST

    Are there any samples ready for WinForms?



    Thanks
  • Replied 3 August 2017, 3:48 pm EST

    I saw those but I can't connect, not sure why. I just wanted to go through the code to see what is happening.
  • Replied 3 August 2017, 3:48 pm EST

    It could be that I don't have Analysis Services set up properly. I may have to wait until the next ddAnalysis release because I am not proficient with Analysis Services.



    Thanks
  • Replied 3 August 2017, 3:48 pm EST

    Dan,

    If you installed and setup Analysis Services, you will still need to build the Adventure Works data cube (it's a separate step). In order to do this you will need to navigate to the Adventure Works project located here: %Program Files%\Microsoft SQL Server\90\Tools\Samples\AdventureWorks Analysis Services Project\Enterprise\Adventure Works.sln

    Once you open the project, you will need to 'Build' the cube. This process could take up to 5 minutes (just say 'Yes' and 'Ok' to all the prompts). You will be able to verify that it is working by right clicking on the cube in the Solution Explorer and choosing 'Browse Cube...'. If the Analysis Services pivot table control displays with no problem you were successful.

    Hope this helps,
    Luc
  • Replied 3 August 2017, 3:48 pm EST

    The cube was already built but I can't connect. I will try running the setup on the server instelf.
  • Replied 3 August 2017, 3:48 pm EST

    Dan,

    There is currently a single sample that uses the Windows Forms controls. We do plan to provide more samples in the future when we have our public API exposed.

    The sample can be found here (assuming you installed to the default location): %My Documents%\Data Dynamics\Analysis\Samples\Windows Forms\Analysis.Sample.Demo.exe

    You can find various sample layout files here: %My Documents%\Data Dynamics\Analysis\Layouts\*.*

    Hope this helps,
    Luc
  • Replied 3 August 2017, 3:48 pm EST

    I got it to connect when is was installed directly on the server.
Need extra support?

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

Learn More

Forum Channels