0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Power Automate Desktop から SQL にデータをインサートしている途中で、SQL Server から接続を切られてしまった場合のログ確認

Last updated at Posted at 2025-06-12

SQL Server のログ

  • ERRORLOG(SSMS → 管理 → SQL Server ログ)で接続切断やエラーをチェック
  • ログファイルは既定で …\MSSQL\Log\ERRORLOG に保存
  • プロパティの「セキュリティ」でログイン監査を「成功と失敗両方」にすると、詳細に記録できる
  • Windows イベントログ(アプリケーション/ソース:MSSQLSERVER)にも関連エントリあり

Windows 側のネットワークログ

  • Event Viewer > Windows ログ > システム:NICドライバー異常やTCP/IPエラー(例:Event ID 27)を確認
  • Event Viewer > アプリ&サービス ログ > Microsoft > Windows > NetworkProfile:接続/切断イベント
  • Event Viewer > アプリ&サービス ログ > Microsoft > Windows > TCPIP:TCP/IP詳細ログ
  • 必要なら netsh trace start/stop でETLキャプチャ → Message Analyzer等で解析

これらをざっと見れば、どちら側で切断が起きたかの絞り込みができる、はず。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?