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
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.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156