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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Bug after updated

Hello,

Updated to version June 2022

No when I opening the desktop I have this ActiveX error message :

 

Feedback Type:
Frown (Error)

Error Message:
Impossible d'instancier le contrôle ActiveX '8856f961-340a-11d0-a96b-00c04fd705a2', car le thread actuel n'est pas un thread cloisonné (STA, Single-Threaded Apartment).

Stack Trace:
System.Threading.ThreadStateException
à System.Windows.Forms.WebBrowserBase..ctor(String clsidString)
à System.Windows.Forms.WebBrowser..ctor()
à Microsoft.Mashup.Client.UI.Windows.HostedWebBrowser..ctor(IWindowHandle ownerWindow, Uri baseUri, String browserSettingsPath, HostedWebBrowserScalingOptions scalingOptions, Boolean allowExternalContent, Boolean allowPopupWindows, Boolean allowScriptDialogs)
à Microsoft.Mashup.Client.UI.Windows.WebDialogWindow..ctor(ILegacyUIHost uiHost, IExceptionHandler exceptionHandler, WebDialogWindowParams webDialogViewParams)
à Microsoft.Mashup.Client.UI.Windows.FloatingDialogWindow..ctor(ILegacyUIHost uiHost, IExceptionHandler exceptionHandler, WebDialogWindowParams webDialogViewParams)
à Microsoft.Mashup.Client.UI.Windows.WebDialogWindowFactory.CreateFloatingDialogWindow(ILegacyUIHost uiHost, IExceptionHandler exceptionHandler, WebDialogWindowParams webDialogWindowParams)
à Microsoft.Mashup.Client.UI.Shared.WebDialogs.WebDialogBase`1..ctor(ILegacyUIHost uiHost, WebDialogWindowFactory`1 webDialogWindowFactory)
à Microsoft.Mashup.Client.UI.Shared.WebDialogs.WebDialog..ctor(PackagePath packagePath, Nullable`1 sessionId, ILegacyUIHost uiHost, WebDialogWindowFactory`1 webDialogViewFactory)
à Microsoft.Mashup.Client.UI.Shared.Ux.FloatingDialog.FloatingDialog..ctor(PackagePath packagePath, Nullable`1 sessionId, ILegacyUIHost uiHost, LocalizedString windowText, ITeachingCalloutManager teachingCalloutManager)
à Microsoft.Mashup.Client.UI.Shared.Ux.FloatingDialog.KoFloatingDialog..ctor(PackagePath packagePath, Nullable`1 sessionId, ILegacyUIHost uiHost, LocalizedString title, ITeachingCalloutManager teachingCalloutManager, ModernButtonGroupAlignment alignment)
à Microsoft.Mashup.Client.UI.Shared.Ux.FloatingDialog.SimpleDialog.MessageDetailsDialog..ctor(ILegacyUIHost uiHost, JsonMessageDetailsDialogData dialogData, ModernButtonGroupAlignment alignment, Action`1 openLinkTelemetry)
à Microsoft.Mashup.Client.UI.Shared.Ux.FloatingDialog.SimpleDialog.MessageDetailsDialog.ShowOK(IWindowHandle owner, ILegacyUIHost uiHost, LocalizedString title, LocalizedString message, LocalizedString messageDetail, LocalizedString linkLabel, String linkUrl, LocalizedString okText, Boolean isFixedWidth)
à Microsoft.Mashup.Client.UI.Shared.Ux.WindowService.ShowOKDialog(LocalizedString title, LocalizedString message, LocalizedString messageDetail, LocalizedString linkLabel, String linkUrl, LocalizedString okText)
à Microsoft.PowerBI.Client.Windows.Services.AuthenticationUIHandler.<HandleSignInResult>d__18.MoveNext()
--- Fin de la trace de la pile à partir de l'emplacement précédent au niveau duquel l'exception a été levée ---
à System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
à System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
à Microsoft.PowerBI.Client.Windows.Services.AuthenticationUIHandler.<SignInInternalAsync>d__16.MoveNext()
--- Fin de la trace de la pile à partir de l'emplacement précédent au niveau duquel l'exception a été levée ---
à System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
à System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
à Microsoft.PowerBI.Client.Windows.Services.AuthenticationUIHandler.<TrySignInAsync>d__14.MoveNext()

Stack Trace Message:
Impossible d'instancier le contrôle ActiveX '8856f961-340a-11d0-a96b-00c04fd705a2', car le thread actuel n'est pas un thread cloisonné (STA, Single-Threaded Apartment).

Invocation Stack Trace:
à Microsoft.Mashup.Host.Document.ExceptionExtensions.GetCurrentInvocationStackTrace()
à Microsoft.Mashup.Client.UI.Shared.StackTraceInfo..ctor(String exceptionStackTrace, String invocationStackTrace, String exceptionMessage)
à Microsoft.PowerBI.Client.Windows.Telemetry.PowerBIUserFeedbackServices.GetStackTraceInfo(Exception e)
à Microsoft.PowerBI.Client.Windows.Telemetry.PowerBIUserFeedbackServices.ReportException(IWindowHandle activeWindow, IUIHost uiHost, FeedbackPackageInfo feedbackPackageInfo, Exception e, Boolean useGDICapture)
à Microsoft.Mashup.Client.UI.Shared.UnexpectedExceptionHandler.<>c__DisplayClass14_0.<HandleException>b__0()
à Microsoft.Mashup.Host.Document.SynchronizationContextExtensions.<>c__DisplayClass2_1.<SendAndMarshalExceptions>b__0(Object null)
à System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
à System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
à System.Delegate.DynamicInvokeImpl(Object[] args)
à System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
à System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
à System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
à System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
à System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
à System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
à System.Windows.Forms.Control.InvokeMarshaledCallbacks()
à System.Windows.Forms.Control.WndProc(Message& m)
à System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
à System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
à System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
à System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
à System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
à System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
à Microsoft.PowerBI.Client.Windows.Services.UIBlockingService.WaitOnUIThreadForTaskCompletion[T](Task`1 task)
à Microsoft.PowerBI.Client.Windows.Services.UIBlockingService.BlockUIAndRun[T](Func`1 asyncMethod)
à Microsoft.PowerBI.Client.Windows.Services.FileManager.OpenFile(IPowerBIWindowService windowService, IPbixFile fileToOpen, Nullable`1 entryPoint)
à Microsoft.PowerBI.Client.Program.TryOpenOrCreateReport(IPowerBIWindowService windowService, IFileManager fileManager, IFileHistoryManager fileHistoryManager, String filePath, FileType fileType, IFileInformationProtectionManager fileInformationProtectionManager, IPowerBITelemetryService telemetryService)
à Microsoft.PowerBI.Client.Program.<>c__DisplayClass4_1.<Main>b__2()
à Microsoft.PowerBI.Client.Windows.IExceptionHandlerExtensions.<>c__DisplayClass3_0.<HandleExceptionsWithNestedTasks>b__0()
à Microsoft.Mashup.Host.Document.ExceptionHandlerExtensions.HandleExceptions(IExceptionHandler exceptionHandler, Action action)
à Microsoft.PowerBI.Client.Program.Main(String[] args)


PowerBINonFatalError:
{"AppName":"PBIDesktop","AppVersion":"2.106.582.0","ModuleName":"Microsoft.Mashup.Client.UI.dll","Component":"Microsoft.Mashup.Client.UI.Windows.HostedWebBrowser","Error":"System.Threading.ThreadStateException","MethodDef":".ctor","ErrorOffset":"6"}

PowerBIUserFeedbackServices_IsReported:
True

Status: Investigating

Hi @ThomasG67 ,

 

Did you download from the Microsoft App Store or the official download link?
If you uninstalled it, would changing to another download method solve your problem?

 

Best Regards,
Community Support Team _ Caitlyn

Comments
v-xiaoyan-msft
Community Support
Status changed to: Investigating

Hi @ThomasG67 ,

 

Did you download from the Microsoft App Store or the official download link?
If you uninstalled it, would changing to another download method solve your problem?

 

Best Regards,
Community Support Team _ Caitlyn

ThomasG67
Frequent Visitor

Hi,

 

Yes from the official link :

https://www.microsoft.com/fr-FR/download/details.aspx?id=58494

And µI have uninstalled and reinstalled and I have the same message

 

Impossible d'instancier le contrôle ActiveX '8856f961-340a-11d0-a96b-00c04fd705a2', car le thread actuel n'est pas un thread cloisonné (STA, Single-Threaded Apartment).

True