cancel
Showing results for 
Search instead for 
Did you mean: 

Bugs in Power Bi Desktop App version 2.108.603.0

As our user's machines are updated from version to version 2.106.883.0 (working fine) to version 2.108.603.0 the user's are no longer able to open SOME pbix files, they get errors like "an error occured while rendering the report".

 

If i uninstall 2.108.603.0  and install version 2.106.883.0 they all work properly again, until Windows updates the app to version 2.108.603.0 again.....sigh.

 

Any ideas?

 

Full error report below:

 

Feedback Type:
Frown (Error)

Error Message:
An error occurred while rendering the report.

Stack Trace:
C#: System.ArgumentException
at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
at Microsoft.PowerBI.Client.Windows.Modeling.ConceptualSchemaUtilities.GetDisplayFolders(IEnumerable`1 currentDisplayFolders, DisplayFolderAndTranslations parentDisplayFolderAndTranslations, Func`2 getTranslations)
at Microsoft.PowerBI.Client.Windows.Modeling.Extended.Table..ctor(IConceptualEntity entity, IDataModel model)
at Microsoft.PowerBI.Client.Windows.Modeling.Extended.TableConverter.Convert(IConceptualEntity entity)
at System.Linq.Enumerable.WhereSelectListIterator`2.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at Microsoft.PowerBI.Client.Windows.Modeling.Extended.NamedObjectCollection`2.EnsureInitialized()
at Microsoft.PowerBI.Client.Windows.Modeling.Extended.NamedObjectCollection`2.System.Collections.IEnumerable.GetEnumerator()
at System.Linq.Enumerable.<OfTypeIterator>d__95`1.MoveNext()
at Microsoft.PowerBI.Client.Windows.Modeling.Extended.DataModel.SetExtensions(IEnumerable`1 extensions)
at Microsoft.PowerBI.Client.Windows.Modeling.Extended.DataModel..ctor(IAnalysisServicesDatabaseLive database, String schemaId, IReadOnlyList`1 entities, Boolean discourageCompositeModels, IEnumerable`1 extensions)
at Microsoft.PowerBI.Client.Windows.Modeling.Extended.DataModel..ctor(IAnalysisServicesDatabaseLive database, IConceptualSchema schema, IEnumerable`1 extensions)
at Microsoft.PowerBI.Client.Windows.AnalysisServices.AnalysisServicesDatabaseLive.<GetDataModelAsync>d__34.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.PowerBI.Client.Windows.AnalysisServices.AnalysisServicesDatabaseLive.<GetSerializedDataModelCore>d__80.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.PowerBI.Client.Windows.DataModelHostService.<GetClientDataModelCore>d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.PowerBI.Client.Windows.HostServiceDispatcher.<>c__DisplayClass9_0`1.<<ExecuteAndHandlePromise>b__0>d.MoveNext()

Javascript&colon; HostServiceError
at PromiseStoreService.create (https://ms-pbi.pbi.microsoft.com/minerva/scripts/desktop.js:62731:50)
at HostProxyService.get (https://ms-pbi.pbi.microsoft.com/minerva/scripts/desktop.js:128796:73)
at DataModelService.getClientDataModelAsync (https://ms-pbi.pbi.microsoft.com/minerva/scripts/desktop.js:62331:50)
at DataModelService.<anonymous> (https://ms-pbi.pbi.microsoft.com/minerva/scripts/desktop.js:62209:64)
at https://ms-pbi.pbi.microsoft.com/minerva/scripts/desktop.js:1651:43
at Object.next (https://ms-pbi.pbi.microsoft.com/minerva/scripts/desktop.js:1662:26)
at https://ms-pbi.pbi.microsoft.com/minerva/scripts/desktop.js:1584:83
at new ZoneAwarePromise (https://ms-pbi.pbi.microsoft.com/minerva/scripts/desktop.js:53267:45)
at __awaiter (https://ms-pbi.pbi.microsoft.com/minerva/scripts/desktop.js:1563:24)
at DataModelService.refreshClientDataModel (https://ms-pbi.pbi.microsoft.com/minerva/scripts/desktop.js:62204:45)

Stack Trace Message:
An item with the same key has already been added.

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__DisplayClass14_0.<HandleException>b__0()
at Microsoft.Mashup.Client.UI.Shared.UnexpectedExceptionHandler.HandleException(Exception e)
at Microsoft.PowerBI.Client.Windows.Utilities.PowerBIFormUnexpectedExceptionHandler.HandleException(Exception e)
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.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Microsoft.PowerBI.Client.Windows.WebView2.WebView2Interop.InvokeCs(InteropCall call)
at Microsoft.Mashup.Host.Document.ExceptionHandlerExtensions.HandleExceptions(IExceptionHandler exceptionHandler, Action action)
at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
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_1.<Main>b__2()
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)


JS Error Message:
An item with the same key has already been added.

PowerBINonFatalError:
{"AppName":"PBIDesktop","AppVersion":"2.108.603.0","ModuleName":"mscorlib","Component":"Microsoft.PowerBI.Client.Windows.Modeling.ConceptualSchemaUtilities","Error":"System.ArgumentException","MethodDef":"GetDisplayFolders","ErrorOffset":"172"}

AS Live Connection:
True

Performance Trace Logs:
C:\Users\TomCruise\Microsoft\Power BI Desktop Store App\PerformanceTraces.zip

Enabled Preview Features:
PBI_enableWebView2
PBI_mobileAuthoringFormattingUI
PBI_sparklines

Disabled Preview Features:
PBI_shapeMapVisualEnabled
PBI_SpanishLinguisticsEnabled
PBI_qnaLiveConnect
PBI_azureMapVisual
PBI_compositeModelsOverAS
PBI_enhancedTooltips
PQ_WebView2Connector
PBI_scorecardVisual
PBI_fieldParametersSuperSwitch

Disabled DirectQuery Options:
TreatHanaAsRelationalSource

Cloud:
GlobalCloud

PowerBIUserFeedbackServices_IsReported:
True

Formulas:


section Section1;

Status: Investigating

Hi @PavloEstevas,

 

To resolve the issue related to Web View2, you may refer to these official documents.

Install Webview2 - Power BI | Microsoft Docs

Resolve issues when starting Power BI Desktop - Power BI | Microsoft Docs

 

Best Regards,    

Community Support Team _ Caiyun

Comments
TheShy
New Member

Hi @PavloEstevas ,

 

May I know whether you get this issue when you are trying to open a specific report or directly start up Power BI Desktop by its shortcut? Did you enable Power BI Desktop infrastructure update in Options(File>Options and Settings>Options>Preview features)?

Please check the folder containing the Desktop traces to see whether you can find any error message that can help you troubleshot this issue.

  • If you are using Desktop msi, please check in %LOCALAPPDATA%\Microsoft\Power BI Desktop\Traces
  • If you are using Desktop from the Store, please check in %USERPROFILE%\Microsoft\Power BI Desktop Store App\Traces

 

kabdrx
Regular Visitor

Hello,
I'm having the same issue, and during one of the attempts I've received a message that there is a problem with WebView. 

Screenshot 2022-08-11 114733.png

 

Regards,

Karim

v-cazheng-msft
Community Support
Status changed to: Investigating

Hi @PavloEstevas,

 

To resolve the issue related to Web View2, you may refer to these official documents.

Install Webview2 - Power BI | Microsoft Docs

Resolve issues when starting Power BI Desktop - Power BI | Microsoft Docs

 

Best Regards,    

Community Support Team _ Caiyun