Symptoms
We are trying to add multiple Domains in our K2 environment. I used the following resources to Setup this configuration with no success:
http://help.k2.com/onlinehelp/k2blackpearl/icg/current/webframe.html#after_addingmultipledomains.html
http://help.k2.com/onlinehelp/k2blackpearl/userguide/current/webframe.html#k2_domains.html
Diagnoses
There seems to be some configuration issue in the web.config file for K2 Workspace
Resolution
After making sure that all the LDAP strings have been entered in the K2 Database, specifically in the HostServer].SSecurityLabel] table and the AuthInit and RoleInit columns for the K2 label, one also has to check the web.config file for K2 Workspace.
All the LDAP connection strings should be entered there with numbers appended to the end (to differentiate them from the original), for example:
ADConnectionString
AspNetActiveDirectoryMembershipProvider
ADConnectionString2
AspNetActiveDirectoryMembershipProvider2
The above should be changed in three different parts in the web.config file.
Also, the root domain (parent domain) should also exist in the web.config
After checking the above, it is now working.