web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

A.NET Framework error

(0) ShareShare
ReportReport
Posted on by

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

  • Verified answer
    Peter Muchira Profile Picture
    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

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

    Yeah - that worked!

  • Derek Albaugh Profile Picture
    on at
    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

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans