Itgenclr126 bij openen Query Tool vanuit Excel met Invantive Control for Excel 27.0

Ik gebruik een vers geinstalleerde (nieuwe) PC met Windows. Ik heb daarop Invantive Control for Excel geinstalleerd.

Aanmelden op Exact Online lukt.

Als ik het Query Tool via het lint wil openen, dan krijg ik een 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)

Uiteindelijk komt het venster wel tevoorschijn, maar elke poging om iets te tikken levert een standaard errorvenster op (dus niet het Invantive error venster) met de tekst:

************** 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)

Onder release 25 werkte dit wel.

De tweede foutmelding is een gevolg van de eerste.

Om onbekende redenen treedt de eerste foutmelding op; dit is een interne foutmelding van Excel. Een eventuele echte melding wordt daardoor onderdrukt.

In de volgende versie zal een verbetering verwerkt zijn om de eerste foutmelding niet fataal te laten zijn.

Een verbeterde versie 27.0.28 staat nu klaar als download op https://download.invantive.eu.

Deze vraag is automatisch gesloten na 1 week inactiviteit. Het laatste gegeven antwoord is gemarkeerd als oplossing.

Gelieve een nieuwe vraag te stellen via een apart topic als het probleem opnieuw optreedt. Gelieve in de nieuwe vraag een link naar dit topic op te nemen door de URL er van in de tekst te plakken.