Category Archives: SharePoint

SharePoint CAML Helper Update

A couple of years ago I wrote a CAML helper project and uploaded the source code to CodePlex. Recently I updated the code with a few small bug fixes, after some feedback from a colleague who used it successfully on … Continue reading

Posted in SharePoint | Tagged , | 2 Comments

Move SharePoint Database

Before attempting to move the databases associated with your SharePoint instance, make sure you backup your farm before continuing. For example, the following PowerShell script performs a full backup of the farm: Backup-SPFarm -Directory c:\backuppath -BackupMethod Full Depending on the … Continue reading

Posted in SharePoint | Tagged , , | 3 Comments

Content Type XML Document

Over the past few months, I’ve been surprised by the number of people I’ve spoken with who were not aware that it’s possible to store custom XML documents against content type objects through the API. These are people who have … Continue reading

Posted in SharePoint | Tagged , , | Leave a comment

Deploy Solution to Site configured with Claims-based Authentication

This is a simple and quick post to provide a solution for developers working against sites configured with claims-based authentication and receiving an access denied error while trying to deploy solutions via Visual Studio. The exact error is: Error occurred … Continue reading

Posted in SharePoint | Tagged , , | 16 Comments

Get SearchServiceApplication object instance

Looking to retrieve the SearchServiceApplication object for the current site? It’s pretty straight forward, as the following demonstrates: Start by adding the following namespace to your class using Microsoft.Office.Server.Search.Administration;using Microsoft.Office.Server.Search.Administration; The Microsoft.Office.Server assembly can be found in the ISAPI folder … Continue reading

Posted in SharePoint | Tagged , | 1 Comment