When working with K2 Workspace, a timeout error may occur when assigning Process Rights to an Active Directory Group containing a large number of users.
The error occurs when giving AD Group ‘Domain Users’ process rights (View, View Participants, and Start process rights). K2 resolves each user in the group, these users are then stored in the K2ServerLog database for reporting purposes.
Changes were made to how process rights are assigned to users in a group; process rights are now assigned immediately, but stored in the K2ServerLog database asynchronously.
|Note: The circumstances described in this article are one scenario under which this issue may, or is known to occur. The description is intended to be specific to the scenario described and does not take into account all possible scenarios or circumstances.|
To reproduce this error:
- Create an Active Directory group with 30 000+ users.
- Assign Process Rights to the Active Directory Group (Start, View or View Participate).
- After approximately 90 seconds (depending on IIS timeout settings), the K2 Workspace will return with a timeout error. In some cases, an error will be returned from the SQL Server and an ‘Error Receiving Buffer’ exception will be displayed in K2 Workspace.
Error Receiving Buffer.
This Hotfix is contained within the latest K2 Update. Install the update package to resolve the error.