My client has two AD domains with one-way trust only. The K2 server is installed in Domain A while domain B is trusted by domain A.
After I added this connection string for Domain B in the web.config of k2 Workspace, the following error shown when accessing the Workspace:
Connection String :
<add connectionStringName="ADConnectionString2" connectionProtection="Secure"
enablePasswordReset="false" enableSearchMethods="true" requiresQuestionAndAnswer="false"
applicationName="/" description="Default AD connection" requiresUniqueEmail="false"
clientSearchTimeout="30" serverSearchTimeout="30" attributeMapUsername="sAMAccountName"
name="AspNetActiveDirectoryMembershipProvider_Domain2" type="System.Web.Security.ActiveDirectoryMembershipProvider,System.Web,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
Workspace Error:
Initialization failed before PreInit: Wrong workspace configuration: Can not use anonymous logon with Windows security configuration in Workspace
Possible causes
- using anonymous logon in IIS while Windows security is specified in Workspace configuration
- current logged on user can not be verified against the Active Directory Membership provider
- please review log files for more information
Even there are few discussion threads about this error, none of them is about multiple AD domain configuration.
It seems to me that the K2 workspace (installed under DomainA) is not able to query the Domain B.
Thanks.