cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
azitony
Regular Visitor

File contains corrupted data

Hi

 

Previously, PowerBI Desktop was working very smoothly.

Today, when I stared the application, I got this message "File contains corrupted data". I googled for the reason and got that this is due to using customized chart. Indeed, Yesterday I was learning how to use custom map chart.

 

My problem is that I could not find a solution for this Issue; I tried to repair even reinstall the application but it did not work.

 

Your assistance is highly appreciated.

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support
Community Support

Re: File contains corrupted data

Hi @azitony,

 

1. Please delete your desktop firstly.

 

2. Delete the Cache and CEF folders in the paths as below.

 

C:\Users\username\Microsoft\Power BI Desktop Store App

C:\Users\username\AppData\Local\Microsoft\Power BI Desktop

 

3. Reinstall your Power BI desktop and try again.

 

Capture.PNG

Regards,

Frank

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

View solution in original post

14 REPLIES 14
Community Support
Community Support

Re: File contains corrupted data

Hi @azitony,

 

1. Please delete your desktop firstly.

 

2. Delete the Cache and CEF folders in the paths as below.

 

C:\Users\username\Microsoft\Power BI Desktop Store App

C:\Users\username\AppData\Local\Microsoft\Power BI Desktop

 

3. Reinstall your Power BI desktop and try again.

 

Capture.PNG

Regards,

Frank

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

View solution in original post

azitony
Regular Visitor

Re: File contains corrupted data

Dear @v-frfei-msft

 

Thank you for your reply.

 

The first folder "C:\Users\username\Microsoft\Power BI Desktop Store App" wasn't exicst on my PC.

 

I deleted the mentioned folders from the scond one and power BI worked.

 

But when I added shape map again and restarted the program, the Issue returned.

 

Best regards,

Community Support
Community Support

Re: File contains corrupted data

Hi @azitony,

 

Could you find the paths then?

 

C:\Users\username\AppData\Local\Microsoft\Power BI

C:\Users\username\AppData\Local\Microsoft\Power BI Desktop

 

Then delete all the folders in the both paths and reinstall the Power BI desktop.

 

Regards,

Frank

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.
Microsoft
Microsoft

Re: File contains corrupted data

Great worked for me.

 

Of note you do have to rename the path names "username" with your username for example C:\Users\JOEBLOGGS\Microsoft\Power BI Desktop Store App

 

Ian

azitony
Regular Visitor

Re: File contains corrupted data

Dear @iandpike

 

I changed the username to mine, and when I reinstalled the program, it worked fine.

 

The problem is once I activate shape map visual, PowerBI request for a restart to the program, after the restart, I receive the same error message.

 

Have I done anything wrong and can I do anything solve this issue.

 

Best regards,

Microsoft
Microsoft

Re: File contains corrupted data

Hi

 

Sorry, my issue seemed the same, but reinstalled app based on above when I was getting the corrupt file message and now working okay.

 

Not seen the issue with the map, only my Power BI Desktop (via Store) and thats working okay now.

 

Ian

Lilylv Helper I
Helper I

Re: File contains corrupted data

Hi @v-frfei-msft,

 

When i upgraded the pbi desktop this month, this issue occured to me. I tried to delete the folders you mentioned and reinstalled pbi desktop, but it not work. What shall I do to fix it?

 

Best Regards,

Lilylv Helper I
Helper I

Re: File contains corrupted data

I tired to reinstalled it in another path, the problem fixed. It seems some files cause this problem in the old folder.

mikyi_ro Helper I
Helper I

Re: File contains corrupted data

so this happens whenever we use custom visuals? 

Helpful resources

Announcements
Announcing the New Spanish Forum

Announcing the New Spanish Forum

Do you need help in Spanish? Check out our new Spanish community section.

April 2020 Community Highlights

April 2020 Community Highlights

Info on our Super Users, MBAS content and badges, and updates to our support articles. - Read the full Community Highlights.

MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

Top Solution Authors
Top Kudoed Authors