Orchestratorからプロセスを実行しようとした際に下記のエラーになりジョブが失敗してしまいます。
「実行プログラムを開始できませんでした。A specified logon session does not exist. It may already have been terminated. (Exception from HRESULT: 0x80070520)」
このエラーはスケジュール実行、手動実行の両方で発生しております。
Orchestratorのバージョンは2018.4.5です。
また、Orchestratorからではなく、実行環境に実際にログインした状態で
UipathRobotから実行すると、正常に実行されます。
このエラーの原因や解消方法について、ご存じの方がいらっしゃればご教授お願いいたします。
補足として、既にシステム環境変数"UIPATH_SESSION_TIMEOUT"の作成を試しましたが
このエラーは解消しませんでした。(設定値は120)
また、下記の3点についても確認済みとなります。
・プロセス実行時に他ユーザーはログインしていなかった。
・Uipath.Settingsファイルの「LoginToConsole」項目が false である。
・Orchestratorの「コンソールへログイン」設定が いいえ である。
以上となります。
ご助力お願いいたします。
Yoichi
(Yoichi)
December 3, 2021, 9:35am
2
こんにちは
以下のドキュメントは確認済みでしょうか?もしまだ未検証の項目があれば、それをチェックするのが良いかもしれません。
How to troubleshoot if a Robot execution is failing with the following error: " A specified logon session does not exist. It may already have been terminated. "
Executor start process failed, reason System.Runtime.InteropServices.COMException
(0x80070520): A specified logon session does not exist. It may already have been terminated. (Exception from HRESULT: 0x80070520)\r\n " ?
There can be different cause of the issue. Please follow the below options:
Check the Operating system
In case o…
お世話になっております。
Yoichi様のご返答でご教示いただいたドキュメント
How to troubleshoot if a Robot execution is failing with the following error: " A specified logon session does not exist. It may already have been terminated. "
Executor start process failed, reason System.Runtime.InteropServices.COMException
(0x80070520): A specified logon session does not exist. It may already have been terminated. (Exception from HRESULT: 0x80070520)\r\n " ?
There can be different cause of the issue. Please follow the below options:
Check the Operating system
In case o…
を確認したところ、下記の項目が不一致でした。
>11. Check the following registry keys:
>Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp
>fPromptForPassword 1 (TRUE)
>fInheritAutoLogon 0 (FALSE)
本件のエラーが発生している環境ではどちらの設定値も 0 になっておりました。
ただ、不勉強で申し訳ないのですが、
[fPromptForPassword]や[fInheritAutoLogon]の設定による影響についてはわかりませんでした。
[fPromptForPassword]や[fInheritAutoLogon]の設定がOrchestratorに与える影響について、
ご存じの方がいましたら、部分的にでも構いませんのでご教授お願いいたします。