Monday, 17 October 2016

Workflow error Dynamics GP

I had Workflow working in Purchase Requisition processing up to the last time i used my vm.  Started using it today and when I submit a purchase requisition for approval I get the error below.  Note no changes had been made and this error appears now where everything worked previously:

"[Microsoft][SQL Server Native Client 10.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.DirectorSer[..." Error gets cut off at the end.


Resolution:
STEP 1:
Go to Microsoft Dynamics GP>> Maintenance>> SQL
Scroll to User Messages in the DYNAMICS db, insert and click 'create stored procedure'.

STEP 2:
Go to SQL and run the following script against DYNAMICS (system database)
exec wfDeployClrAssemblies

No comments:

Post a Comment