Hi,
I was attempting to update a customer last night and while the GP Utilities were updating the Dynamics system database, I got an error while loading stored procedures that, "The following SQL statement produced an error. EXEC wfDeployClrAssemblies. The customer is not using Workflow. I have looked at other blog posts regarding this issue; most have to do with running the script manually to fix workflow issues or when updating from GP2013 or GP 2015.
I have executed the script manually, first immediately after getting the error message, and then after first restoring the database from backup and then starting the update to no avail.
I have dropped all the dependency functions and procedures associated with the offending assembly, and the System.Directory.Services assembly as other blogs suggested since the update will recreate them for you, but the update still errors out at the same place.
I notice when I run the script manually it takes a while (30-45 seconds) to run. I thought it might be timing out, but the DEX.ini file has the timeout settings in it all set =0. I have looked at the Event Viewer and I cannot find any errors for SQL. I created the DEX SQL log, but the error is the same as what I get displayed on screen.
My error messages are attached. Any help would be appreciated.
Thanks...LarryP