In Visual Studio, open the K2 context browser. Click the environment (top) tab, then click the downward pointing triangle and click "Change Server...". Double check that this entry has the correct port for your environment. Continue checking items in the environment tab, like "Workflow Server" by right-clicking and choose "Edit Field" to make sure the proper ports are set. Once you have everything using the right ports, your error message should be fixed.
David
Hi David,
Thanks a ton for your reply. Indeed the ports that VS was trying to access were pointing to 5555 instead of 4444(in my case). So, atleast one of the errors seems to be resolved. However, when I try deploying the workflow (or even trying to open the workflow process file (.kprx), I get this error:
Error 1 Property accessor 'WorkingHours' on object 'SourceCode.Workflow.Design.DefaultProcess' threw the following exception:'Cannot access a disposed object.
Object name: 'DefaultProcess'.'
at System.ComponentModel.ReflectPropertyDescriptor.GetValue(Object component)
at SourceCode.Framework.PersistableObject.Validate()
at SourceCode.Framework.PersistableContainerObject.Validate()
at SourceCode.Workflow.Authoring.Process.Validate()
at SourceCode.Framework.PersistableObject.SourceCode.Framework.IValidationContainer.Validate()
at SourceCode.DeploymentTasks.Compiler.WorkflowCompiler.Execute() C:Program FilesMSBuildSourceCodev1.0ProjectSystem.targets 28 6 NARApproval
I have also posted this error at http://www.k2underground.com/forums/post/27713.aspx
Any idea on this one?
Anyways, thanks again for helping me out.
Anand