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

When searching for a user from K2 Management > Workflow Server > Server Rights, the following error appears:

"RoleProvider for label K2 could not be found"

Symptoms

The following error was found in the K2HostServer log:

"Error","System","2025","InternalMarshalError",
"SourceCode.Hosting.Server.Runtime.HostServerBroker.InternalMarshal",
"2025 Error Marshalling SourceCode.Hosting.Servers.SecurityManagement.ReloadRoleProvider,
Access to the path 'C:\Program Files (x86)\K2 blackpearl\Host Server\Bin\AdumError180214_3.log' is denied."

Troubleshooting Steps

The issue is caused by the K2 Service account not having admin rights on the K2 Server.  To resolve this, please add the K2 Service account to the Local Admin group.