Current key (KeyType : CrmWRPCTokenKey) is expired. This can indicate that a key is not being regenerated correctly.

Current key (KeyType : CrmWRPCTokenKey) is expired. This can indicate that a key is not being regenerated correctly. Current Key : CrmKey(Id:XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX, ScaleGroupId:00000000-0000-0000-0000-000000000000, KeyType:CrmWRPCTokenKey, Expired:True, ValidOn:01/01/2012 06:49:05, ExpiresOn:01/01/2012 06:49:05, CreatedOn:01/01/2012 06:49:05, CreatedBy:Domain\User.

Every now and then I randomly receive the error above when attempting to access CRM. Usually, restarting both the Microsoft Dynamics CRM Asynchronous Processing Service and Microsoft Dynamics CRM Asynchronous Processing Service (maintenance) resolves this but when it doesn’t, we do the following to resolve the issue:

  1. (Re)start the Microsoft Dynamics CRM Asynchronous Processing Service and Microsoft Dynamics CRM Asynchronous Processing Service (maintenance) services
  2. In a command window, run
    Microsoft.Crm.Tools.WRPCKeyRenewal.exe /R

    in the CRM Tools folder (C:\Program Files\Microsoft Dynamics CRM\Tools\ by default)

Advertisements