Question

The K2:Domain\test user could not be found 

  • 13 February 2023
  • 6 replies
  • 489 views

Badge +2

Hi everyone 

some of the user can not use the k2 services and it gave them this Error 

exception of type 'system.web.httpunhandledexception' was thrown <br/>The K2:Domain\test user could not be found 

we are using Active Directory and i checked the smartobject which is in the tester and the users is there 

but when they try to access its gave them the error  


6 replies

Badge +5

Hi there,

It is likely that the users affected are disabled in [Identity].[Identity]. You can run this query to confirm:

SELECT * FROM [Identity].[Identity] WHERE [FQN] = ‘K2:{Domain}\{Username}’

If the Enabled column is 0 then the user is disabled.

Do you have the new sync engine installed? If you do, make sure that you have done a full sync or have a schedule set for differential syncs: Identity Synchronization and Caching | Community (nintex.com)

Otherwise, you may refer to this KB to re-enable the user: Some users don't cannot start the process instance | Community (nintex.com)

Badge +2

thanks annao for your response, I already tried what has written in both articles and the problem still, some users   see this message “exception of type 'system.web.httpunhandledexception' was thrown <br/>The K2:Domain\test user could not be found ” when try to access any k2 forms.

Hint we check this table  [Identity].[Identity]  and the user does not exist

Userlevel 3
Badge +10

Do you see this issue in other environment? Dev/QA?

If so you can try installing Softerra LDAP Browser and running it as the K2 Service account and see if you can search for or browse to the user accounts in questions and view their information.

https://www.ldapadministrator.com/softerra-ldap-browser.htm

Perhaps an issue with permission for the K2 service account to certain OUs, or special characters in the OUs/Groups for the users in questions.

Another area to check is the AdumError.log in the “Host Server\Bin” directory so see if there are any further details.

Badge +2

thanks  TinTex 

we only has one environment and we check the permissions and its ok 

Userlevel 3
Badge +10

Does that mean that you are able to search and locate the user in question using Softerra LDAP Browser?

Perhaps AdumError.log in the “Host Server\Bin” directory will have more details.

Userlevel 5
Badge +13

thanks annao for your response, I already tried what has written in both articles and the problem still, some users   see this message “exception of type 'system.web.httpunhandledexception' was thrown <br/>The K2:Domain\test user could not be found ” when try to access any k2 forms.

Hint we check this table  [Identity].[Identity]  and the user does not exist

ShlbAh, did you end up resolving this issue? We are having the same problem where new AD users aren’t showing up in in the Identity table. Would be interested in hearing how it was solved for you.

Reply