This article was created in response to a support issue logged with K2. The content may include typographical errors and may be revised at any time without notice This article is not considered official documentation for K2 software and is provided “as is” with no warranties.

Issue

You are unable to deploy any newly created workflow using Web Workflow Designer with the following error message:

Login failed for user 'DOMAIN\K2Webservice'. Reason: The account is disabled.

Sample error messages screenshots:

Image

Image

All workflows you are trying to create/deploy cannot be opened afterwards with the loading indicator stuck at 80% and in the browser's developer tools console there is an error message:

--SignalR-- SignalRProcessFetch model load error: Login failed for user 'DOMAIN\k2webservice'. Reason: The account is disabled.

Sample error message screenshot:

Image

Symptoms

Error message on K2 Five Workflow Designer canvas after deployment attempt:

Login failed for user DOMAIN\K2webservice. Reason: The account is disabled.

Error message in developer tools browser console:

--SignalR-- SignalRProcessFetch model load error: Login failed for user 'DOMAIN\k2webservice'. Reason: The account is disabled.

Resolution

Check if your K2 Designer application pool account is enabled in SQL and has db_owner permissions on the K2 Database. This error can be caused by the fact that the account has been disabled on the K2 data base level.

According to K2 ICG, K2 Designer Site Application Pool Identity needs to have db_owner on the K2 Database to allow the account to change the database as needed. Source: K2 Five Installation and Configuration Guide - Required Permissions.