Posts

Showing posts with the label Active Directory

ISSUE: Sitecore AD Module throws error: The AD membership provider couldn't be initialized: Value cannot be null.

ERROR The AD membership provider couldn't be initialized: Value cannot be null. Parameter name: name Exception: System.ArgumentNullException Message: Value cannot be null. Parameter name: name Source: System.DirectoryServices    at System.DirectoryServices.ActiveDirectory.DirectoryContext..ctor(DirectoryContextType contextType, String name, String username, String password)    at LightLDAP.SitecoreADProfileProvider.Initialize(String name, NameValueCollection config) After having gone through all the troubleshooting steps mentioned in Sitecore's AD module documentation if you are still running into this issue then this maybe the post you have been looking for. I ran into an issue after having configured the AD module as per the "text book" in CM and CD environments and the connection was working correctly in CM but not in CD. My immediate answer was, since CD is not on the same domain as AD server but CM is, it has to be an access issue. Then to confirm access...

RESOLVED: A domain specified in the Sitecore.Security.SwitchingProfileProvider provider/domain map could not be found. Domain name:

If you encounter the following error working with setting up Active Directory integration: A domain specified in the Sitecore.Security.SwitchingProfileProvider provider/domain map could not be found. Domain name: <yourdomain> Line 3897:        <clear /> Line 3898:        <add name="sql" type="System.Web.Profile.SqlProfileProvider" connectionStringName="core" applicationName="sitecore" /> Line 3899:        <add name="switcher" type="Sitecore.Security.SwitchingProfileProvider, Sitecore.Kernel" applicationName="sitecore" mappings="switchingProviders/profile"></add> Line 3900:      </providers> Line 3901:      <properties> The solve is pretty simple, add a domain element with your domain name such as: <domain name="yourdomain" />  to App_Config/Security/Domains.config