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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Can't open PowerBI

So, yesterday I was working fine in Power BI, but today when I wanted to resume work, the Power BI Desktop app don't open at all, I tried to installed again but it won't work.

The following error appears as a copy.

 

Feedback Type:
Frown (Error)
Error Message:
File contains corrupted data.
Stack Trace:
   at MS.Internal.IO.Zip.ZipIOEndOfCentralDirectoryBlock.FindPosition(Stream archiveStream)
   at MS.Internal.IO.Zip.ZipIOEndOfCentralDirectoryBlock.SeekableLoad(ZipIOBlockManager blockManager)
   at MS.Internal.IO.Zip.ZipArchive..ctor(Stream archiveStream, FileMode mode, FileAccess access, Boolean streaming, Boolean ownStream)
   at MS.Internal.IO.Zip.ZipArchive.OpenOnStream(Stream stream, FileMode mode, FileAccess access, Boolean streaming)
   at System.IO.Packaging.ZipPackage..ctor(Stream s, FileMode mode, FileAccess access, Boolean streaming)
   at System.IO.Packaging.Package.Open(Stream stream, FileMode packageMode, FileAccess packageAccess, Boolean streaming)
   at Microsoft.Mashup.EngineHost.Services.LibraryFile.PqxFile.Open(Byte[] bytes)
   at Microsoft.Mashup.EngineHost.Services.LibraryFile.New(Byte[] bytes, LibraryFile& result, Exception& error)
   at Microsoft.Mashup.EngineHost.Services.LibraryService.LibraryInfo..ctor(LibraryService service, ILibrary library)
   at Microsoft.Mashup.EngineHost.Services.LibraryService.GetLibraryInfo(ILibrary library)
   at Microsoft.Mashup.EngineHost.Services.LibraryService.EnumerateAndLoadLibraries()
   at Microsoft.Mashup.EngineHost.Services.LibraryService.Reinitialize(ILibraryProvider[] providers)
   at Microsoft.Mashup.Client.UI.Shared.UiExtensibility.UiExtensionHost.LoadModules(Trace innerTrace, IList`1 binaryModules, ILibraryProvider[] providers)
   at Microsoft.Mashup.Client.UI.Shared.UiExtensibility.UiExtensionHost.Activate(IList`1 libraryExtensions, IApplicationPaths applicationPaths, ILibraryProvider internalProvider, String remoteExtensionsUrl)
   at Microsoft.Mashup.Client.UI.Shared.UiExtensibility.UiExtensionHostManager.RegisterAndActivateUiExtensionHost(UiExtensionHost uiExtensionHost, IList`1 libraryExtensions, IApplicationPaths applicationPaths, ILibraryProvider internalProvider, String remoteExtensionsUrl)
   at Microsoft.PowerBI.Client.Windows.PowerQueryExtensionsLoader.<Load>b__0()
   at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Microsoft.PowerBI.Client.Windows.IExceptionHandlerExtensions.<>c__DisplayClass7.<HandleExceptionsWithNestedTasks>b__6()
   at Microsoft.Mashup.Host.Document.ExceptionHandlerExtensions.HandleExceptions(IExceptionHandler exceptionHandler, Action action)
Stack Trace Message:
File contains corrupted data.
Invocation Stack Trace:
   at Microsoft.Mashup.Host.Document.ExceptionExtensions.GetCurrentInvocationStackTrace()
   at Microsoft.Mashup.Client.UI.Shared.StackTraceInfo..ctor(String exceptionStackTrace, String invocationStackTrace, String exceptionMessage)
   at Microsoft.PowerBI.Client.Windows.Telemetry.PowerBIUserFeedbackServices.GetStackTraceInfo(Exception e)
   at Microsoft.PowerBI.Client.Windows.Telemetry.PowerBIUserFeedbackServices.ReportException(IWindowHandle activeWindow, IUIHost uiHost, FeedbackPackageInfo feedbackPackageInfo, Exception e, Boolean useGDICapture)
   at Microsoft.Mashup.Client.UI.Shared.UnexpectedExceptionHandler.<>c__DisplayClass1.<HandleException>b__0()
   at Microsoft.Mashup.Client.UI.Shared.UnexpectedExceptionHandler.HandleException(Exception e)
   at Microsoft.Mashup.Host.Document.ExceptionHandlerExtensions.HandleExceptions(IExceptionHandler exceptionHandler, Action action)
   at Microsoft.PowerBI.Client.Program.Main(String[] args)
Status: Needs Info
Comments
Anonymous
Not applicable

@Anonymous,

You get the above error when launching Power BI Desktop, right? If so, please firstly uninstall Power BI Desktop, then delete Cache and CEF folders in the following path.

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

After that, download Power BI Desktop, right-click on the installation package and choose "Run as administrator" to install it.

Regards,
Lydia

Anonymous
Not applicable