I have been attempting to register the worklist service instance. I copied the dll file to the k2 service and attempted to register the dll in GAC. It is still not showing on the drop-down to register the service.
I was following this article: https://help.k2.com/onlinehelp/k2five/devref/5.2/default.htm#extend/smo/registerdeploy.htm
I used powershell to register the dll via this article: https://www.andrewcbancroft.com/2015/12/16/using-powershell-to-install-a-dll-into-the-gac/
after noticing this issue from this article: https://help.k2.com/support-services/kbt143309
Anyone else have experience with this issue and know how to resolve this? Any help is appreciated. Thank you!
Solved! Go to Solution.
Go to C:WindowsMicrosoft.NETFramework64v2.0.50727config, open machine.config with a notepad.
Right on the first line, you should see the xml encoding. What is it showing? The correct encoding should be UTF-8:
<?xml version="1.0" encoding="UTF-8"?>
I have seen similar errors when the encoding is set to UTF-16. If you have UTF-16 as the encoding, change it to UTF-8, end your SMO Tester using Windows Task Manager, then reopen your SMO Tester.
After logging a ticket with support I found out that if you copy the .dll file into the service broker for some reason it is blocked. In order to unblock the file you have to right click on it, choose properties, check the unblock check box, apply and save, then restart the service. After that everything works fine.
Thanks for all the help!
I have also seen this happen a couple times if the DLL is blocked by the server. Could you also check on that?
-Right click the DLL file and select Properties. Check for the unblock button and click it.
Alternatively, you can unblock DLL from GAC assembly with Unblock-File cmdlet