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 :
Microsoft Dynamics CRM (Archived)

CRM 2016 workflow not allowed SharePoint.client.dll

(0) ShareShare
ReportReport
Posted on by

I have created one custom workflow activity with upload document template to the SharePoint Library but CRM not allowed could not load depending dlls like Sharepoint.client.dll, DocumentFormat.OpenXml.Packaging.
We have CRM 2016 on premises.


Thanks

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    a33ik Profile Picture
    84,331 Most Valuable Professional on at

    Hello,

    Try to merge all the assemblies into one using ILmerge - nicknow.net/dynamics-crm-ilmerge-dll-plugin

  • Community Member Profile Picture
    on at

    I tried but its give me error.

    The assembly content size '9667584 bytes' has exceeded the maximum value allowed for isolated plug-ins '8388608 bytes'

  • Suggested answer
    JohnAnonymous Profile Picture
    5,241 on at

    I'm definitely not an expert on this, but could it make a difference if your code is running in a sandbox or not?

    And are you sure the SharePoint dll is available form the GAC?

  • Community Member Profile Picture
    on at

    Hello

    You can also look at Tenfold, a third-party application that integrates a wide range of CRMs with phone systems. It can connect MS Dynamics s in mere minutes. There's a wide range of functions such as click to call, caller ID and others to streamline your sales call workflow. www.tenfold.com/.../dynamics

  • Suggested answer
    Andreas Cieslik Profile Picture
    9,267 on at

    Hello,

    maybe this is not the best solution and unsupported as you need to Change a database value directly.

    Do a backup of you MSCRM_CONFIG database and try the following changes:

    www.dynamicsmonster.com/.../Import-CRM-Dynamics-2015-Managed-Solution-Exceeded-Content-Size

    If you plan to migrate to CRM Online you should consider a better solution:

    www.red-gate.com/.../smartassembly

    will help to compress size of merged dlls.

    Consider also this blog:

    crmbusiness.wordpress.com/.../understanding-plugin-sandbox-mode

    alternatively you still can deploy to GAC with the following limitations:

    crmbusiness.wordpress.com/.../crm-2015-plugin-deployment-options

    but have not restriction on DLL sizes and dependencies.

    Cheers,

    Andreas

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 > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans