プロジェクト

全般

プロフィール

その他問い合わせ #3665

完了

Job_Arranger_ManagerDB実行エラー

匿名ユーザー さんが1年以上前に追加. 12ヶ月前に更新.

ステータス:
終了
優先度:
通常
担当者:
-
開始日:
2023/05/26

説明

以下お手数ですが、アドバイスください。

カレンダー登録時、DB実行エラーとなり登録できません。
また、JOB登録でも同様のエラーとなります。
何か設定の問題がありそうなのですが、お気づきのことないでしょうか。

--
2023-05-26 22:18:50.92612784 hitomi データベース実行エラーが発生しました。システム管理者にご連絡ください。
2023-05-26 22:18:50.92812784 jp.co.ftf.jobcontroller.Common.DBException:
2023-05-26 22:18:50.93312784 場所 jp.co.ftf.jobcontroller.DAO.DBConnect.ExecuteNonQuery(DataTable dt, BaseDAO baseEntity)
場所 jp.co.ftf.jobcontroller.JobController.Form.CalendarEdit.CalendarEdit.RegistDataTable()
場所 jp.co.ftf.jobcontroller.JobController.Form.CalendarEdit.CalendarEdit.RegistProcess()
場所 jp.co.ftf.jobcontroller.JobController.Form.CalendarEdit.CalendarEdit.regist_Click(Object sender, RoutedEventArgs e)
場所 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
場所 System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
場所 System.Windows.Controls.Primitives.ButtonBase.OnClick()
場所 System.Windows.Controls.Button.OnClick()
場所 System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
場所 System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
場所 System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
場所 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
場所 System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
場所 System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
場所 System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
場所 System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
場所 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
場所 System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
場所 System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
場所 System.Windows.Input.InputManager.ProcessStagingArea()
場所 System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
場所 System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
場所 System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
場所 System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
場所 System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
場所 MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
場所 MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
場所 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
場所 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
2023-05-26 22:18:50.93612784 System.Data.Odbc.OdbcException:
2023-05-26 22:18:50.93712784 場所 System.Data.Common.DbDataAdapter.UpdatedRowStatusErrors(RowUpdatedEventArgs rowUpdatedEvent, BatchCommandInfo[] batchCommands, Int32 commandCount)
場所 System.Data.Common.DbDataAdapter.UpdatedRowStatus(RowUpdatedEventArgs rowUpdatedEvent, BatchCommandInfo[] batchCommands, Int32 commandCount)
場所 System.Data.Common.DbDataAdapter.Update(DataRow[] dataRows, DataTableMapping tableMapping)
場所 System.Data.Common.DbDataAdapter.UpdateFromDataTable(DataTable dataTable, DataTableMapping tableMapping)
場所 System.Data.Common.DbDataAdapter.Update(DataTable dataTable)
場所 jp.co.ftf.jobcontroller.DAO.DBConnect.ExecuteNonQuery(DataTable dt, BaseDAO baseEntity)
2023-05-26 22:18:50.93912784 hitomi
2023-05-26 22:18:50.94012784 System.Data.Odbc.OdbcException:


ファイル

clipboard-202305292032-hbpqn.png (14.8 KB) clipboard-202305292032-hbpqn.png 匿名ユーザー, 2023/05/29 20:32
clipboard-202305292033-tjb4s.png (52.4 KB) clipboard-202305292033-tjb4s.png 匿名ユーザー, 2023/05/29 20:33
clipboard-202305292037-imqnh.png (44.5 KB) clipboard-202305292037-imqnh.png 匿名ユーザー, 2023/05/29 20:37
clipboard-202305302033-balyc.png (3.44 KB) clipboard-202305302033-balyc.png 匿名ユーザー, 2023/05/30 20:33
clipboard-202305302033-pkykd.png (88.2 KB) clipboard-202305302033-pkykd.png 匿名ユーザー, 2023/05/30 20:33
jobarg_server.conf (5.66 KB) jobarg_server.conf 匿名ユーザー, 2023/05/30 20:36
jobarg_server.conf (5.66 KB) jobarg_server.conf server Configuration 匿名ユーザー, 2023/05/30 20:53
jobarg_manager.conf (717 Bytes) jobarg_manager.conf manager Configuration 匿名ユーザー, 2023/05/30 20:54

保守サポート 担当2 さんが1年以上前に更新

ODBCの中で例外が発生していますので、ODBCとDBの接続部分に問題があると推測できます。
ご利用になられているDB+VersionとODBCのVersionがあっていない可能性がありますので、確認してみてください。

匿名ユーザー さんが1年以上前に更新

今一度確認させてください。

mysqlのバージョンは以下で、8.0.26です。

odbcは、以下の64版となります。

ODBC接続テストは以下のように正常となります。

この状態でエラーとなります。
すいませんが、今一度お願いいたします。

保守サポート 担当2 さんが1年以上前に更新

通常ですと次のメッセージの後ろにエラー理由が出力されるのですが、出力されてないですね。
System.Data.Odbc.OdbcException: 

ご利用になられているJAZのVersionを教えてください。

登録エラーになっているカレンダー、JOBで特徴的な所は、無いでしょうか?
過去例ですとIDが長すぎて登録できなかったケースとかがありました。
ログを見る限り別現象だと思いますが。
あと、システムログ等にエラー等は出力されてないでしょうか?

保守サポート 担当2 さんが1年以上前に更新

あと、ConfigrationファイルのUploadもお願いします。

過去例ですと、このログの出方は、ODBCのVersionがあっていないケース、コード体系があっていないケースに似ています。

匿名ユーザー さんが1年以上前に更新

対応ありがとうございます。
JAZのVersionは、6.0.0です、あわせてエラー状態イメージ貼り付けします。
システムログ(var/log/messages)には、特にエラーはありませんでした。

また、Configrationファイル(jobarg_server.conf)
のUploadしましたので、ご確認よろしくお願い致します。

匿名ユーザー さんが1年以上前に更新

再度ファイルuploadしましたのでご確認よろしくお願い致します。

保守サポート 担当2 さんが1年以上前に更新

すみません、システムログは、WindowsのSystemのイベントログの事です。

Configrationファイルにpostgresqlの定義が入っているようですので、postgresqlのDBINFOの情報を削除してください。
mysql接続では利用しません。
※ログインできているので悪影響があるとは思えないのですが、念のために削除してください。

匿名ユーザー さんが1年以上前に更新

の対応ありがとうございます。

windowsのシステムログにもエラーはありませんでした

保守サポート 担当2 さんが1年以上前に更新

  • ステータス新規登録 から 回答中 に変更

開発に確認させていただきました。

下記、2種類のODBC DriverをDownloadできるのですが、ANSI Driverを利用されていると思われます。
Unicode Driverの方をご利用ください。

1.MySQL ODBC 8.0 ANSI Driver
2.MySQL ODBC 8.0 Unicode Driver

保守サポート 担当2 さんが約1年前に更新

更新が無いのでCloseします。

保守サポート 担当2 さんが12ヶ月前に更新

  • ステータス回答中 から 終了 に変更

他の形式にエクスポート: Atom PDF