Category Archives: Configuration

LDAP Role Provider Argument Exception

If you’re seeing the following error in the ULS logs, hopefully it’ll be as simple a fix for you as it was for me: LdapRoleProvider.GetRolesFor() exception: {0}.System.ArgumentException: The (&(((ObjectClass=group))(member=CN=Some User,CN=Users,DC=domain,DC=local)) search filter is invalid. at System.DirectoryServices.SearchResultCollection.ResultsEnumerator.MoveNext() at Microsoft.Office.Server.Security.LdapRoleProvider.GetRolesFor(String userOrGroupDN, DirectoryEntry … Continue reading

Posted in Configuration, SharePoint | Tagged , , | Leave a comment

User Profile Sync

Sometimes, when trying to create an alert in SharePoint you receive the following error message: You do not have an e-mail address. Alert has been created successfully but you will not receive notifications until valid e-mail or mobile address has … Continue reading

Posted in Configuration, SharePoint | Tagged , , | 2 Comments

Web Config Updates

The SPWebConfigModification class for SharePoint provides an easy way of updating the web config for a web application. Sometimes, however, I’ve seen it used incorrectly. For example, it’s not advisable to try and write to the web config on Web … Continue reading

Posted in Configuration, SharePoint | Tagged , | Leave a comment

PeopleEditor control not available error

If you’re using a PeopleEditor control in your solution and enforce the filtering of selectable users by specifying a SharePoint group in the SharePointGroup property you may see the following error instead of the PeopleEditor control: “The control is not … Continue reading

Posted in Configuration, SharePoint | Tagged , , | Leave a comment

Default Content Database

Nothing too complicated today but something that some people aren’t aware of and ask if it can be done – having more than one content database so they can, for example, keep sensitive data separate from their general day to … Continue reading

Posted in Configuration, SharePoint | Tagged , , | Leave a comment