Microsoft CRM 4: CrmException: Expired Key

Since Google gave me only 1 solution in Russian for this, I post here my solution

If you encounter the following exception in Microsoft CRM

Error Description:

The key specified to compute a hash value is expired, only active keys are valid. Expired Key :
CrmKey(Id:a3ed4202-4ebb-dd11-b530-00155d012118, ScaleGroupId:00000000-0000-0000-0000-000000000000, KeyType:CrmWRPCTokenKey,
Expired:True, ValidOn:11/26/2008 00:06:02, ExpiresOn:12/29/2008 00:06:02, CreatedOn:11/26/2008 00:06:02, CreatedBy:NT AUTHORITY\SYSTEM.

Error Details:

The key specified to compute a hash value is expired, only active keys are valid. Expired Key :
CrmKey(Id:a3ed4202-4ebb-dd11-b530-00155d012118, ScaleGroupId:00000000-0000-0000-0000-000000000000,
KeyType:CrmWRPCTokenKey, Expired:True, ValidOn:11/26/2008 00:06:02, ExpiresOn:12/29/2008 00:06:02,
CreatedOn:11/26/2008 00:06:02, CreatedBy:NT AUTHORITY\SYSTEM.

Full Stack:

[CrmException: The key specified to compute a hash value is expired, only active keys are valid.
Expired Key : CrmKey(Id:a3ed4202-4ebb-dd11-b530-00155d012118, ScaleGroupId:00000000-0000-0000-0000-000000000000, KeyType:CrmWRPCTokenKey, Expired:True,
ValidOn:11/26/2008 00:06:02, ExpiresOn:12/29/2008 00:06:02, CreatedOn:11/26/2008 00:06:02, CreatedBy:NT AUTHORITY\SYSTEM.] at Microsoft.Crm.CrmKeyService.ComputeHash(CrmKey key, Guid scaleGroupId, HashParameterBase[] parameters) at Microsoft.Crm.CrmKeyService.ComputeHash(CrmKey key, 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) [HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown.] at System.Web.UI.Page.HandleError(Exception e) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) at System.Web.UI.Page.ProcessRequest(HttpContext context) at ASP.default_aspx.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

Other Message:

Error Number: 0x8004A106

Source File: Not available

Line Number: Not available

 

Make sure "Microsoft CRM Asynchronous Processing Service" is running.

image

Latest Posts

Popular Posts