Orchestrator
2022.10
バナーの背景画像
Orchestrator インストール ガイド
最終更新日 2024年4月19日

Webhook の例外

500.30 ASP.NET Core app failed to start - System.TypeInitializationException: The type initializer for 'System.Threading.Tasks.Task' threw an exception

Exception

Exception Info: System.TypeInitializationException: The type initializer for 'System.Threading.Tasks.Task' threw an exception.
 ---> System.IO.FileNotFoundException: Could not load file or assembly 'System.Threading.Tasks, Version=4.0.10.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified.
File name: 'System.Threading.Tasks, Version=4.0.10.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
   at Dynatrace.OneAgent.Introspection.TaskEventHandler.NotifyCreated(Object taskObject, Object stateObject)
   at System.Threading.Tasks.Task..ctor(Boolean canceled, TaskCreationOptions creationOptions, CancellationToken ct)
   at System.Threading.Tasks.Task..cctor()
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.Task.get_CompletedTask()
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean useAsync)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
   at System.Diagnostics.StackTraceSymbols.TryOpenFile(String path)
   at UiPath.IdentityServer.Web.Program.<Main>(String[] args)Exception Info: System.TypeInitializationException: The type initializer for 'System.Threading.Tasks.Task' threw an exception.
 ---> System.IO.FileNotFoundException: Could not load file or assembly 'System.Threading.Tasks, Version=4.0.10.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified.
File name: 'System.Threading.Tasks, Version=4.0.10.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
   at Dynatrace.OneAgent.Introspection.TaskEventHandler.NotifyCreated(Object taskObject, Object stateObject)
   at System.Threading.Tasks.Task..ctor(Boolean canceled, TaskCreationOptions creationOptions, CancellationToken ct)
   at System.Threading.Tasks.Task..cctor()
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.Task.get_CompletedTask()
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean useAsync)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
   at System.Diagnostics.StackTraceSymbols.TryOpenFile(String path)
   at UiPath.IdentityServer.Web.Program.<Main>(String[] args)

原因

この問題は、アプリケーション パフォーマンス モニタリング (APM) を担当する Dynatrace エージェントが原因で発生します。

解決策

最新のスタンドアロン バージョンまたはサポート対象の最小バージョンにアップグレードします。詳しくは、「プロダクト ライフサイクル」をご覧ください。

OR

AppInsights、Dynatrace、NewRelic、DataDog を無効化します。

500.30 ASP.NET Core app failed to start - Managed server didn't initialize after X ms

Exception

Application '/LM/W3SVC/1/ROOT' with physical root 'C:\Program Files (x86)\UiPath\APPLICATIONNAME\' failed to load coreclr. Exception message:
Managed server didn't initialize after X ms.Application '/LM/W3SVC/1/ROOT' with physical root 'C:\Program Files (x86)\UiPath\APPLICATIONNAME\' failed to load coreclr. Exception message:
Managed server didn't initialize after X ms.

原因

起動制限時間は、CPU 使用率の高さやメモリ消費量の多さに影響を受ける環境で制限がかかり、ダウンタイムが発生することがあります。

解決策

20.10.5+ にアップグレードして、起動制限時間を 300 秒に増やします。

これでも不十分な場合は、サーバーが何かを実行しようとしていて、デッドロックが発生していることを意味します。これは通常、EnableMigrations パラメーターが True に設定され、メインスレッドをハングさせる大規模な移行がある場合に発生しています。
フラグが False に設定されている場合は、メモリ ダンプを収集し、顧客の担当者に送信します。

Was this page helpful?

サポートを受ける
RPA について学ぶ - オートメーション コース
UiPath コミュニティ フォーラム
UiPath ロゴ (白)
信頼とセキュリティ
© 2005-2024 UiPath. All rights reserved.