Category Archives: SharePoint

Debugging InfoPath Browser Form

If you’re using custom code with your browser enabled InfoPath forms and would like to be able to debug them, follow the steps outlined below to configure the form to enable this. Open the Visual Studio Tool for Applications(VSTA) editor … Continue reading

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

Loopback Check and 401.1 Error

SharePoint Short #18 If you’re developing a web service for SharePoint, or trying to access one of the SharePoint web services, through server code and get a 401.1 Unauthorized exception, it’s worth checking if the status of the loopback check, … Continue reading

Posted in Configuration, SharePoint Shorts | Tagged | 1 Comment

Hide Web Template

In PowerShell, if you want to remove a web template from the New Site dialog for a specific web, take a look at the following script: function Remove-SPWebTemplate { [CmdletBinding()] param( [parameter(Position=1,Mandatory=$true)][Microsoft.SharePoint.SPWeb]$web ) process { $templateList = New-Object "System.Collections.ObjectModel.Collection“1[[Microsoft.SharePoint.SPWebTemplate, Microsoft.SharePoint, … Continue reading

Posted in SharePoint | Tagged , | Leave a comment

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

External Content Type Walkthrough

Looking to design your own external content type and deploy it as part of a SharePoint solution? Read on for a walkthrough on how to create one. First up, the steps are the same for SharePoint 2010 and 2013 and … Continue reading

Posted in SharePoint | Tagged , | Leave a comment