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
7 Comments
- AnonymousNot 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 - AnonymousNot applicable
- AnonymousNot applicable
Anonymous
Thanks for replying
I followed the steps give at:
https://docs.microsoft.com/en-us/power-bi/developer/embed-sample-for-customers
and specified the details:
applicationId
workspaceId
reportId
pbiUsername
pbiPassword
After giving the details and running in VS 2017, this error is coming:
- AnonymousNot applicable
Anonymous,
What is the target framework of your project? I am using .Net framework 4.6.1.
Regards,
Lydia - AnonymousNot applicable
I am also using .net framework 4.6.1.
- AnonymousNot applicable
Anonymous,
I would recommend you open a ticket in Power BI support site.
Regards,
Lydia - AnonymousNot applicable
Hi,
I got the same issue.
Any solutions?
Thanks,
bern