Forum Discussion
PBIX file corrupted
Thanks for the idea -- tried that with no luck, I still get the same error message unfortunately.
I guess I should have probably elaborated on the idea a little. The thought was that you could copy the first file to a zip file. Create another new PBIX file, rename that to a zip. Go into the first zip and copy out certain files like "Data Model" and paste into your new zip folder, rename the zip to pbix and see if you can open it.
Long shot, but might work.
- willnic10 years agoAdvocate II
Thanks for clarifying. I tried your solution, but it appears that the corrupt PBIX file (the first zip file I created) does not have the underlying files in it. When I zip the folder and try to access, it says "Windows cannot open the folder" then has the file name saying it is "invalid." I tried this with my other PBIX files that are working fine, and when I do the same procedure and open the zip file, I see a Report subfolder, along with the files like DataMashup, DataModel, DiagramState,Metadata, etc. I am wondering if this is part of the problem?
The weird thing is the PBIX file shows that it is 30 MB so clearly the data is there -- but it's like the file lost its underlying components?
- Greg_Deckler10 years agoCommunity Champion
Seems like it is truly corrupted at the file structural level. So, all of the data is there but something in the structure of the file has become corrupted such that it essentially is no longer a valid "zip" file. So when trying to view it via native zip tools, it is not really a valid file. Wonder if it happened during file compression, something went haywire.
Sorry man, you're probably out of luck unless you can find some sort of "zip repair" tool that will work on it. There are some available, Bing "zip repair tool" and you will get hits from CNET and PC World.
- willnic10 years agoAdvocate II
Got it -- thanks so much for your advice!