Not Updating Worklist items in Local Host

  • 9 September 2009
  • 1 reply
  • 0 views

Badge +4

Hi, 


We developed workflow using K2 Black Pearl. As per our requirements we want to display worklist items count in the aspx form. But we are getting empty under the worklist item of the aspx form in local Host. If we open same form in the server it was displaying the item count properly. In the local host it is displaying the following errorNo connection could be made because the target machine actively refused it Port Number”. Please help me on this Issue.


 


 


Cheers


 


1 reply

Badge +4

I would suggest trying to open the workspace from your local machine to see if you can see the worklist items from there.


When you create a connection, are you sure you specify the K2 server name and not localhost.  You will need the server name. 


Example:


SourceCode.Workflow.Client.Connection _conn = new SourceCode.Workflow.Client.Connection();


_conn.Open("server name");


Also make sure the service is running.  You can also run the K2 service in console mode to see if your page is trying to open a connection to the server.


Henk

Reply