"RoleProvider for label K2 could not be found" error appears when searching for user
kbt144834
PRODUCTIssue
When searching for a user from K2 Management > Workflow Server > Server Rights, the following error appears:
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 blackpearlHost ServerBinAdumError180214_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.