locked
An unhandled exception of type 'System.NullReferenceException' occurred in PowerBI.Api.Client.dll RRS feed

  • Question

  •    PowerBIClient.Do(api =>
                {
                    var datasets = api.GetDatasets();
                });

    here in calling of this getdatasets method null reference exception throwing. 

    • Moved by Tina-Shi Monday, June 29, 2015 10:21 AM not related to the vstest
    Friday, June 19, 2015 12:30 PM

Answers

All replies

  • Hi Priya_i31,

    Thank you for posting in MSDN forum.

    Since this forum is discuss the VS Test, so as you said the error message:

    >>An unhandled exception of type 'System.NullReferenceException' occurred in PowerBI.Api.Client.dll

    Could you please tell me which type project you create with using the PowerBI.Api.Client.dll?

    If possible, I suggest you could share me more detailed code about your issue so that we will further help you solve this issue.

    Best Regards,


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Monday, June 22, 2015 7:37 AM
  • Might try them over here.

    https://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=csharpgeneral%2Cvbgeneral%2Cvcgeneral%2Cwinforms&filter=alltypes&sort=lastpostdesc

     

     

     


    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows]

    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

    • Proposed as answer by Mike Laughlin Tuesday, July 14, 2015 10:26 PM
    • Marked as answer by Just Karl Friday, July 24, 2015 8:48 PM
    Sunday, July 5, 2015 4:22 PM
  • Hello,

    I'd post on the Stack overflow, under the PowerBI tag:

    http://stackoverflow.com/questions/tagged/powerbi

    Karl


    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
    My Blog: Unlock PowerShell
    My Book: Windows PowerShell 2.0 Bible
    My E-mail: -join('6D73646E5F6B61726C406F75746C6F6F6B2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}})


    • Edited by Just Karl Tuesday, July 14, 2015 9:33 PM
    • Proposed as answer by Mike Laughlin Tuesday, July 14, 2015 10:26 PM
    • Marked as answer by Just Karl Friday, July 24, 2015 8:48 PM
    Tuesday, July 14, 2015 9:23 PM