After upgraded K2 from 4.6.8 to 5.1 my application throw error "Method could not be resolved!" when executing method GetWorklistItems in Sourcecode.Workflow.Management.
I alredy using the new library from C:Programs Files (x86)K2 blackpearlin but it still didn't work, is there anyone facing the same problem?
Typically, the "Method could not be resolved!" error is due to a version mismatch between servers. Double check via Control Panel -> Programs and Features on all K2 related servers that the versions match.
Please ensure that all K2 products have the same version, this includes (K2 BlackPearl, K2 SmartForms, K2 SmartForms Control Pack, K2 for SharePoint), should there be a one that is not the same version then you will need to update them as well.
Also have at this solved post: Smartobject throws "Method could not be resolved!" exception:
Typically, the "Method could not be resolved!" error is due to a version mismatch between servers. Double check via Control Panel -> Programs and Features on all K2 related servers that the versions match.
Please ensure that all K2 products have the same version, this includes (K2 BlackPearl, K2 SmartForms, K2 SmartForms Control Pack, K2 for SharePoint), should there be a one that is not the same version then you will need to update them as well.
Also have at this solved post: Smartobject throws "Method could not be resolved!" exception:
Resolution This is an issue with the 32bit and 64bit SourceCode.Workflow.Client.dll. It could be due to old machine which is running on 32bit while new one is running on 64bit. We have 2 SourceCode.Workflow.Client.dll in our Blackpearl folder:- a) Program Files (x86)K2 blackpearlin (32bit) b) Program Files (x86)K2 Host Serverin (64bit)
Have you tried to run a Reconfigure from the K2 Five Setup Manager by running trough all the steps in the installer? If you already tried this, then try running from the same installer the Repair option. Do note that by running the repair it will revert all your K2 configurations to their default settings.
Versions do not match accross all environments. Take time and do not rush to get this in place.
All components need to be the same version across different Environments, this also includes client PC's where the Client tools are installed. If versions don't match, you will be seeing the “Method could not be resolved”.
Troubleshooting Steps
If you just applied a Fix Pack or upgraded and are receiving this error, it is due to the Package and Deploy tool being out of sync with the server where the package is being deployed to. Ensure that you updated Client Machines where Package and Deploy / Client tools are installed.
We use 3 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies to make this site work, therefore these are the minimum you can select. Learn more about our cookies.