CRM 4.0 Login failes 'key expired'

Published 24/07/2008 by Henry in CRM

On our CRM 4.0 Dev environment we experienced the following behaviour:
When opening CRM this message appeared:

The key specified to compute a hash value is expired, only active keys are valid.  Expired Key : CrmKey...

After searching on the machine I found that the Async service did not run, I started it and this solved the issue.

Henry Cordes
My thoughts exactly...

Comments (24) -

bob | Reply

07/08/2008 04:58:29 #

This does not work!!

dp247 | Reply

08/08/2008 21:34:36 #


Thanks for the post I am sure this saved me several hours.

17/09/2008 19:26:36 #

FYI, is same issue, but restarting the Async service (full name Microsoft CRM Asynchronous Processing Service) didn't fix it until I did an iisreset. While that may be obvious to some, it wasn't to me! Smile

If you need to contact me, my email is typed backwards.


18/09/2008 22:09:31 #

You are right, it may not be obvious to everybody and in my opinion when posting something like this, it is good to write the obvious...
Thanks for pointing this out!


24/12/2008 09:54:18 #

Thx Henry, this did it for me. It was after a reboot that the SQL server wasn't yet 'alive' (seperate machines ofcourse) that the Microsoft CRM Asynchronous Processing Service gave an error and did not start.

Hans Santens | Reply

07/01/2009 06:37:21 #

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

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.

07/01/2009 16:17:00 #

Thanks for the alternative solution. When this issue appears in a production environment i! think your solution is the way to go!
An iisreset may not be what you want in that case.

Maria | Reply

21/01/2009 08:14:22 #

Thank you! I'm so relieved it could be solved by something as simple as that. Like dp247 wrote, it saved me several hours of frustration.

Shubh Chandra Jha | Reply

21/01/2009 23:43:55 #

Stop of  Microsoft CRM Asynchronous Processing Service is root cause of this problem. And start of service resolve the issue. Some time reboot of system also required if SQL server or IIS is also in error.
In my case, restart of service worked 99%.

22/01/2009 01:48:30 #

Good to hear!

Timoi | Reply

07/03/2009 06:09:14 #

"C:\Program Files\Microsoft Dynamics CRM\Tools >Microsoft.Crm.Tools.WRPCKeyRenewal.exe /R"

This works. Thank you.

07/03/2009 11:43:45 #

I am glad to see you where helped by the solution Hans Santens provided in his comment.
It is always better to avoid a restart of a service or even an iisreset.

Saqlain Khan | Reply

25/07/2009 00:23:42 #

Thank you for the solution, just as you say Start the Microsoft CRM Asynchronous Processing Service, stop and start IIS ( iisreset -noforce ) and it is up-and-working again.

Catherine | Reply

07/11/2009 05:52:15 #

Do I need 2 CRM Server licenses if I want to run async services on a separate server?

Manuel | Reply

10/11/2009 17:30:05 #

Thanks for your post. This works

Jon | Reply

05/03/2010 16:01:50 #

Worked like a champ, thanks!

Christian | Reply

11/03/2010 08:52:05 #

Thanks! You saved me a lot of time.

JackAttack | Reply

12/08/2010 03:08:53 #

Thanks!, Works for me and saved my ass!!

Peter Levander | Reply

11/10/2010 14:35:32 #

Thanks! This saved me a lot of time and work.

Livewire United Kingdom | Reply

15/02/2011 17:02:08 #

Thanks to everyone, did th trick for me.

16/02/2011 22:32:43 #

"C:\Program Files\Microsoft Dynamics CRM\Tools >Microsoft.Crm.Tools.WRPCKeyRenewal.exe /R"

This works for me too, Thanks!

Chris Germany | Reply

31/05/2011 11:21:26 #

Hi there,

thank you very much!

"C:\Program Files\Microsoft Dynamics CRM\Tools >Microsoft.Crm.Tools.WRPCKeyRenewal.exe /R"

--> This was the solution for our problem!

Sumedha Australia | Reply

08/08/2011 07:06:10 #

Thanks mate.

luis Panama | Reply

12/08/2011 19:28:40 #

Muchas Gracias por el aporte, me soluciono.
Saludos y Mucahs Gracias

Add comment

  Country flag
  • Comment
  • Preview