Skip to main content

I have a problem with the K2 API.

When I wanted to impersonate the user to get the worklist using .NET form and
Visual Studio , it just stuck there.



This is my code :



 oConn.Open(ConfigurationManager.AppSettingss"K2Server"],
string.Format("{0},{1},{2}",

ConfigurationManager.AppSettingss"CN"],
ConfigurationManager.AppSettingss"username"],

ConfigurationManager.AppSettingss"password"]));

oConn.ImpersonateUser(User.Identity.Name);



The problem is on the second line.

It just stuck there until the web timeout by itself.



When I use the development production , we have no issues there.

This happens when I use the production environment.



The development enviroment using K2 Blackpearl Development License and using
the same build as the production environment.

I recently patch the development environment using the K2 patch K2 blackpearl
4.5 Update (4.10060.1.1420).exe but I didn’t patch the production environment
as the operation is running smoothly without the patch.



This happens yesterday afternoon.

Recently , there is no activity in production environment or changing the
configuration.



We are using Active Directory for the login to the K2 Server


Any solution about this problem?


 


Thank you

After patching the production server , the server is coming back to normal and we're able to login and collect the tasklist from the k2 server.


 


Thank you.


Reply