Keep up to date with the latest information about Microsfot Dynamics GP through articles from the Perfect Image and azurecurve blog.
Error Submitting Batch For Workflow 2.0 Approval
September 8th, 2016 by Ian Grieve
[Microsoft][SQL Server Native Client 11.0][SQL Server][A .NET Framework error occurred during execution of user-defined routine or aggregate "Get "GetAssignedUsers". System.IO.FileLoadException: Could not load file or assembly 'System.DirectoryServices, Vers[
After clicking the OK button on the erro message the batch shows as automatically rejected.
I had a suspicion that this might be a result of the CLR Assemblies not having deployed correctly. Last time I saw this, it as when trying to select a manager for a Workflow Type while doing training.
Today while preparing, I had been able to select managers and users who would approve the workflow steps without any problems. I figured there was nothing to lose by giving a redploy of the assemblies another go:
After running the command against the system database (typically called DYNAMICS, but called D16R1 in my demo environment), I was able to resubmit the batch for approval.