Forum Discussion
Power BI Desktop not Launching
Was happily using PowerBi just a bit ago, and then it froze, along with my computer, ended up doing a hard restart, and now Power BI won't launch. Un-installed, reinstalled. Tried the PBIDesktop.msi version and PBIDesktop_x64.msi, still the same error.
Error Message:
File contains corrupted data.
Stack Trace:
System.IO.FileFormatException: File contains corrupted data.
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 Microsoft.Mashup.Storage.Local.ZipLocalStorage.TryGetPart(String path, Byte[]& content)
at Microsoft.Mashup.Host.Document.Storage.Local.CachingLocalStorage.TryGetPart(String path, Byte[]& content)
at Microsoft.Mashup.Host.Document.Storage.Local.SharedLocalStorageAccessor.SharedLocalStorage.TryGetPart(String path, Byte[]& content)
at Microsoft.Mashup.Host.Document.Storage.Local.XmlLocalStorageContext`1.TryGetPart(T& part)
at Microsoft.Mashup.Host.Document.Storage.Local.LocalStorageContext`1.Init()
at Microsoft.Mashup.Host.Document.Storage.Local.LocalUISettingsStorage.GetSettings()
at Microsoft.Mashup.Host.Document.Storage.TracingUISettingsStorage.GetSettings()
at Microsoft.Mashup.Client.ClientShared.Ux.ClientUISettings.GetWindowScaleSetting(String windowScaleLeftMetadataName, String windowScaleTopMetadataName, String windowScaleWidthMetadataName, String windowScaleHeightMetadataName, String windowScaleMaximizedMetadataName)
at Microsoft.Mashup.Client.ClientShared.Ux.ClientUISettings.GetMultiArtifactEditorWindowScale()
at Microsoft.PowerBI.Client.Windows.SplashScreenScaler.CheckScreenVisibilityRule(WindowScale input)
at Microsoft.PowerBI.Client.Windows.SplashScreenScaler.Scale()
at Microsoft.PowerBI.Client.Windows.SplashScreenForm.ApplyScale()
at Microsoft.PowerBI.Client.Windows.SplashScreenForm.ShowSplashScreen()
at Microsoft.PowerBI.Client.Windows.Services.SplashScreenManager.ShowSplashScreen(Object parameter)
--- End of stack trace from previous location where exception was thrown ---
at Microsoft.PowerBI.Client.Windows.Services.SplashScreenManager.GetSplashScreenWindow()
at Microsoft.PowerBI.Client.Windows.Services.SplashScreenManager.ShowSplashScreen(WindowsHost windowsHost, SplashScreenScaler scaler)
at Microsoft.PowerBI.Client.Program.<>c__DisplayClassb.<Main>b__0()
at Microsoft.Mashup.Host.Document.ExceptionHandlerExtensions.HandleExceptions(IExceptionHandler exceptionHandler, Action action)
Invocation Stack Trace:
at Microsoft.Mashup.Host.Document.ExceptionExtensions.GetCurrentInvocationStackTrace()
at Microsoft.Mashup.Client.ClientShared.StackTraceInfo..ctor(String exceptionStackTrace, String invocationStackTrace)
at Microsoft.Mashup.Client.ClientShared.FeedbackErrorInfo..ctor(String message, Nullable`1 errorCode, String requestId, Exception exception)
at Microsoft.Mashup.Client.ClientShared.UnexpectedExceptionHandler.<>c__DisplayClass1.<HandleException>b__0()
at Microsoft.Mashup.Host.Document.SynchronizationContextExtensions.SendAndMarshalExceptions(SynchronizationContext context, Action callback)
at Microsoft.Mashup.Client.ClientShared.UnexpectedExceptionHandler.HandleException(Exception e)
at Microsoft.Mashup.Host.Document.ExceptionHandlerExtensions.HandleExceptions(IExceptionHandler exceptionHandler, Action action)
at Microsoft.PowerBI.Client.Program.Main(String[] args)
16 Replies
- v-haibl-msftMicrosoft Employee
- AndrewKRegular Visitor
My computer meets the requirements, and I have uninstalled and reinstalled but the issue still persists.
- AnonymousNot applicable
If you have a Power BI gateway installed on that computer, uninstall that when you uninstall Desktop.
Is this happening when you just try to launch Power BI Desktop on its own, or when you try to launch it by opening a specific file?