Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
Hello,
I Updated my desktop to the verion of 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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Have you used Power BI Desktop Web version or Microsoft store version in this issue?
If you have used the Web download version, try to unstall the whole files of Power BI Desktop, restart you device and download the latest version from the website manually to check this issue.
Best Regards,
Community Support Team _ Yingjie Li