All,
I have developed a new Workflow. I have two K2 servers (dev and test).
Deployment on Dev without problems through Visual Studio. Now I've done everything described in KB 188, make a deployment package, copy all files to the test server and run the "msbuild MyWorkflow.msbuild /p:Environment=Testing" (the environment exists on both servers).
First of all, it throws an exception because the SmartObjects were not deployed. So try with this command:
"msbuild MyWorkflow.msbuild /p:InfoPath_Process_And_Event_Deployment=False /p:Environment=Testing"
Now the SmartObjects deploying successfully (after running the Service Instance Synchronizer Utility from Blackmarket).
If I now run the first msbuild again, a new error comes up:
"Inconsistency detected between SmartObject and ServiceObject during loading of SmartObject definition. Property : ProductClassID not found in ServiceInstance definition"
The property "ProductClassID" is one property in my SO, but also if I "Update K2 SmartObject Service Definition" within my SharePoint Site nothing changed.
Now I cannot connect with VS to the Testserver to delete the SmartObjects. The SmartService Instance cannot be delete because there are dependants. The process can also not be deleted because it is not supported (since K2.net 2003...)
What should I do now? Is it really so difficult to deploy a process to another server?