Skip to main content

Hi All,

 Following error is logged in K2ServiceManager

 

System.Exception: Object '/d93af01a_b7fb_43bc_87ea_b8235c058c43/s3xq6ootjaoudjbiuv0psqw5_2896.rem' has been disconnected or does not exist at the server.
   at K2Code3977.Main(ServerEventContext K2)

 

wat does it mean??, hw to handle it???

This error normally means that there was a timeout issue with the remote call (e.g. web service).


You can just do a retry and it should work.


However, you might want to review the specific call to see why it is timing out.


The issue which occured is described in KB000510


The problem does only appear when the object’s lifetime within the AppDomain expires after 5 minutes - AND - when K2 objects (data fields or xml) are changed after the expiration.


To check the lease lifetime of a K2 object you can use the following code:


GetLease(K2.ProcessInstance).CurrentLeaseTime


public System.Runtime.Remoting.Lifetime.ILease GetLease (System.MarshalByRefObject obj)
{
 return 
  (System.Runtime.Remoting.Lifetime.ILease) obj.GetLifetimeService();
}


Regards
Patrik


Reply