Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

Plugin error: Could not load file or assembly 'Box.V2, Version=1.0.0.0

Posted on by Microsoft Employee

Hi 

Currently, I am working with MS Dynamics CRM integration with box.com. I have added one nugget package Box.V2 and I have used properties of Box.V2 .dll file. I have registered the plugin on create of Account Post Operation. Now when I am creating a record I

"Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]:
Could not load file or assembly 'Box.V2, Version=1.0.0.0, Culture=neutral, PublicKeyToken=ddda8fe64dde1ac3' or one of its dependencies. The system cannot find the file specified.Detail:"

Please find attached error file that we are receiving while creation of account record.

Thanks

*This post is locked for comments

  • Aric Levin Profile Picture
    Aric Levin 30,188 on at
    RE: Plugin error: Could not load file or assembly 'Box.V2, Version=1.0.0.0

    It seems like you are referencing your a third party assembly from your plugin.

    Since CRM Online runs in a sandbox environment (and is hosted), you are unable to add your external assemblies to your CRM solution.

    The only option that you have is basically to add your third party dll to your own plugin by using the ilmerge utility, and combining both dlls into one.

    If you are using CRM On-Premise you can do the same logic, but you can also import your external assembly to the GAC or file system if necessary.

    Hope this helps.

  • EmployeeOcta Profile Picture
    EmployeeOcta on at
    RE: Plugin error: Could not load file or assembly 'Box.V2, Version=1.0.0.0

    Hello,

    Check with below url , it may help you.

    nicknow.net/dynamics-crm-ilmerge-dll-plugin

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