Anonymous's avatar
Anonymous
Not applicable
7 years ago
Status:
Needs Info

Method not found: 'Void Microsoft.PowerBI.Api.V2.PowerBIClient..ctor

I am using samle from App Owns Data sample https://github.com/Microsoft/PowerBI-Developer-Samples

 

When I run the application, I am getting error:

Method not found: 'Void Microsoft.PowerBI.Api.V2.PowerBIClient..ctor(System.Uri, Microsoft.Rest.ServiceClientCredentials, System.Net.Http.DelegatingHandler[])'.

 

I tried to resolve it by using solution provided at below link but I am still egtiing the same issue. I am using Visual studio 2017

https://community.powerbi.com/t5/Developer/Method-not-found-Void-Microsoft-PowerBI-Api-V1-PowerBIClient/m-p/129466/highlight/true#M4468

7 Comments

  • Anonymous's avatar
    Anonymous
    Not applicable

    Anonymous,


    I make a test using the app owns data sample in Visual Studio 2017, everything works well. Could you please describe more details about what changes you make to the VS code? Do you only enter the following values in web.config file?

    clientId 

    groupId 

    pbiUsername

    pbiPassword



    Regards,
    Lydia

  • Anonymous's avatar
    Anonymous
    Not applicable

    Anonymous,

    What is the target framework of your project? I am using .Net framework 4.6.1.

    Regards,
    Lydia

  • Anonymous's avatar
    Anonymous
    Not applicable

    I am also using .net framework 4.6.1.

  • Anonymous's avatar
    Anonymous
    Not applicable

     Hi,

     

    I got the same issue.

    Any solutions?

     

    Thanks,

    bern