UiPath Documentation
orchestrator
2026.10
true
Guide d'installation d'Orchestrator

Exceptions des webhooks

Les exceptions du service Webhook et les erreurs de chargement d’assembly courantes sont rencontrées au démarrage

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)

Origine​

Ce problème est causé par l’agent Dynatrace responsable de la surveillance des performances des applications (Application Performance Monitoring, APM).

Solution​

Mise à niveau vers la dernière version autonome ou vers la version minimale prise en charge. Consultez la page Cycle de vie du produit pour plus de détails.

OU

Désactiver 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.

Origine​

La limite de temps de démarrage peut être restrictive et entraîner des temps d’arrêt dans les environnements affectés par une utilisation élevée du processeur et une forte consommation de mémoire.

Solution​

Passez àla version 20.10.5+ pour augmenter la limite de temps de démarrage à 300 secondes.

Si cela est insuffisant, cela signifie que le serveur tente d’exécuter quelque chose et a rencontré un blocage. Cela est souvent le cas lorsque le paramètre EnableMigrations est défini sur True et qu’il y a une grande migration suspendue au thread principal.

Si l’indicateur est défini sur False, collectez une copie de la mémoire et soumettez-la à votre représentant client.

500.30 L’application ASP.NET Core n’a pas pu démarrer - System.ApplicationException: l’abonné au registre n’a pas pu démarrer​

Exception​

Exception Info: System.ApplicationException: Ledger subscriber could not be started.
Exception Info: System.ApplicationException: Ledger subscriber could not be started.

Cette exception est généralement précédée dans le journal d'événements de l'application par une exception Microsoft.Data.SqlClient.SqlException (erreur 40) et une exception & Document: Le serveur SQL est en cours d'arrêt entrée.

Astuce :

Vérifiez le journal des événements de l'application pour détecter une erreur de connexion SQL immédiatement avant l'exception d'abonné du registre pour confirmer la cause.

Origine​

SQL Server n’était pas disponible lorsque Webhooks tentait de démarrer l’abonné au registre. Cela se produit lorsque SQL Server s’exécute sur la même machine qu’Orchestrator et n’a pas fini de démarrer au démarrage d’Orchestrator après un redémarrage du système d’exploitation.

Solution​

  1. Confirmez que SQL Server est en cours d'exécution et accepte les connexions.
  2. Arrêtez le site Orchestrator dans IIS Manager.
  3. Démarrez le site Orchestrator dans IIS Manager.

Cette page vous a-t-elle été utile ?

Connecter

Besoin d'aide ? Assistance(opens in new window)

Vous souhaitez apprendre ? UiPath Academy(opens in new window)

Vous avez des questions ? UiPath Forum(opens in new window)

Rester à jour