Unable to deploy SmartForm using the K2 Package and Deployment tool
kbt162448
PRODUCTIssue
You are unable to deploy your SmartForm using the K2 Package and Deployment tool due to a "Method not found" error:
Symptoms
An example of the full error message shown in the Deployment logs is as follows:
"PackTest" package deployed 1/31/2019 3:48:02 AM
User Account: DomainUser
Fail TESTDEPLOY
at SourceCode.Runtime.Services.Forms.MergeProvider.MergeAuthoringInstances(IMergeInfoProvider mergeProvider, IBaseNamedObject source, IBaseNamedObject target, ComplexType complexType)
at SourceCode.Runtime.Services.Forms.MergeProvider.Merge(ComplexType complexType, IBaseNamedObject instance)
at SourceCode.Runtime.Services.Forms.MergeProvider.Merge(ComplexType complexType)
at SourceCode.Runtime.Services.Forms.Services.BaseFormViewService`3.Deploy(IDeploymentContext context) 00:00:00.0403547
Success Form 00:00:00.0648798
Success test 00:00:00.0156003
Total Duration: 00:00:00.1208348
Troubleshooting Steps
Please compare the version of the assembly "SourceCode.Forms.Design.dll" in the locations below and in your Global Assembly Cache (C:WindowsassemblyGAC_MSIL).
[InstallDrive]:Program Files (x86)K2 blackpearlHost ServerBin
[InstallDrive]:Program Files (x86)K2 blackpearlBin
If the assembly version in GAC does not match up, please replace the assembly with the one in either of the above-mentioned locations.
Kindly stop K2 Service first before replacing any assemblies.
The assemblies' version can be viewed when you right-click on the file, choose Properties and select the Details tab as per below: