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

20 comments:

Anonymous said...

That was the solution I needed, thx

Anonymous said...

hey thanks buddy,

Anonymous said...

Thanks, Any idea why it stopped?

Peter Gfader said...

Invalid configuration settings, but I am pretty sure we didn't change anything :-)

#1
There is a KB article on this
http://support.microsoft.com/kb/961311/
This article says: the AsyncSdkRootDomain field in the DeploymentProperties table of the MSCRM_CONFIG database contains an incorrect value.

#2
In our case the problem was an import of an organization from another Microsoft Dynamics CRM 4.0 deployment, from Development Server to Test Server.
http://support.microsoft.com/kb/949844

Peter

Oscar Ridderheim said...

Thanks, that worked for me to.

Anonymous said...

Thanks, Peter. You enabled another company to resume operations!

Anonymous said...

Ossimly Ossim :-P

Unknown said...

Thanks! very helpful info!

Anonymous said...

C:\Program Files\Microsoft DynamicsCRM\Tools>Microsoft.Crm.Tools.WRPCKeyRenewal.exe /R worked for me (but this fix may trigger the same thing)

Geoff said...

THE BEST... THANKS!!!

Anonymous said...

Thanks! You saved my butt!

GGP said...

The MSCRM_Config had run out of space. Needed to remove the limit on the database growth.

Premroop said...

Thank you...

Yogita Bharti said...

great..it worked..Thanks Peter

Oana A. :) said...

Thanks!!!

משכורת said...

Thanks - this works like a charm

Chris said...

Thanks.

Andrey said...

Thanks!

saivenkat said...
This comment has been removed by a blog administrator.
Kavi Priya said...
This comment has been removed by a blog administrator.

Post a Comment

Latest Posts

Popular Posts