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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
psakkis
Helper I
Helper I

Power BI Desktop (May 2021) crashes after downgrade

I worked with Power BI Desktop May 2021 and recently upgraded to May 2022 to test some fuctionality. Since downgrading back to May 2021 it crashes upon startup with the following error. 

Feedback Type:
Frown (Error)

Error Message:
One or more errors occurred.

Stack Trace:
System.OutOfMemoryException
at System.Collections.Generic.List`1..ctor(Int32 capacity)
at Microsoft.Mashup.Evaluator.SerializedResourceKindInfo.Deserialize(IEngine engine, BinaryReader reader, BinaryReader localeReader)
at Microsoft.Mashup.EngineHost.Services.LibraryService.LibraryInfo.<>c__DisplayClass49_0.<Deserialize>b__0(BinaryReader r)
at Microsoft.Mashup.Common.BinaryReaderWriterExtensions.ReadArray[T](BinaryReader reader, Func`2 readItem)
at Microsoft.Mashup.EngineHost.Services.LibraryService.LibraryInfo.Deserialize(IEngine engine, LibraryService service, ILibrary library, Byte[] bytes)
at Microsoft.Mashup.EngineHost.Services.LibraryService.LibraryInfo.TryGetInfo(IEngine engine, LibraryService service, ILibrary library, LibraryInfo& info)
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__11_0()
at System.Threading.Tasks.Task.Execute()

Stack Trace Message:
One or more errors occurred.

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__DisplayClass15_0.<HandleException>b__0()
at Microsoft.Mashup.Client.UI.Shared.UnexpectedExceptionHandler.HandleException(Exception e)
at Microsoft.PowerBI.Client.Windows.Utilities.UIBlockingAwareExceptionHandler.HandleException(Exception e)
at Microsoft.Mashup.Host.Document.ExceptionHandlerExtensions.HandleExceptions(IExceptionHandler exceptionHandler, Action action)
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Delegate.DynamicInvokeImpl(Object[] args)
at System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
at System.Windows.Forms.Control.InvokeMarshaledCallbacks()
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Form.ShowDialog(IWin32Window owner)
at Microsoft.Mashup.Client.UI.Shared.WindowManager.ShowModal[T](T dialog, Func`1 showModalFunction)
at Microsoft.PowerBI.Client.Program.<>c__DisplayClass4_0.<Main>b__1()
at Microsoft.PowerBI.Client.Windows.IExceptionHandlerExtensions.<>c__DisplayClass3_0.<HandleExceptionsWithNestedTasks>b__0()
at Microsoft.Mashup.Host.Document.ExceptionHandlerExtensions.HandleExceptions(IExceptionHandler exceptionHandler, Action action)
at Microsoft.PowerBI.Client.Program.Main(String[] args)


PowerBINonFatalError:
{"AppName":"PBIDesktop","AppVersion":"2.93.1681.0","ModuleName":"Microsoft.MashupEngine.dll","Component":"Microsoft.Mashup.Evaluator.SerializedResourceKindInfo","Error":"System.OutOfMemoryException","MethodDef":"Deserialize","ErrorOffset":"139"}

InnerException0.Stack Trace Message:
Array dimensions exceeded supported range.

InnerException0.Stack Trace:
at System.Collections.Generic.List`1..ctor(Int32 capacity)
at Microsoft.Mashup.Evaluator.SerializedResourceKindInfo.Deserialize(IEngine engine, BinaryReader reader, BinaryReader localeReader)
at Microsoft.Mashup.EngineHost.Services.LibraryService.LibraryInfo.<>c__DisplayClass49_0.<Deserialize>b__0(BinaryReader r)
at Microsoft.Mashup.Common.BinaryReaderWriterExtensions.ReadArray[T](BinaryReader reader, Func`2 readItem)
at Microsoft.Mashup.EngineHost.Services.LibraryService.LibraryInfo.Deserialize(IEngine engine, LibraryService service, ILibrary library, Byte[] bytes)
at Microsoft.Mashup.EngineHost.Services.LibraryService.LibraryInfo.TryGetInfo(IEngine engine, LibraryService service, ILibrary library, LibraryInfo& info)
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__11_0()
at System.Threading.Tasks.Task.Execute()

InnerException0.Invocation Stack Trace:
at Microsoft.Mashup.Host.Document.ExceptionExtensions.GetCurrentInvocationStackTrace()
at Microsoft.Mashup.Client.UI.Shared.FeedbackErrorInfo.GetFeedbackValuesFromException(Exception e, String prefix)
at Microsoft.Mashup.Client.UI.Shared.FeedbackErrorInfo.GetFeedbackValuesFromInnerExceptions(Exception e, Int32 depth)
at Microsoft.Mashup.Client.UI.Shared.FeedbackErrorInfo.CreateAdditionalErrorInfo(Exception e)
at Microsoft.Mashup.Client.UI.Shared.FeedbackErrorInfo..ctor(String message, Exception exception, Nullable`1 stackTraceInfo, String messageDetail)
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__DisplayClass15_0.<HandleException>b__0()
at Microsoft.Mashup.Client.UI.Shared.UnexpectedExceptionHandler.HandleException(Exception e)
at Microsoft.PowerBI.Client.Windows.Utilities.UIBlockingAwareExceptionHandler.HandleException(Exception e)
at Microsoft.Mashup.Host.Document.ExceptionHandlerExtensions.HandleExceptions(IExceptionHandler exceptionHandler, Action action)
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Delegate.DynamicInvokeImpl(Object[] args)
at System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
at System.Windows.Forms.Control.InvokeMarshaledCallbacks()
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Form.ShowDialog(IWin32Window owner)
at Microsoft.Mashup.Client.UI.Shared.WindowManager.ShowModal[T](T dialog, Func`1 showModalFunction)
at Microsoft.PowerBI.Client.Program.<>c__DisplayClass4_0.<Main>b__1()
at Microsoft.PowerBI.Client.Windows.IExceptionHandlerExtensions.<>c__DisplayClass3_0.<HandleExceptionsWithNestedTasks>b__0()
at Microsoft.Mashup.Host.Document.ExceptionHandlerExtensions.HandleExceptions(IExceptionHandler exceptionHandler, Action action)
at Microsoft.PowerBI.Client.Program.Main(String[] args)


Snapshot Trace Logs:
C:\Users\psakkis\AppData\Local\Microsoft\Power BI Desktop SSRS\FrownSnapShot84518e65-65a0-432a-9c44-694699513006.zip

Model Default Mode:
Empty

Model Version:
PowerBI_V1

Performance Trace Logs:
C:\Users\psakkis\AppData\Local\Microsoft\Power BI Desktop SSRS\PerformanceTraces.zip

Enabled Preview Features:
PBI_NewWebTableInference
PBI_ImportTextByExample

Disabled Preview Features:
PBI_shapeMapVisualEnabled
PBI_SpanishLinguisticsEnabled
PBI_JsonTableInference
PBI_ExcelTableInference
PBI_qnaLiveConnect
PBI_eimInformationProtectionForDesktop
PBI_azureMapVisual
PBI_dataPointLassoSelect
PBI_compositeModelsOverAS
PBI_dynamicParameters
PBI_cartesianMultiplesAuthoring
PBI_enhancedTooltips

Disabled DirectQuery Options:
TreatHanaAsRelationalSource

Cloud:
GlobalCloud

PowerBIUserFeedbackServices_IsReported:
True

Formulas:


section Section1;

 

1 ACCEPTED SOLUTION
NickA01
Resolver III
Resolver III

Have you looked into Backwards compatibility ? 
Webview2 was announced in  Oct 21 and is a base level component: 
Power BI Desktop Installer Changes &#038; WebView2 | Microsoft Power BI Blog | Microsoft Power BI
If you opened an old pbix file in the May 22 version of Pbi desktop then the file would have been upgraded behind the sences and you would only see minimial change if any: 
As you have then uninstalled May 22 and reinstall May 21, you files are possibly still trying to look for webview assemberlies which is causing the crash. 

I suggest checking with however owns your RS instance , check which version it is running then completly uninstall all Power BI desktop components, 
reinstall the version compatible with your RS instance and either recreate the Pbi desktop from new or dowenload from RS and make required changes. 

 

Hope this helps . 

The Nick

If the post helps please give a thumbs up || If it solves your issue, please accept it as the solution to help the other members find it more quickly.

If it's the biggest heap of stinky smelly stuff then I'm sorry .

View solution in original post

14 REPLIES 14
NickA01
Resolver III
Resolver III

Have you looked into Backwards compatibility ? 
Webview2 was announced in  Oct 21 and is a base level component: 
Power BI Desktop Installer Changes &#038; WebView2 | Microsoft Power BI Blog | Microsoft Power BI
If you opened an old pbix file in the May 22 version of Pbi desktop then the file would have been upgraded behind the sences and you would only see minimial change if any: 
As you have then uninstalled May 22 and reinstall May 21, you files are possibly still trying to look for webview assemberlies which is causing the crash. 

I suggest checking with however owns your RS instance , check which version it is running then completly uninstall all Power BI desktop components, 
reinstall the version compatible with your RS instance and either recreate the Pbi desktop from new or dowenload from RS and make required changes. 

 

Hope this helps . 

The Nick

If the post helps please give a thumbs up || If it solves your issue, please accept it as the solution to help the other members find it more quickly.

If it's the biggest heap of stinky smelly stuff then I'm sorry .

The Report Server is in May 2021 version. My PBI Desktop RS May 2021 crashes without even opening a file, just running the app.

So you still have the msi (or exe ) file for Power Bi desktop for reportng services (May 2021)  ?
If you still have the installer file, it may be an option to try on a clean PC that has No power Bi related software on it. 

I tried the installer in a colleague of mine and it works just fine, but I need to find a way to have in my PC.

Okay so if the installer works fine on a clean PC, then the issue is going to be in relation to your machine. 
As I'm not a software tech, there's not a lot more I can suggest. 
Assuming you have already uninstalled all Power bi related components ( Pbi desktop  & report builder), cleared all logs and trace files (C:\Users\<userid>\AppData\Local\Microsoft\Power BI Desktop\Traces (may want to back these up) , restarted the PC then reinstalled.  If you have an IT team, it may be an idea to askthem for help. 

I've tried everything you suggested and also reached the IT team and they can't help. Thank you though.

lbendlin
Super User
Super User

You may have wanted to post this in the Report Server section of the forum.  Unfortunately I cannot help as I have no experience with RS.

Thank you very much I will do so. Do you think it has to do with webview2?

psakkis
Helper I
Helper I

I didn't install anything else seperately except Power BI Desktop RS (May 2022). If webview2 update come with it I didn't know it.

Wait what?  RS?  or regular Power BI Desktop?

Yes the RS version, because in my company we upload the reports in a Power BI Report Server.

lbendlin
Super User
Super User

Does it crash when you are opening a PBIX file or when you run the app without a file?

Both ways.

Did you install the webview2 update on your PC?

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.