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

  • Suggested answer
    Erin Peng Profile Picture
    370 on at
    RE: Can't load file or assembly - plugin referring to external .dll at the GAC

    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.

  • Erin Peng Profile Picture
    370 on at
    RE: Can't load file or assembly - plugin referring to external .dll at the GAC

    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
    RE: Can't load file or assembly - plugin referring to external .dll at the GAC

    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.

  • David Jennaway Profile Picture
    14,065 on at
    RE: Can't load file or assembly - plugin referring to external .dll at the GAC

    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

  • Suggested answer
    Thangamani Profile Picture
    507 on at
    RE: Can't load file or assembly - plugin referring to external .dll at the GAC

    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
    RE: Can't load file or assembly - plugin referring to external .dll at the GAC

    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

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
Vahid Ghafarpour Profile Picture

Vahid Ghafarpour 78 Super User 2025 Season 1

#3
Sahra Profile Picture

Sahra 43

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans