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 :
Customer experience | Sales, Customer Insights,...
Suggested Answer

Can't load file or assembly - plugin referring to external .dll at the GAC

(0) ShareShare
ReportReport
Posted on by 370

Hi Experts, 

We are still using CRM 2013  on prem.  We have a plugin that has a reference to an external DLL on the GAC. We just updated the Server OS and the plugin stopped working. I used Gacutil to add the external DLL to the GAC and did an IISReset and recycled CRMAppPool but it still doesn work. Any advice? Currently we are not looking at merging .dlls. 

 

Error: can't load external assembly ***.bbt.dll

2019_2D00_12_2D00_04-12_5F00_25_5F00_14_2D00_Window.png

GAC

***.bbt.dll is already in GAC

2019_2D00_12_2D00_04-14_5F00_37_5F00_50_2D00_Window.png

I have the same question (0)
  • Suggested answer
    Thangamani Profile Picture
    507 on at

    Hi,

     Please put the external DLL in the "\Program Files\Microsoft Dynamics CRM\Server\bin: and then do the IISRESET and try to test your plugin.

    Pls mark as verified if this helps.

    Regards,

    Thangamani

  • Suggested answer
    Thangamani Profile Picture
    507 on at

    Hi,

     Please put the external DLL in the "\Program Files\Microsoft Dynamics CRM\Server\bin: and then do the IISRESET and try to test your plugin.

    Pls mark as verified if this helps.

    Regards,

    Thangamani

  • David Jennaway Profile Picture
    14,065 on at

    Is the referenced assembly (***bbt.dll) dependent on any other assemblies, and if so, have they been deployed to the GAC ?

    The fusion log viewer tool may help identify problems loading dependent assemblies

  • Erin Peng Profile Picture
    370 on at

    Hi David, thanks for the reply. Yes, there is another dependent assembly which is in the GAC already. I tried fusion log viewer tool on my local laptop but it didn't return any logs.  This plugin is registered at database.  I was using plugin profiler debug.

  • Erin Peng Profile Picture
    370 on at

    Hi David, thanks for the reply. Yes, there is another dependent assembly which is in the GAC already. I tried fusion log viewer tool on my local laptop but it didn't return any logs.  This plugin is registered at database.  I was using plugin profiler debug.

  • Suggested answer
    Erin Peng Profile Picture
    370 on at

    Thanks David. It is resolved now. The ***bbt.dll used in the plugin turned out to be different version from the one at the GAC. Not sure how it happened after server upgrade. But it is working now.

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 > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 73 Super User 2025 Season 2

#2
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 43 Most Valuable Professional

#3
Daniyal Khaleel Profile Picture

Daniyal Khaleel 32 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans