Skip to main content


 

Symptoms


You may see the following error when trying to update or register K2 Connect service instance using SmartObject Service Tester Tool:

“VALIDATION Unable to cast object of type ‘System.String’ to type ‘SourceCode.SmartObjects.Services.ServicesSDK.Objects.TypeMappings’”
 

Diagnoses


K2 connect service instances cannot be updated using SmartObject Service Tester Tool as it does not map the typemapping field. This is documented in KB00714 (http://help.k2.com/kb000714) which states:
“K2 recommends that the SmartObject Service Tester Tool is not used for updating or editing the K2 connect Service Instance. The K2 connect Admin Tool should be used at all times.
After updating the K2 connect Service Instance using the SmartObject Service Tester Tool, the TypeMapping data will be missing. To fix this, delete the K2 connect Service Instance and register the K2 connect Service Instance again using the K2 connect Administration Tool.”
This mean that in case K2 connect service instance was updated with SmartObject Service Tester Tool you will have to delete it and register again using the K2 connect Administration Tool.
 

Resolution

After updating the K2 connect Service Instance using the SmartObject Service Tester Tool, the TypeMapping data will be missing. To fix this, delete the K2 connect Service Instance and register the K2 connect Service Instance again using the K2 connect Administration Tool.




 
Be the first to reply!

Reply