Itgenclr126 beim Öffnen des Query Tools aus Excel mit Invantive Control for Excel 27.0

Ich verwende einen frisch installierten (neuen) PC mit Windows. Darauf habe ich Invantive Control for Excel installiert.

Die Anmeldung bei Exact Online funktioniert.

Wenn ich das Query Tool über das Menüband öffnen möchte, erhalte ich einen itgenclr126.

Details:

Ausnahme von HRESULT: 0x800AC472.

Es ist ein unbekannter Fehler aufgetreten.

Meldungs-ID: d9968099-107a-4baf-a07c-8a633d78ec45

Aufgetreten (UTC): 21-10-2026 10:11:04

System.Runtime.InteropServices.COMException
   bei Microsoft.Office.Interop.Excel._Worksheet.get_UsedRange()
   bei Invantive.Producer.Control.Provider.InvantiveControlProvider.RegisterDataContainerMetadata(GlobalState owner, ExecutionOptions executionOptions, SqlExecutionStep sqlExecutionStep, IConnection connection, DataContainerMetadata dataContainerMetadata)
   bei Invantive.Producer.Control.Provider.InvantiveControlProvider.GetDataContainerMetadata(GlobalState owner, ExecutionOptions executionOptions, SqlExecutionStep sqlExecutionStep)
   bei Invantive.Data.GenericProvider.GetDatabaseMetadata(GlobalState owner, ExecutionOptions executionOptions, SqlExecutionStep sqlExecutionStep)
   bei Invantive.Data.ConnectionManager.<>c__DisplayClass392_0.<ExecuteProviderGetDatabaseMetadata>b__0(KeyValuePair`2 providerWithAlias, Int64 )
   bei Invantive.Data.ConnectionManager.ExecuteProviderGetDatabaseMetadata(GlobalState owner, ExecutionOptions executionOptions, SqlExecutionStep sqlExecutionStep)
--- Ende der Stapelüberwachung ab der vorherigen Stelle, an der die Ausnahme aufgetreten ist ---
   bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   bei Invantive.Basics.ErrorConstants.ThrowOneOrMoreExceptions(GlobalState owner, ExecutionOptions executionOptions, IEnumerable`1 exceptions)
   bei Invantive.Data.ConnectionManager.ExecuteProviderGetDatabaseMetadata(GlobalState owner, ExecutionOptions executionOptions, SqlExecutionStep sqlExecutionStep)
   bei Invantive.Data.ConnectionManager.GetDatabaseMetadata(GlobalState owner, ExecutionOptions executionOptions, SqlExecutionStep sqlExecutionStep, String originCode)
   bei Invantive.Producer.Windows.Forms.AvailableObjectsList.a(GlobalState , ExecutionOptions )
   bei Invantive.Producer.Windows.Forms.AvailableObjectsList.<GetAvailableObjectsAsync>d__78.MoveNext()

Ungültiges Fenster-Handle. (Ausnahme von HRESULT: 0x80070578)

Letztendlich erscheint das Fenster zwar, aber jeder Versuch, etwas einzugeben, führt zu einem Standard-Fehlerfenster (also nicht dem Invantive-Fehlerfenster) mit folgendem Text:

************** Text der Ausnahme **************
System.Runtime.InteropServices.COMException (0x80070578): Ungültiges Fenster-Handle. (Ausnahme von HRESULT: 0x80070578)
   bei System.Threading.SynchronizationContext.WaitHelper(IntPtr[] waitHandles, Boolean waitAll, Int32 millisecondsTimeout)
   bei System.Windows.Threading.DispatcherSynchronizationContext.Wait(IntPtr[] waitHandles, Boolean waitAll, Int32 millisecondsTimeout)
   bei System.Threading.WaitHandle.WaitOneNative(SafeHandle waitableSafeHandle, UInt32 millisecondsTimeout, Boolean hasThreadAffinity, Boolean exitContext)
   bei System.Threading.WaitHandle.InternalWaitOne(SafeHandle waitableSafeHandle, Int64 millisecondsTimeout, Boolean hasThreadAffinity, Boolean exitContext)
   bei System.Threading.WaitHandle.WaitOne(TimeSpan timeout, Boolean exitContext)
   bei System.Windows.Threading.DispatcherOperation.DispatcherOperationEvent.WaitOne()
   bei System.Windows.Threading.DispatcherOperation.Wait(TimeSpan timeout)
   bei System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherOperation operation, CancellationToken cancellationToken, TimeSpan timeout)
   bei System.Windows.Threading.Dispatcher.Invoke(Action callback, DispatcherPriority priority, CancellationToken cancellationToken, TimeSpan timeout)
   bei System.Windows.Threading.Dispatcher.Invoke(Action callback)
   bei AvalonDock.Controls.FocusElementManager.SetupFocusManagement(DockingManager manager)
   bei AvalonDock.DockingManager.DockingManager_Loaded(Object sender, RoutedEventArgs e)
   bei System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   bei System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   bei System.Windows.BroadcastEventHelper.BroadcastEvent(DependencyObject root, RoutedEvent routedEvent)
   bei System.Windows.BroadcastEventHelper.BroadcastLoadedEvent(Object root)
   bei MS.Internal.LoadedOrUnloadedOperation.DoWork()
   bei System.Windows.Media.MediaContext.FireLoadedPendingCallbacks()
   bei System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
   bei System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
   bei System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)
   bei System.Windows.Interop.HwndTarget.OnResize()
   bei System.Windows.Interop.HwndTarget.HandleMessage(WindowMessage msg, IntPtr wparam, IntPtr lparam)
   bei System.Windows.Interop.HwndSource.HwndTargetFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   bei MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   bei MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   bei System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   bei System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

Unter Release 25 hat das noch funktioniert.

Die zweite Fehlermeldung ist eine Folge der ersten.

Aus unbekannten Gründen tritt die erste Fehlermeldung auf; dabei handelt es sich um eine interne Fehlermeldung von Excel. Eine eventuelle echte Meldung wird dadurch unterdrückt.

In der nächsten Version wird eine Verbesserung eingebaut, damit die erste Fehlermeldung nicht mehr fatal ist.

Eine verbesserte Version 27.0.28 steht jetzt zum Download unter https://download.invantive.eu bereit.

Diese Frage wurde nach 1 Woche Inaktivität automatisch geschlossen. Die zuletzt gegebene Antwort wurde als Lösung markiert.

Bitte stelle eine neue Frage in einem separaten Thema, falls das Problem erneut auftritt. Bitte füge in der neuen Frage einen Link zu diesem Thema hinzu, indem du dessen URL in den Text einfügst.