Wednesday 18 July 2012

MSCRMKeyGenerator problem

Error: when trying to browse the crm page.
object reference not set to an instance of an object.

when looked at the event viewer. following is the detail message

Current key (KeyType : CrmWRPCTokenKey) is expired.  This can indicate that a key is not being regenerated correctly.  Current Key : CrmKey(Id:xxxxx-xxxx-xxxx-a602-00155d8283bf, ScaleGroupId:00000000-0000-0000-0000-000000000000, KeyType:CrmWRPCTokenKey, Expired:True, ValidOn:06/15/2012 09:59:04, ExpiresOn:07/18/2012 09:59:04, CreatedOn:06/15/2012 09:59:04, CreatedBy:NT AUTHORITY\NETWORK SERVICE.

Solution: Restart Async servcie and do a IIS Reset

1 comment:

  1. you also need to run this command: C:\Program Files\Microsoft Dynamics CRM\Tools >Microsoft.Crm.Tools.WRPCKeyRenewal.exe /R
    Restarting the async service and IIS didn't work. Once I ran that command, everyone was able to log in and access the information.

    ReplyDelete