Skip to main content

Notifications

Announcements

No record found.

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'

  • EbrahimOsman Profile Picture
    10 on at
    RE: CRMAsyncService Crashing D365 9.1 Update 3

    Thanks for all the feedback guys - Appreciate it.

    CRMAsyncService is working.

  • Verified answer
    Alan Ericson Profile Picture
    on at
    RE: CRMAsyncService Crashing D365 9.1 Update 3

    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]

  • Suggested answer
    Pedro Cadavez de Freitas Profile Picture
    on at
    RE: CRMAsyncService Crashing D365 9.1 Update 3

    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.

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Daivat Vartak (v-9davar) Profile Picture

Daivat Vartak (v-9d... 225 Super User 2025 Season 1

#2
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 106

#3
Vahid Ghafarpour Profile Picture

Vahid Ghafarpour 82 Super User 2025 Season 1

Overall leaderboard

Product updates

Dynamics 365 release plans