Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

2 CRM 4.0 on-premise servers to same database using NLB and not plugins working

Posted on by Microsoft Employee

I have recently added an additional server with CRM installed to a configuration that contained a CRM server and a SQL database server. Per the installation guide, I was instructed to setup a NLB to handle traffic to the 2 CRM servers and add the NLB to the MSCRM_CONFIG database. I have successfully setup the new CRM server, configured the NLB for the 2 server, and updated MSCRM_CONFIG with the NLB but when applied updates to record via the UI for the new CRM server I am getting "unable to load plugin assembly" errors. 

What additional step(s) do I need to perform to resolve this error and have all existing plugin to trigger as expected?  

 

My Setup:
NLB  --> CRM server 1    --> SQL server

         --> CRM server 2

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: 2 CRM 4.0 on-premise servers to same database using NLB and not plugins working

    Thanks for the assistance Wayne. I got my Network team to set cookie persistence/sticky sessions enabled in the load balancer but the plugins aren't getting triggered consistently from the new server when records are added/updated. Do you know what could be causing this inconsistency? Is it possibly how the plugins are registered?

  • Wayne Walton Profile Picture
    Wayne Walton 13,726 on at
    RE: 2 CRM 4.0 on-premise servers to same database using NLB and not plugins working

    docs.microsoft.com/.../cc778263(v=ws.10)

    You want to look for Affinity, and the type you want is Single, if I recall.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: 2 CRM 4.0 on-premise servers to same database using NLB and not plugins working

    Thanks for you response. How do you enable sticky sessions?

  • Wayne Walton Profile Picture
    Wayne Walton 13,726 on at
    RE: 2 CRM 4.0 on-premise servers to same database using NLB and not plugins working

    It's been a long time since I've done CRM 4 load balancing, but that sounds like the old issue of not enabling "sticky sessions".  You need users to stay with the front-end they're on to make sure all plugins can retain context to the user.

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!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans