Im CRM 4 werden keine Workflows nicht ausgeführt. Der Tracelog enthält folgenden Eintrag:
Exception while trying to execute AsyncOperationId: {<<GUID>>} AsyncOperationType: 12 - System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a send. ---> System.IO.IOException: The handshake failed due to an unexpected packet format.
Die Ursache des Problems ist, dass der Async Service probiert über SSL (https) auf den CRM Service zuzugreifen und dabei scheitert.
Verifizieren des Problems:
- Das Problem tritt bei jedem Workflow auf dem System auf
- Der “Microsoft CRM Asynchronous Processing Service” läuft
- Ein Neustart des “Microsoft CRM Asynchronous Processing Service” behebt das Problem nicht
- Die Bindings für das IIS Web für das CRM beinhalten http wie auch https
Beheben des Problems:
- Öffnen der “MSCRM_CONFIG” Datenbank
- Navigieren zur “DeploymentProperties” Tabelle
- Die Spalte “NVarCharColumn” des Datensatzes “AsyncSdkRootDomain” editierten. Der Port muss entfernt werden. “crm.contoso.ch:80” wird zu “crm.contoso.ch:80”
- Neustarten des “Microsoft CRM Asynchronous Processing Service”