Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

MSCRM Async Service exception

Posted on by Microsoft Employee

Hi everybody,

I have in my Windows Application log the following error:

Host CRM01: A Microsoft Dynamics CRM Asynchronous Processing Service operation of type adc8d523-24f6-4107-9dba-85d98d8ca647 has failed
Organization ID: JobId: de221d53-830c-4ad0-8f80-fa58a02bc203 OrgId:adc8d523-24f6-4107-9dba-85d98d8ca647 JobType:50; ErrorMessage: ErrorAction:Rethrow Exception:Unhandled Exception: System.Collections.Generic.KeyNotFoundException: Der angegebene Schlüssel war nicht im Wörterbuch angegeben.
bei System.Collections.Generic.Dictionary`2.get_Item(TKey key)
bei Microsoft.Crm.Asynchronous.EmailConnector.MailboxDataAccess.UpdateOutgoingMailbox(Mailbox mailbox, IAsyncEvent asyncEvent)
bei Microsoft.Crm.Asynchronous.EmailConnector.OutgoingEmailProviderBase.UpdateMailboxes()
bei Microsoft.Crm.Asynchronous.EmailConnector.OutgoingEmailProviderBase.Acknowledge()
bei Microsoft.Crm.Asynchronous.EmailConnector.OutgoingActivityProviderBase`1.Run()
bei Microsoft.Crm.Asynchronous.EmailConnector.OutgoingActivityOperation.InternalExecute(ActivityAsyncEvent asyncEvent)
bei Microsoft.Crm.Asynchronous.AsyncEventExecutionManager`2.ExecuteHandler(IAsyncEventHandlerFactory handlerFactory)
bei Microsoft.Crm.Asynchronous.PoolHandler.ProcessAsyncEvent(IAsyncEventExecutionManager asyncEventExecutionManager)

Organization Unique Name: %4
Error code: %5
Error description: %6

Does anybody know, how to fix it?

Br,

DrVer

*This post is locked for comments

  • PrabaharanKannan Profile Picture
    PrabaharanKannan 40 on at
    RE: MSCRM Async Service exception

    Super DrVer. If you feel my post gives any hints. Mark it as Answer..

    Thanks,

    Prabaharan Kannan

  • MyCRMBlog Profile Picture
    MyCRMBlog 150 on at
    RE: MSCRM Async Service exception

    Ok My issue is resolved I don't know how its related...I found Microsoft office online assistant service running on my backup application server ...uninstalled it rebooted my server my asynch is back up picked up all jobs in queue and processed them successfully.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: MSCRM Async Service exception

    Hi! 

    Yes it is on-prem.

    I already checked everything, restarted the async service, checked mailbox config. Nothing of that fixed the problem. 

    The mails are in mail queue with "pending" - if I open a mail record there is a notification, that the mail was tried to send 2 times for example. And the recipient received the mail two times... But it is still pending.

  • PrabaharanKannan Profile Picture
    PrabaharanKannan 40 on at
    RE: MSCRM Async Service exception

    Hi DrVer,

    If you are using CRM 2016 on-Premise, than try to restart Asynchronous service.

    For Multiple E-mail are sending instead of one :

    Try to send E-mail from Quick Campaigns and go to E-mail in CRM and Check the status of that E-mail. If it is in sending status then there might be a problem in Mailbox configuration setting for that USER.

    Go to the USER who sends E-mail and check The Outgoing Email configuration in Mailbox. If it is "Microsoft Outlook for CRM", Then Change that as a "Server Side Synchronization/E-mail router" and Click Approve Email, Test & Enable it.

    Again try to send E-mail and Let me know the result.

    Thanks,

    Prabaharan Kannan

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: MSCRM Async Service exception

    Hi! 

    No - I didn't find any fix. 

    In my case the problem goes further: If I send e-mail by using quick campaigns each recipient gets the e-mail multiple times (sometimes 10 times and more). I am still waiting for a fix. 

    As a workaround I developed a .Net application to send the e-mails.

  • MyCRMBlog Profile Picture
    MyCRMBlog 150 on at
    RE: MSCRM Async Service exception

    Hi, By any change did you find any fix for this?

  • MyCRMBlog Profile Picture
    MyCRMBlog 150 on at
    RE: MSCRM Async Service exception

    Hi,

    Any fix for this, none of asynch jobs are running . It was working without any issues few days back, suddenly this issue poped up and no asynch workflow is processing. Any information would be of great help.

    Regards,

    Santhi

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: MSCRM Async Service exception

    No, the error is still present...

  • Vidyuth Profile Picture
    Vidyuth 55 on at
    RE: MSCRM Async Service exception

    I have a similar issue, have you found a solution to the issue?

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans