Itgenclr126 when opening Query Tool from Excel with Invantive Control for Excel 27.0

I am using a freshly installed (new) PC with Windows. I have installed Invantive Control for Excel on it.

Logging in to Exact Online works fine.

When I try to open the Query Tool via the ribbon, I get an itgenclr126.

Details:

Uitzondering van HRESULT: 0x800AC472.

Er is een onbekende fout opgetreden.

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

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

System.Runtime.InteropServices.COMException
   bij Microsoft.Office.Interop.Excel._Worksheet.get_UsedRange()
   bij Invantive.Producer.Control.Provider.InvantiveControlProvider.RegisterDataContainerMetadata(GlobalState owner, ExecutionOptions executionOptions, SqlExecutionStep sqlExecutionStep, IConnection connection, DataContainerMetadata dataContainerMetadata)
   bij Invantive.Producer.Control.Provider.InvantiveControlProvider.GetDataContainerMetadata(GlobalState owner, ExecutionOptions executionOptions, SqlExecutionStep sqlExecutionStep)
   bij Invantive.Data.GenericProvider.GetDatabaseMetadata(GlobalState owner, ExecutionOptions executionOptions, SqlExecutionStep sqlExecutionStep)
   bij Invantive.Data.ConnectionManager.<>c__DisplayClass392_0.<ExecuteProviderGetDatabaseMetadata>b__0(KeyValuePair`2 providerWithAlias, Int64 )
   bij Invantive.Data.ConnectionManager.ExecuteProviderGetDatabaseMetadata(GlobalState owner, ExecutionOptions executionOptions, SqlExecutionStep sqlExecutionStep)
--- Einde van stacktracering vanaf vorige locatie waar uitzondering is opgetreden ---
   bij System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   bij Invantive.Basics.ErrorConstants.ThrowOneOrMoreExceptions(GlobalState owner, ExecutionOptions executionOptions, IEnumerable`1 exceptions)
   bij Invantive.Data.ConnectionManager.ExecuteProviderGetDatabaseMetadata(GlobalState owner, ExecutionOptions executionOptions, SqlExecutionStep sqlExecutionStep)
   bij Invantive.Data.ConnectionManager.GetDatabaseMetadata(GlobalState owner, ExecutionOptions executionOptions, SqlExecutionStep sqlExecutionStep, String originCode)
   bij Invantive.Producer.Windows.Forms.AvailableObjectsList.a(GlobalState , ExecutionOptions )
   bij Invantive.Producer.Windows.Forms.AvailableObjectsList.<GetAvailableObjectsAsync>d__78.MoveNext()

Ongeldige vensteringang. (Uitzondering van HRESULT: 0x80070578)

Eventually the window does appear, but every attempt to type something results in a standard error window (so not the Invantive error window) with the text:

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

Under release 25 this worked fine.

The second error message is a result of the first.

For unknown reasons, the first error message occurs; this is an internal error message from Excel. Any genuine message is suppressed as a result.

In the next version, an improvement will be implemented so that the first error message is no longer fatal.

An improved version 27.0.28 is now available for download at https://download.invantive.eu.

This question was automatically closed after 1 week of inactivity. The last answer given has been marked as the solution.

If the problem occurs again, please ask a new question via a separate topic. Please include a link to this topic in the new question by pasting its URL into the text.