Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Anonymous
Not applicable

Getting Error while embedding dashboard

I am trying to embed dashboard by following this link https://github.com/Microsoft/PowerBI-CSharp

I have registed the application in https://dev.powerbi.com/apps?type=web

And got the clientid and clientsecret keys.

Replaced them in WebConfig file.

When i tried to run this i get the following errors.

 

Error.PNGError1.PNG

 

I am completely new to CSharp.

So please suggest me to get this error resolved.

Thank you.

Mohan V

1 REPLY 1
Eric_Zhang
Microsoft Employee
Microsoft Employee

@Anonymous

The github sample works without problem in my test. The error message "unable to read data from the transport connection an existing connection was forcibly closed by remote host" seems related to network&proxy, have you tried running the sample in another network, say at your home PC?

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.