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

Unexpected error and report can not be opened

I am facing Frown (Error)  Unexpected error issue when trying opeing my report.

ALthough last time closing of report was fine and there was no issue.

 

How to open the report as Power Bi does not provide any option how to correct the error and close it.

 

Stack Trace:
System.IO.InvalidDataException: Found invalid data while decoding.
   at System.IO.Compression.Inflater.DecodeBlock(Boolean& end_of_block_code_seen)
   at System.IO.Compression.Inflater.Decode()
   at System.IO.Compression.Inflater.Inflate(Byte[] bytes, Int32 offset, Int32 length)
   at System.IO.Compression.DeflateStream.Read(Byte[] array, Int32 offset, Int32 count)
   at MS.Internal.IO.Packaging.CompressStream.Read(Byte[] buffer, Int32 offset, Int32 count)
   at MS.Internal.IO.Zip.ProgressiveCrcCalculatingStream.Read(Byte[] buffer, Int32 offset, Int32 count)
   at MS.Internal.IO.Zip.ZipIOModeEnforcingStream.Read(Byte[] buffer, Int32 offset, Int32 count)
   at System.IO.Stream.InternalCopyTo(Stream destination, Int32 bufferSize)
   at Microsof

6 REPLIES 6
Super User
Super User

Re: Unexpected error and report can not be opened

Turn on Tracing, File | Options and settings | Options | Diagnostics and try to open the report. When you get the error, send a frown using the smiley icon above the ribbon, it will send a screen shot, trace logs, etc. to support.


I have book! Learn Power BI from Packt


Did I answer your question? Mark my post as a solution!

Proud to be a Datanaut!

Moderator v-yuezhe-msft
Moderator

Re: Unexpected error and report can not be opened

Hi @sbahugu2,

Does the error occur when you open the specific PBIX file or all the PBIX files? What operations do you take in the PBIX file last time ? If the issue occurs only with a PBIX file. I would recommend you check if the PBIX file is corrupted. You can create a zip file of the PBIX file and check if there are any corrupted files in the zip folder.

Thanks,
Lydia Zhang

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
sbahugu2 Regular Visitor
Regular Visitor

Re: Unexpected error and report can not be opened

Hello Thanks smoupre ,

I have submitted as per suggestions.

Will post if I get the help

sbahugu2 Regular Visitor
Regular Visitor

Re: Unexpected error and report can not be opened

Hello Lydia

 

Below are two different cases I am facing the issue.

 

Case 1#: I have created a PBIX file in June version. That was working fine until I upgraded my Power BI desktop  to July release (2.37.4464.602 64-bit). After installation of pbix latest version I am not able to open the pbix file although last time saving of file was successful and there was no error.  

 

Case 2#: I have created a power BI report and while refreshing it started showing unexpected error and never refreshed the data. I have closed the report and not able to open that report any more. 

 

I renamed the report to zip and tried to extract I got error on file DataMashup.

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

[Window Title]
WinZip

[Main Instruction]
******* DataMashup: Invalid compressed data to extract.

[OK]

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

 

 

There were no other steps I had performed Opend the report in previous version of Power BI desktop and everything was working fine. I was getting update notification so I closed power BI( without any error in closing the opened report) and updated the latest version. After this when I tried opening the report I am facing issue.And this issue is in 3 different reports

 

 

 

Highlighted
Moderator v-yuezhe-msft
Moderator

Re: Unexpected error and report can not be opened

Hi @sbahugu2,

What is the result when you use other tools such as WINRAR or 7-zip?


Thanks,
Lydia Zhang

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
sbahugu2 Regular Visitor
Regular Visitor

Re: Unexpected error and report can not be opened

Lydia thanks,

          I dont have other softwares installed on my machine. Also it would not be possible to install these in Office machine. Will try in some other machine and share with you.

Helpful resources

Announcements
Virtual Launch Event

Microsoft Business Applications October Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

Power BI Helps Homeless and Trouble Youth

Power BI Helps Homeless and Trouble Youth

We spoke with Power BI Super User, Greg Deckler, about his charity work

MBAS Gallery

Watch Sessions On Demand!

Continue your learning in our online communities.

Users Online
Currently online: 48 members 1,147 guests
Please welcome our newest community members: