Itgenacw063 テーブル 'pay_link' に13の利用可能なフィールドから選択されたフィールドがありません

Query Toolの最新バージョンをインストールした後、available fieldsに関するエラーしか出なくなりました:

itgenacw063
The table ‘PAY_LINK’ has no fields selected from 13 available fields.
Please consider configuring include-inactive-fields to true after consulting the AccountView application administrator to compensate for data errors.

これは「非アクティブなフィールドを含める」にチェックを入れても同様に表示されます。ただし、「接続」ボタンを押すと接続自体はできます。

しかし、バッチファイルではまだ同じメッセージが出て正常に動作しません:

itgenacw063: The table 'PAY_LINK' has no fields selected from 13 available fields.

Please consider configuring include-inactive-fields to true after consulting the AccountView application administrator to compensate for data errors.

Bericht ID: 7a858c8d-4e4f-499c-a126-d40e75c2c54d

Opgetreden (UTC): 14-7-2025 14:50:56

InvantiveSystemException
   at Invantive.Basics.ValidationException..ctor(GlobalState owner, ExecutionOptions executionOptions, String messageCode, String errorMessage, String kindRequest, String localStackTrace, String nk, Exception innerException, Boolean inheritMessageCodeWhenPresent, Nullable`1 uid, Nullable`1 isRecoverable, String poolIdentityId, String url, Nullable`1 partyUid, String partitionCode, String tableName, String parameter1, String parameter2, String parameter3, String parameter4, String parameter5, String clientId)
   at Invantive.Basics.InvantiveSystemException..ctor(GlobalState owner, ExecutionOptions executionOptions, String validationCode, String errorMessage, String kindRequest, String stackTrace, String nk, Exception innerException, Boolean inheritMessageCodeWhenPresent, Nullable`1 uid, Boolean isRecoverable, String poolIdentityId, String partitionCode, String tableName, String parameter1, String parameter2, String parameter3, String parameter4, String parameter5, String clientId)
   at Invantive.Data.Providers.AccountView.AccountViewProvider.RegisterDataContainerMetadata(GlobalState owner, ExecutionOptions executionOptions, SqlExecutionStep sqlExecutionStep, IConnection connection, DataContainerMetadata dataContainerMetadata)
   at Invantive.Data.GenericProvider.GetDataContainerMetadata(GlobalState owner, ExecutionOptions executionOptions, SqlExecutionStep sqlExecutionStep)
   at Invantive.Data.GenericProvider.GetDatabaseMetadata(GlobalState owner, ExecutionOptions executionOptions, SqlExecutionStep sqlExecutionStep)
   at Invantive.Data.ConnectionManager.i(GlobalState owner, ExecutionOptions , SqlExecutionStep )
   at Invantive.Data.ConnectionManager.g(GlobalState owner, ExecutionOptions , SqlExecutionStep )
   at Invantive.Producer.Windows.Forms.AvailableObjectsList.a(GlobalState , ExecutionOptions executionOptions)
   at Invantive.Producer.Windows.Forms.AvailableObjectsList.B.MoveNext()
   at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[TStateMachine](TStateMachine& stateMachine)
   at Invantive.Producer.Windows.Forms.AvailableObjectsList.GetAvailableObjectsAsync()
   at Invantive.Producer.Windows.Forms.AvailableObjectsList.Bind()
   at Invantive.Producer.Windows.Forms.AvailableObjectsList.Activate()
   at Invantive.Producer.Windows.Forms.QueryToolWindow.AvailableObjectsList_ChildChanged(Object sender, ChildChangedEventArgs e)
   at System.Windows.Forms.Integration.WindowsFormsHost.OnChildChanged(Control oldChild)
   at System.Windows.Forms.Integration.WindowsFormsHost.set_Child(Control value)
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
   at System.Xaml.Schema.SafeReflectionInvoker.InvokeMethodCritical(MethodInfo method, Object instance, Object[] args)
   at MS.Internal.Xaml.Runtime.ClrObjectRuntime.SetValue(Object inst, XamlMember property, Object value)
   at MS.Internal.Xaml.Runtime.PartialTrustTolerantRuntime.SetValue(Object obj, XamlMember property, Object value)
   at System.Xaml.XamlObjectWriter.Logic_ApplyPropertyValue(ObjectWriterContext ctx, XamlMember prop, Object value, Boolean onParent)
   at System.Xaml.XamlObjectWriter.Logic_DoAssignmentToParentProperty(ObjectWriterContext ctx)
   at System.Xaml.XamlObjectWriter.WriteEndObject()
   at System.Windows.FrameworkTemplate.LoadTemplateXaml(XamlReader templateReader, XamlObjectWriter currentWriter)
   at System.Windows.FrameworkTemplate.LoadTemplateXaml(XamlObjectWriter objectWriter)
   at System.Windows.FrameworkTemplate.LoadOptimizedTemplateContent(DependencyObject container, IComponentConnector componentConnector, IStyleConnector styleConnector, List`1 affectedChildren, UncommonField`1 templatedNonFeChildrenField)
   at System.Windows.FrameworkTemplate.LoadContent(DependencyObject container, List`1 affectedChildren)
   at System.Windows.StyleHelper.ApplyTemplateContent(UncommonField`1 dataField, DependencyObject container, FrameworkElementFactory templateRoot, Int32 lastChildIndex, HybridDictionary childIndexFromChildID, FrameworkTemplate frameworkTemplate)
   at System.Windows.FrameworkTemplate.ApplyTemplateContent(UncommonField`1 templateDataField, FrameworkElement container)
   at System.Windows.FrameworkElement.ApplyTemplate()
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)
   at System.Windows.Controls.ContentPresenter.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV)
   at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV, Boolean& hasDesiredSizeUChanged)
   at System.Windows.Controls.Grid.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Border.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Control.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)
   at System.Windows.Controls.ContentPresenter.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Border.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV)
   at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV, Boolean& hasDesiredSizeUChanged)
   at System.Windows.Controls.Grid.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Control.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV)
   at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV, Boolean& hasDesiredSizeUChanged)
   at System.Windows.Controls.Grid.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.ContextLayoutManager.UpdateLayout()
   at System.Windows.ContextLayoutManager.UpdateLayoutCallback(Object arg)
   at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
   at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
   at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)
   at System.Windows.Interop.HwndTarget.OnResize()
   at System.Windows.Interop.HwndTarget.HandleMessage(WindowMessage msg, IntPtr wparam, IntPtr lparam)
   at System.Windows.Interop.HwndSource.HwndTargetFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
   at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   at MS.Win32.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   at MS.Win32.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   at MS.Win32.HwndSubclass.DefWndProcWrapper(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   at MS.Win32.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   at MS.Win32.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   at Windows.Win32.PInvoke.SetWindowPos(HWND hWnd, HWND hWndInsertAfter, Int32 X, Int32 Y, Int32 cx, Int32 cy, SET_WINDOW_POS_FLAGS uFlags)
   at Windows.Win32.PInvoke.SetWindowPos(HWND hWnd, HWND hWndInsertAfter, Int32 X, Int32 Y, Int32 cx, Int32 cy, SET_WINDOW_POS_FLAGS uFlags)
   at ControlzEx.Behaviors.WindowChromeBehavior._ApplyNewCustomChrome()
   at ControlzEx.Behaviors.WindowChromeBehavior.Initialize()
   at ControlzEx.Behaviors.WindowChromeBehavior.OnAttached()
   at Microsoft.Xaml.Behaviors.Behavior.Attach(DependencyObject dependencyObject)
   at Microsoft.Xaml.Behaviors.BehaviorCollection.ItemAdded(Behavior item)
   at Microsoft.Xaml.Behaviors.AttachableCollection`1.OnCollectionChanged(Object sender, NotifyCollectionChangedEventArgs e)
   at System.Windows.FreezableCollection`1.OnCollectionChanged(NotifyCollectionChangedEventArgs e)
   at System.Windows.FreezableCollection`1.OnCollectionChanged(NotifyCollectionChangedAction action, Int32 oldIndex, T oldValue, Int32 newIndex, T newValue)
   at System.Windows.FreezableCollection`1.AddHelper(T value)
   at ControlzEx.WindowChromeWindow.InitializeWindowChromeBehavior()
   at ControlzEx.WindowChromeWindow.InitializeBehaviors()
   at System.Windows.Window.CreateSourceWindow(Boolean duringShow)
   at System.Windows.Window.ShowHelper(Object booleanBox)
   at System.Windows.Window.ShowDialog()
   at Invantive.Producer.Windows.Forms.RibbonWindowBase`1.ShowDialog()
   at Invantive.Producer.QueryTool.App.OnStartup(StartupEventArgs e)
   at System.Windows.Application.<.ctor>b__1_0(Object unused)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
   at System.Windows.Threading.DispatcherOperation.InvokeImpl()
   at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(Object obj)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Windows.Threading.DispatcherOperation.Invoke()
   at System.Windows.Threading.Dispatcher.ProcessQueue()
   at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
   at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
   at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
   at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
   at System.Windows.Application.RunDispatcher(Object ignore)
   at System.Windows.Application.RunInternal(Window window)
   at Invantive.Producer.QueryTool.App.Main()
   at Invantive.Data.Providers.AccountView.AccountViewProvider.RegisterDataContainerMetadata(GlobalState owner, ExecutionOptions executionOptions, SqlExecutionStep sqlExecutionStep, IConnection connection, DataContainerMetadata dataContainerMetadata)
   at Invantive.Data.GenericProvider.GetDataContainerMetadata(GlobalState owner, ExecutionOptions executionOptions, SqlExecutionStep sqlExecutionStep)
   at Invantive.Data.GenericProvider.GetDatabaseMetadata(GlobalState owner, ExecutionOptions executionOptions, SqlExecutionStep sqlExecutionStep)
   at Invantive.Data.ConnectionManager.i(GlobalState owner, ExecutionOptions , SqlExecutionStep )
   at Invantive.Data.ConnectionManager.g(GlobalState owner, ExecutionOptions , SqlExecutionStep )
   at Invantive.Producer.Windows.Forms.AvailableObjectsList.a(GlobalState , ExecutionOptions executionOptions)
   at Invantive.Producer.Windows.Forms.AvailableObjectsList.B.MoveNext()

これは以下に記載されている問題と似ています:

これにより、非アクティブなフィールドを含めるためのチェックボックスが導入されることになりました。

アドバイス1は、このチェックボックスがオンになっているかどうかを注意深く確認することです。

次の24.0リリースでは、不確実性を減らすために、このチェックボックスがオンになっていた場合、itgenacw063 の代わりに itgenacw066 というエラーコードが表示されるようになります。

アドバイス2は、pay_link がAccountViewの標準テーブルであることを確認することです。もしそうでない場合は、AccountViewからこのテーブルの内容を示す画面の(匿名化された)印刷物を追加してください。

AccountViewドライバーはカスタムテーブルもサポートしていますが、それらは必ずしもAccountViewが規定する方法と同じように定義されているとは限りません。

アドバイス3は、リリース24.0.752でエラーメッセージを再度発生させることです。こちらから入手できます:

このリリース24.0.752は、エラーメッセージとともにより多くの情報をInvantive Cloudのシステムメッセージに送信します。複数のユーザーで共有される製品ではないため、サマーフリーズの影響は受けません。

新しいバージョンでジョブを実行しました。エラーログはそちらに届きましたか?

いいえ、クエリツールのバージョン24.0.686でのみログを確認しています。

クエリツールまたはData Hubのバージョン24.0.752でエラーを再現することは可能でしょうか?

すみません、確かにクエリツール(Query Tool)がアップデートされていませんでしたが、今は更新済みです。エラーは今入ってきたかもしれませんが、ソフトウェアがサーバーの再起動も求めていたので、そのせいでまだ反映されていないかもしれません。残念ながら今は再起動できないので、今夜行います。

リリース 24.0.752 では、以下のエラーメッセージが発生します:

itgenacw063
The table ‘PAY_LINK’ has no fields selected from 13 available fields.
Please consider configuring include-inactive-fields to true after consulting the AccountView application administrator to compensate for metadata errors.

フィールド定義は以下の通りです:

名前 データ型 必須? アクティブ? 仮想?
PAY_LINK.REC_ID varchar2(10) N N J
PAY_LINK.INV_NR varchar2(12) N N J
PAY_LINK.SUB_NR varchar2(10) N N J
PAY_LINK.LINK_ID varchar2(32) N N J
PAY_LINK.INP_DATE datetime J N J
PAY_LINK.CNG_DATE datetime J N J
PAY_LINK.INP_USR varchar2(20) J N J
PAY_LINK.CNG_USR varchar2(20) J N J
PAY_LINK.CNG_NR integer(4) J N J
PAY_LINK.LINK_STATE integer(4) J N J
PAY_LINK.LINK_URL varchar2(254) J N J
PAY_LINK.SRC_OBJ varchar2(4) J N J
PAY_LINK.TRIAL_LNK boolean J N J

上の方は正しく設定されているとは思うのですが、今になって気づいたのですが、テーブルの中に自作のフィールドが2つあります。おそらく過去に同僚の依頼で追加したものだと思います。partition_codeとpartition_nameというフィールドです。これらはチェックが入っていない状態で、自分でチェックを入れることもできません。これが原因なのでしょうか?
返信が遅くなってすみません。(休暇中でした)

これら2つの必須フィールドは、各administratie(管理単位)および/または年によって内容が異なる可能性があるテーブルに関して、AccountView用のInvantive UniversalSQLドライバーによって自動的に追加されます。これはほぼすべてのテーブルに該当します。

Invantive UniversalSQLドライバーは、すべてのadministratiejaar(管理年度)を1つのデータセットにまとめるためです。

登録によると、問題はすべてのフィールドが非アクティブになっていることです。

最新バージョンで include-inactive-fields を有効にすると正常に動作しますか?

いや、残念ながら include-inactive-fields を使っても動きません。
この問題を確認するための打ち合わせをちょうど設定したところです。

この問題は、Data Hub を使用したリリース 25.0 では発生しなくなったことが判明しました。Invantive Query Tool は自動ログインを使用していたため、include-inactive-fields の手動設定が反映されていませんでした。

この問題は、settings*.xml 内の接続文字列に include-inactive-fields を含めることで広く解決されています。以下のようになります。

connectionString="system-tables-directory=\\acme-srv01\Accountview;include-inactive-fields=True;include-inaccessible-databases=False;database-search-directories=\\acme-srv01\Accountview\admins;text-encoding=Windows-1252;ignore-memo-value-errors=True"