Symptoms
The K2HostServer service is stuck in "starting" state.
Diagnoses
Looking at the log files, we found the following directly after trying to initiate the K2 security label...
"589487","2015-02-18 14:13:52","Debug","System","1012","InitRoleProvider","SourceCode.Hosting.Server.Runtime.HostServerEngine.EnrollHostableTypeInstance","1012 Initializing Role Provider : Type = SourceCode.Security.Providers.K2UMProvider.K2UMProvider Label = K2","system","::1","ServerNameGoesHere:C:Program Files (x86)K2 blackpearlHost ServerBin","589487","b1c5f54a9b34492a8dfdf4a2be23633d",""
"589488","2015-02-18 14:13:52","Error","System","2001","ServerStartError","SourceCode.Hosting.Server.Runtime.HostServerEngine.StartHostServer","2001 Error Starting Host Server: There is an unclosed literal string. Line 1, position 149.","system","::1","ServerNameGoesHere:C:Program Files (x86)K2 blackpearlHost ServerBin","589488","a882363b4f93440fab36072dd6734d53",""
Resolution
We ran a SQL script that updated the RoleInit section of the K2 security label that removed the extra semi-colon and the K2HostServer service was able to start up successfully.
Additional Information: Multi Domain configuration is now possible via workspace management console by performing the following steps.
- Open workspace and go to the management console.
- >server]:rport] > User Managers > K2 > Domains.