Skip to main content

Notifications

Microsoft Dynamics GP (Archived)

A.NET Framework error

Posted on by Microsoft Employee

Microsoft SQL Server Native Client 11.0 SQL Server A.NET Framework error occurred during execution of user-defined routine or Aggregate "SendWorkflowCompletionEmail" System.IO.FileLoadException:  Could not load file or assembly 'System.DirectorySer{

HELP - no idea where to go or how this happened.

Only thing done in the workflow process was to change the email to send notifications to a different person.

Now this happens when entering PO's

*This post is locked for comments

  • RE: A.NET Framework error

    I also wanted to mention that we've seen a couple of support cases in the last day or so, that having the 'KB 3102467' .NET Framework patch installed has been seen to 'break' Workflow 2.0 as well. The patch has been out for a while, so odd that we're starting to see it just recently.

    Also, this patch doesn't necessarily break it on all machines, as we've installed it on machines of our own and it has no issues with Workflow 2.0.

    This being said, running the 'Exec wfDeployClrAssemblies' script against the DYNAMICS/system database for Dynamics GP resolves the issue. I just wanted to put this information out here as well.

    We did see one customer on Dynamics GP 2013 R2 where this didn't work so they had to uninstall the KB 3102467 patch and that fixed the issues. Our thinking is that for GP 2013 issues, we may need to manually drop the functions, procedures and assemblies the wfDeployClrAssemblies procedure creates and that will resolve it.

    Thank you

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: A.NET Framework error

    Yeah - that worked!

  • Verified answer
    Peter Muchira Profile Picture
    Peter Muchira 1,910 on at
    RE: A.NET Framework error

    Hello,

    Run this against your Dynamics(system) database:

    exec wfDeployClrAssemblies

    Check this link for more discussions, and see if it helps:

    community.dynamics.com/.../138112

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,104 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans