The key specified to compute a hash value is expired, only active keys are valid.
Ever accessed Microsoft Dynamics CRM and got the error “The key specified to compute a hash value is expired, only active keys are valid.” The error logged in the trace is as follows:
MSCRM Error Report:
--------------------------------------------------------------------------------------------------------
Error: Exception of type 'System.Web.HttpUnhandledException' was thrown.
Error Number: 0x8004A106
Error Message: The key specified to compute a hash value is expired, only active keys are valid. Expired Key : CrmKey(Id:d0879dd3-7f9d-de11-a5c4-0003ff392bd3, ScaleGroupId:00000000-0000-0000-0000-000000000000, KeyType:CrmWRPCTokenKey, Expired:True, ValidOn:09/09/2009 20:32:01, ExpiresOn:10/12/2009 20:31:55, CreatedOn:09/09/2009 20:32:01, 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:d0879dd3-7f9d-de11-a5c4-0003ff392bd3, ScaleGroupId:00000000-0000-0000-0000-000000000000, KeyType:CrmWRPCTokenKey, Expired:True, ValidOn:09/09/2009 20:32:01, ExpiresOn:10/12/2009 20:31:55, CreatedOn:09/09/2009 20:32:01, CreatedBy:NT AUTHORITY\NETWORK SERVICE.
Source File: Not available
Line Number: Not available
Request URL: http://localhost/Contoso/loader.aspx
Stack Trace Info: [CrmException: The key specified to compute a hash value is expired, only active keys are valid. Expired Key : CrmKey(Id:d0879dd3-7f9d-de11-a5c4-0003ff392bd3, ScaleGroupId:00000000-0000-0000-0000-000000000000, KeyType:CrmWRPCTokenKey, Expired:True, ValidOn:09/09/2009 20:32:01, ExpiresOn:10/12/2009 20:31:55, CreatedOn:09/09/2009 20:32:01, 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.contoso_loader_aspx.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Simply restart the asynchronous service and reset IIS. This should make it work!!!
MSCRM Error Report:
--------------------------------------------------------------------------------------------------------
Error: Exception of type 'System.Web.HttpUnhandledException' was thrown.
Error Number: 0x8004A106
Error Message: The key specified to compute a hash value is expired, only active keys are valid. Expired Key : CrmKey(Id:d0879dd3-7f9d-de11-a5c4-0003ff392bd3, ScaleGroupId:00000000-0000-0000-0000-000000000000, KeyType:CrmWRPCTokenKey, Expired:True, ValidOn:09/09/2009 20:32:01, ExpiresOn:10/12/2009 20:31:55, CreatedOn:09/09/2009 20:32:01, 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:d0879dd3-7f9d-de11-a5c4-0003ff392bd3, ScaleGroupId:00000000-0000-0000-0000-000000000000, KeyType:CrmWRPCTokenKey, Expired:True, ValidOn:09/09/2009 20:32:01, ExpiresOn:10/12/2009 20:31:55, CreatedOn:09/09/2009 20:32:01, CreatedBy:NT AUTHORITY\NETWORK SERVICE.
Source File: Not available
Line Number: Not available
Request URL: http://localhost/Contoso/loader.aspx
Stack Trace Info: [CrmException: The key specified to compute a hash value is expired, only active keys are valid. Expired Key : CrmKey(Id:d0879dd3-7f9d-de11-a5c4-0003ff392bd3, ScaleGroupId:00000000-0000-0000-0000-000000000000, KeyType:CrmWRPCTokenKey, Expired:True, ValidOn:09/09/2009 20:32:01, ExpiresOn:10/12/2009 20:31:55, CreatedOn:09/09/2009 20:32:01, 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.contoso_loader_aspx.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Simply restart the asynchronous service and reset IIS. This should make it work!!!
It can be resolved by starting the Async service from the platform server(if multiserver installed).
ReplyDeleteOther way is by running the "Microsoft.Crm.Tools.WRPCKeyRenewal.exe" from the /Tools frolder.
Hope the 1st one will solve in 99% and if not try the 2nd one, you will definitely get it resolved.
Sudhanshu Sahoo
Hello,
ReplyDeleteI run into the same problem with MS CRM 2011.
Neither
re-)starting the MS CRM Asynchronous Processing Service
nor
Microsoft.Crm.Tools.WRPCKeyRenewal.exe /R
would resolve the problem.
What else can I do?
Thank you
Andreas
Hi,
ReplyDeletefound out that thru some other post that you have to do an iisreset after the manual renewal in the commandline.
That did it then.
Sincerely
Andreas
I ran into this as well with CRM2011. Thanks for posting the fix, it worked in my case as well. Does anyone have an idea of what causes this issue, and if there's a way to prevent this from happening again?
ReplyDelete-Marilyn Sizemore
It work for me as well... Thanks
ReplyDeleteI had to do all of that mentioned above and CRM still did not run. It was forced only after full server restart.
ReplyDeleteBut the key is the renewal tool: Microsoft.Crm.Tools.WRPCKeyRenewal.exe /R
After restarting the Asynchronous CRM service and restarting IIS Admin Service, i still had to close down my outlook client and open it back up before i could access CRM. However I was able to use my IE browser to navigate to our CRM server and access CRM that way even though i could not access it through the CRM for outlook client
ReplyDeleteWorks perfectly for me!
ReplyDeleteThanks a lot for this solution
Yes this works for me, the first one
ReplyDeleteI have CRM2011 and started to get this problem. Using WRPCKeyRenewal.exe /R and restarting IIS used to work, but now it has stopped working. Any ideas on how to get CRM back up and running.
ReplyDeleteI have solve this problem about once a month. Does anyone knows a way to prevent it from happening ?
ReplyDeleteThanks for the solution..
ReplyDeleteis there any solution for online version ?
ReplyDeleteAntalya
ReplyDeleteAntep
Burdur
Sakarya
istanbul
LV81U0
denizli evden eve nakliyat
ReplyDeletekars evden eve nakliyat
çorum evden eve nakliyat
kars evden eve nakliyat
malatya evden eve nakliyat
S2F
C1820
ReplyDeletePursaklar Fayans Ustası
Çerkezköy Parke Ustası
Ünye Çekici
Maraş Parça Eşya Taşıma
Çerkezköy Cam Balkon
Eryaman Fayans Ustası
Antep Şehirler Arası Nakliyat
Kırşehir Evden Eve Nakliyat
Bursa Şehir İçi Nakliyat
20395
ReplyDeleteÇerkezköy Petek Temizleme
Malatya Şehirler Arası Nakliyat
Isparta Lojistik
Maraş Şehirler Arası Nakliyat
Bartın Şehir İçi Nakliyat
Adana Şehir İçi Nakliyat
Uşak Lojistik
Kırklareli Evden Eve Nakliyat
Dxgm Coin Hangi Borsada
8D54C
ReplyDelete%20 indirim kodu
06918
ReplyDeleteerzurum sohbet uygulamaları
denizli ücretsiz sohbet
hatay sesli sohbet
mersin sesli sohbet odası
görüntülü sohbet uygulama
çorum mobil sohbet
muş sohbet chat
edirne sesli sohbet siteleri
telefonda kızlarla sohbet
D26A7
ReplyDeletemuğla görüntülü sohbet kızlarla
çorum kadınlarla sohbet
çankırı kadınlarla görüntülü sohbet
muğla mobil sohbet chat
Tekirdağ Telefonda Kadınlarla Sohbet
Adana Sohbet Siteleri
Batman Canli Sohbet Bedava
erzincan telefonda görüntülü sohbet
canli sohbet chat