Microsoft CRM Error – The key specified to compute a hash value is expired

Issue:

Title: CRM error
Description: Microsoft CRM Error Report:
Error Description:
The key specified to compute a hash value is expired, only active keys are valid. Expired Key : CrmKey(Id:6a863774-4020-de11-a55e-0050569b0182, ScaleGroupId:00000000-0000-0000-0000-000000000000, KeyType:CrmWRPCTokenKey, Expired:True, ValidOn:04/03/2009 11:13:27, ExpiresOn:05/06/2009 11:13:27, CreatedOn:04/03/2009 11:13:27, CreatedBy:NT AUTHORITY\NETWORK SERVICE.

Error Details:
The key specified to compute a hash value is expired, only active keys are valid. Expired Key : CrmKey(Id:6a863774-4020-de11-a55e-0050569b0182, ScaleGroupId:00000000-0000-0000-0000-000000000000, KeyType:CrmWRPCTokenKey, Expired:True, ValidOn:04/03/2009 11:13:27, ExpiresOn:05/06/2009 11:13:27, CreatedOn:04/03/2009 11:13:27, CreatedBy:NT AUTHORITY\NETWORK SERVICE.

Full Stack:
[CrmException: The key specified to compute a hash value is expired, only active keys are valid. Expired Key : CrmKey(Id:6a863774-4020-de11-a55e-0050569b0182, ScaleGroupId:00000000-0000-0000-0000-000000000000, KeyType:CrmWRPCTokenKey, Expired:True, ValidOn:04/03/2009 11:13:27, ExpiresOn:05/06/2009 11:13:27, CreatedOn:04/03/2009 11:13:27, CreatedBy:NT AUTHORITY\NETWORK SERVICE.]
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:
0×8004A106

Source File:
Not available

Line Number:
Not available

Date: 05-07-2009

Time: 09:32:42

 Resolution:

Hi,
I was facing the same problem and solved it like this: on the server (remote dektop) do the following
C:\Program Files\Microsoft Dynamics CRM\Tools >Microsoft.Crm.Tools.WRPCKeyRenewal.exe /R

This should be done by CRM on a scheduled base, but for some reason that was failing on my server. Executing it manually solved the issue. I hope this might help some other people.


  1. Kartik Bhatt says:

    Thanks a tone….this did solve the same problem for me…….

Leave a Reply

SEO Powered by Platinum SEO from Techblissonline