Skip to main content

Hi,The issue with impersonation is happening in one of the env - Error says " 28026 K2:DomainUser does not have permissions to impersonate user DomainUser"

The following check is already done.

1.Service account which the Website app pool is running is already added in K2 workspace Rights with full rights with impersonation and admin rights.

2.The Website ASP.NET Impersonation and Windows authentication enabled with web config having ImpersonateUser=True

 

Please assist as this is blocking a major deployment in one of our environment.

 

Hi ShishirDK,

 

We ran into a similar issue last month and only just figured it out.  It may or may not be the same issue, though, but here's our solution:

 

In the environment you're running, are you on a Developer license?  If so, you have to run K2 using the console, not the service.  When you run K2 as a console then you're actually running K2 as your user account, NOT the K2 service account.  The solution for this is to either grant yourself Impersonation rights or, ideally, right click the link to the K2 console and select Run As and run as the K2 Service Account.


Thanks Chris. Will surely try your suggestion.


You may also need to grant impersonate rights to the specified users/groups.  This is done at the server level under Server Rights, I beleive.


Reply