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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Answered

CRMAsyncService Crashing D365 9.1 Update 3

(0) ShareShare
ReportReport
Posted on by 10

Hey Guys. 

We recently patched our D365 On-Prem install to 9.1 Update 3. Problem is, the Asynchronous service keeps crashing on startup. Looking for a Specific assembly/dll called Castle.Core 

It seems the Autofac dll’s are looking for CastleCore version 3.2.0.0. However CastleCore is on 3.3.3.58 for quite some time. 

>Exception while executing async service: MSCRMAsyncService - System.IO.FileLoadException: Could not load file or assembly 'Castle.Core, Version=3.2.0.0, Culture=neutral, PublicKeyToken=407dd0808d44fbdc' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

>File name: 'Castle.Core, Version=3.2.0.0, Culture=neutral, PublicKeyToken=407dd0808d44fbdc'

I have the same question (0)
  • Suggested answer
    Pedro Cadavez de Freitas Profile Picture
    Microsoft Employee on at

    Hello Ebrahim,

    Hope you are well.

    As you refer, the dll that the async service should be using is 3.3 and not 3.2.

    3.3 is inside the CRM bin folder.

    3.2 is a dll version from 2013 year.

    Either the setup is faulty and the async config file is pointing to the wrong dll version, or the castle dll is loaded on the GAC, overriding the path to CRM folder assembly.

    let us know how it goes.

  • Verified answer
    Alan Ericson Profile Picture
    Microsoft Employee on at

    Hi EbrahimOsman,

    I was encountering the same error in my environment -- it was due to making edits on the CrmAsyncService.exe.config in the Dynamics 365\Server\bin folder.

    If you edit a config file -- it will then be skipped on the update as the installer will reference the modified on date -- that way, an update doesn't overwrite your changes to a config file.

    There are changes in the async service config file that are included with the 9.1 update -- if the config file is skipped during the update, then this error can occur.

    What I did to resolve the issue is move the CrmAsyncService.exe.config to the desktop (just move out of the Dynamics 365\Server\bin folder), and run a repair on Dynamics CRM server in programs and features.

    Otherwise, I have uploaded a copy of the file here -- try replacing the async config file attached with the one on your server.
    [View:/cfs-file/__key/communityserver-discussions-components-files/117/CrmAsyncService_2E00_exe_2E00_config:320:240]

  • EbrahimOsman Profile Picture
    10 on at

    Thanks for all the feedback guys - Appreciate it.

    CRMAsyncService is working.

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Hamza H Profile Picture

Hamza H 142 Super User 2026 Season 1

#2
ManoVerse Profile Picture

ManoVerse 131 Super User 2026 Season 1

#3
Nagaraju_Matta Profile Picture

Nagaraju_Matta 128

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans