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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

Reply
ThomasG67
Frequent Visitor

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

5 REPLIES 5
v-henryk-mstf
Community Support
Community Support

Hi @ThomasG67 ,

 

Is it an error message similar to the one below?

vhenrykmstf_0-1655801861683.png

This is a known issue.  You can check below for more details:Power BI Desktop - issue with "copy" and "copy tab... - Microsoft Power BI Community

vhenrykmstf_1-1655801951766.png

 

The workaround is: Select a table or column in the Field list and press Copy button in the Ribbon.


Best Regards,
Henry


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi,

Not the same. The message appear when the desktop is opening.

Hi @ThomasG67 ,

 

Try the solution fang provided in the following link:

Starting PowerBI Exception Error - Microsoft Power BI Community


If the problem is still not resolved, please provide detailed error information and related screenshoots. Looking forward to your reply.


Best Regards,
Henry


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi,

It's not working.

 

Anonymous
Not applicable

Hi @ThomasG67 

Can you please report the issue here- Issues - Microsoft Power BI Community

 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 2025 Power BI update to learn about new features.

Top Kudoed Authors