Skip to main content
Nintex Community Menu Bar
Solved

GetWorklistItems - Method could not be resolved

  • November 6, 2019
  • 7 replies
  • 83 views
  • Translate

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?

Best answer by KagisoMasha

Hello  @dn1 

 

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:

https://community.k2.com/t5/K2-Blackpearl-Forum-Posts/Smartobject-throws-quot-Method-could-not-be-resolved-quot/td-p/73476?nobounce=

 

All the best of luck.

 

 

 

View original
Did this topic help you find an answer to your question?

Forum|alt.badge.img+7

Hello  @dn1 

 

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:

https://community.k2.com/t5/K2-Blackpearl-Forum-Posts/Smartobject-throws-quot-Method-could-not-be-resolved-quot/td-p/73476?nobounce=

 

All the best of luck.

 

 

 

Translate

Forum|alt.badge.img+9

Hi Dn1


 


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)


 


Ref: https://community.k2.com/t5/K2-blackpearl-Articles/Error-When-Accessing-SourceCode-Workflow-Management-dll-on-Local/ta-p/78692


 


Regards


Elvis

Translate

Goo day dn1,


 


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.


 


Kind regards,


Dumisani

Translate

  • November 6, 2019

Good day dn1

 

Will you please upgrade all components to version 5.1, by running your K2 Five 5.1 Setup again and select “Configure” or “Repair” option: https://community.k2.com/t5/K2-blackpearl-Articles/Designer-Method-could-not-be-resolved/ta-p/77741.

Understanding K2 Components: https://help.k2.com/onlinehelp/k2five/icg/5.1/default.htm#Plan/Components/Understanding-Components.htm,

Upgrade/ Update: https://help.k2.com/onlinehelp/k2five/icg/5.1/default.htm#Install/UpdateManager.htm%3FTocPath%3D_____9.

 

Best,

Sunrise

 

Translate

  • November 6, 2019

I've used 64bit SourceCode.Workflow.Client.dll and it's still doesn't work

Translate

Forum|alt.badge.img+7

HI  @dn1,

 

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.

 

ref: https://help.k2.com/support-services/kbt157569

 

Lets solve this issue now.

Translate

  • November 7, 2019

Hi Sunrise,

 

As you can see i already upgraded all the k2 component with the same version.

 

are there any logs that can be seen regarding this error. or did i miss something?

 

Translate

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings