web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

CRM constantly logging an error regarding a missing CrmKey

(0) ShareShare
ReportReport
Posted on by

Hi - I have a question about a strange exception error that constantly pops up (every 30 minutes) in our CRM trace log files.  Essentially it says at the end "CrmKey With Id = e2b3c4fa-dbe6-e411-80c6-00155d45021a Does Not Exist".  (Error Number: 0x80040217.)  I've checked the CRM database and of course cannot find any entity with this Guid.  Googling doesn't seem to find any solutions to this problem.  I think maybe CRM is trying to update an entity in CRM that perhaps no longer exists - but there's no information about how to modify or edit whatever process is running.  The exception message refers to LookupMruWebService.asmx.  Can anyone help?

We are using CRM 2013.

*This post is locked for comments

I have the same question (0)
  • Community Member Profile Picture
    on at

    Hi,

    When are you getting this error message?

     

    What is the last action that was performed after which you started getting this exception?

    Is it a new deployment or did you do an upgrade or import ?

     

    Vijay| Microsoft Dynamics CRM Support engineer

  • Community Member Profile Picture
    on at

    Hi Vijay,

    We are getting this message in our log files constantly (even through the middle of the night).  So it seems to be independant of the normal functions we do with CRM - creating cases, updating contacts, etc.  There seems to be a rough pattern of it occurring every 30 minutes, but then it can pop up at a faster frequency than that at times.

    Our CRM deployment was 2011 and was upgraded to CRM 2013.  Looking back through the log files shows that this error message was occurring like this before we did the upgrade.  In fact this error has been popping up in the log files ever since we turned trace logging on (July 2014)

  • Community Member Profile Picture
    on at

    Hi Mark,

    Thank you for the response.

    So were you loosing any of the functionality because of this error message in your CRM 2011? Or is it affecting anything in CRM 2013?

    And do you see any error message pop ups on the UI while using CRM?

    Vijay| Microsoft Dynamics CRM Support engineer

  • Community Member Profile Picture
    on at

    Hi Vijay,

    Thanks for your reply. 

    We don't see any error messages coming up in the UI.  I think the only issue with functionality might be speed related - I suspect CRM constantly dealing with this error might be causing it to run a bit slower and use up resources (occaisionally we get errors where emails were not turned into a case due to there not being enough resources available).  If it's something we can correct then CRM might run a bit quicker?

  • Suggested answer
    purwar purwar Profile Picture
    2,836 on at

    Check the MSCRM-Async Service is correctly installed. Sometimes if the installation fails, the Services of MSCRM are not registered completly. If the async service is not running you got such messages like this:

    Active Key of type : CrmWRPCTokenKey not found for scalegroup id : 00000000-0000-0000-0000-000000000000. Exception : Microsoft.Crm.CrmConfigObjectNotFoundException: CrmKey With Id = 00000000-0000-0000-0000-000000000000 Does Not Exist

    If the service is there, u have to start the service. If the service is not in the list of services, u have to deinstall MSCRM and the do a reinstall. Check at the End of the Setup-wizard that the installation was succesfull without any errors.

    I suggest also to check in the mscrm deployment manager (Start/Programs/Microsoft Dynamics CRM/Deployment Manager) that there is at least 1 Organisation installed and enabled.

  • Community Member Profile Picture
    on at

    Hi Priyadarshi,

    Thanks for the tips.  I've checked the server, and the MSCRM-Async Service is running, and there's also a MSCRM-Async Service (maintenance) service that is also running.  The Deployment manager shows that we have one organisation installed and enabled.

  • purwar purwar Profile Picture
    2,836 on at

    Can you share complete error message?

  • Community Member Profile Picture
    on at

    Yes - I will paste it below:

    [2015-06-23 12:58:00.347] Process: w3wp |Organization:00000000-0000-0000-0000-000000000000 |Thread:   20 |Category: Exception |User: 00000000-0000-0000-0000-000000000000 |Level: Error |ReqId: e20eda7d-f696-4fef-8bb2-7ee0ca1b1662 | CrmException..ctor  ilOffset = 0x7
        at CrmException..ctor(String message, Exception innerException, Int32 errorCode, Boolean isFlowControlException)  ilOffset = 0x7
        at CrmException..ctor(String message, Int32 errorCode)  ilOffset = 0x5
        at CrmKey.LoadExistingKey(Guid crmKeyId, LocatorServiceContext locatorServiceContext)  ilOffset = 0xB9
        at CrmKeyService.GetKeyFromHash(Byte[] hashValue)  ilOffset = 0x5E
        at WrpcContext.ValidateToken()  ilOffset = 0x36D
        at AppWebService..ctor(Boolean wrpcCheck)  ilOffset = 0xF
        at RecentlyViewedWebService..ctor()  ilOffset = 0x0
        at RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)  ilOffset = 0xFFFFFFFF
        at RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)  ilOffset = 0x6F
        at RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)  ilOffset = 0xB5
        at Activator.CreateInstance(Type type, Boolean nonPublic)  ilOffset = 0x43
        at Activator.CreateInstance(Type type)  ilOffset = 0x31
        at SoapServerProtocol.CreateServerInstance()  ilOffset = 0x0
        at WebServiceHandler.Invoke()  ilOffset = 0x11
        at WebServiceHandler.CoreProcessRequest()  ilOffset = 0x13E
        at SyncSessionlessHandler.ProcessRequest(HttpContext context)  ilOffset = 0x39
        at HandlerWrapper.ProcessRequest(HttpContext context)  ilOffset = 0x7
        at CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()  ilOffset = 0x18D
        at HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)  ilOffset = 0x15
        at ApplicationStepManager.ResumeSteps(Exception error)  ilOffset = 0x10A
        at HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)  ilOffset = 0x5C
        at HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)  ilOffset = 0x16A
        at ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType)  ilOffset = 0x4B
    >Crm Exception: Message: CrmKey With Id = 35bfaa0c-6ffe-e411-80c8-00155d45021a Does Not Exist, ErrorCode: -2147220969

  • Suggested answer
    purwar purwar Profile Picture
    2,836 on at

    This can indicate that a key is not being regenerated correctly.

    1-Make sure "Microsoft CRM Asynchronous Processing Service" is running.(start>run type services.msc)

    2-Execute Microsoft.Crm.Tools.WRPCKeyRenewal.exe with parameter /R ( Microsoft.Crm.Tools.WRPCKeyRenewal.exe /R ) from

    :\ \Microsoft Dynamics CRM\Tools ( for example - C:\Program Files\Microsoft Dynamics CRM\Tools )

    3-Reset IIS

    If not resolved take help from below blog:

    community.dynamics.com/.../considerations-for-a-dynamics-crm-2011-autogroupmanagementoff-installation

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans