CRM 4.0 Login failes 'key expired'

Published 7/24/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

8/7/2008 4:58:29 AM #

This does not work!!

dp247 | Reply

8/8/2008 9:34:36 PM #


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

9/17/2008 7:26:36 PM #

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.


9/18/2008 10:09:31 PM #

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!


12/24/2008 9:54:18 AM #

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

1/7/2009 6:37:21 AM #

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.

1/7/2009 4:17:00 PM #

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

1/21/2009 8:14:22 AM #

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

1/21/2009 11:43:55 PM #

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%.

1/22/2009 1:48:30 AM #

Good to hear!

Timoi | Reply

3/7/2009 6:09:14 AM #

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

This works. Thank you.

3/7/2009 11:43:45 AM #

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

7/25/2009 12:23:42 AM #

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

11/7/2009 5:52:15 AM #

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

Manuel | Reply

11/10/2009 5:30:05 PM #

Thanks for your post. This works

Jon | Reply

3/5/2010 4:01:50 PM #

Worked like a champ, thanks!

Christian | Reply

3/11/2010 8:52:05 AM #

Thanks! You saved me a lot of time.

JackAttack | Reply

8/12/2010 3:08:53 AM #

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

Peter Levander | Reply

10/11/2010 2:35:32 PM #

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

Livewire United Kingdom | Reply

2/15/2011 5:02:08 PM #

Thanks to everyone, did th trick for me.

2/16/2011 10:32:43 PM #

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

This works for me too, Thanks!

Chris Germany | Reply

5/31/2011 11:21:26 AM #

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

8/8/2011 7:06:10 AM #

Thanks mate.

luis Panama | Reply

8/12/2011 7:28:40 PM #

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

Add comment

  Country flag
  • Comment
  • Preview