Accessing to any of the available orgs on CRM 2011, was throwing an error message.
Log file warning:
Exception information:
Exception type: CrmException
Exception message: The key specified to compute a hash value is expired, only active keys are valid. Expired Key : CrmKey(Id: – guid here –, ScaleGroupId:00000000-0000-0000-0000-000000000000, KeyType:CrmWRPCTokenKey, Expired:True, ValidOn:07/30/2012 00:48:28, ExpiresOn:09/01/2012 00:48:28, CreatedOn:07/30/2012 00:48:28,
CreatedBy:--crm user here – at Microsoft.Crm.CrmKeyService.ComputeHash(CrmKey key, Guid scaleGroupId, HashParameterBase[] parameters)
at Microsoft.Crm.Application.Security.WrpcContext..ctor()
at Microsoft.Crm.Application.Controls.AppPage.ValidateWrpcContext()
at Microsoft.Crm.Application.Controls.AppPage.OnInit(EventArgs e)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Or log error
Current key (KeyType : CrmWRPCTokenKey) is expired. This can indicate that a key is not being regenerated correctly. Current Key : CrmKey(Id: – guid here –, ScaleGroupId:00000000-0000-0000-0000-000000000000, KeyType:CrmWRPCTokenKey, Expired:True, ValidOn:07/30/2012 00:48:28, ExpiresOn:09/01/2012 00:48:28, CreatedOn:07/30/2012 00:48:28, CreatedBy:–crm user here –.
How to solve:
- Make sure “Microsoft CRM Asynchronous Processing Service” is running.(start>run type services.msc)
- Execute Microsoft.Crm.Tools.WRPCKeyRenewal.exe with parameter /R ( Microsoft.Crm.Tools.WRPCKeyRenewal.exe /R ) from :\ \Microsoft Dynamics CRM\Tools ( for example – C:\Program Files\Microsoft Dynamics CRM\Tools )