Category Archives: Code

Announcing the SharePoint Diagnostic Studio

Bill Baer posted an announcement over at the the sharepoint blog: “In the new version of the SharePoint Administration Toolkit we’ve introduced a new and revised SharePoint Diagnostics Studio that represents a complete departure from previous diagnostics toolkits. The next generation SharePoint Diagnostics Tool, the SharePoint Diagnostics Studio, presents server diagnostic information in a visual and… Read More »

Microsoft SharePoint Online Code Analysis Framework (MSOCAF)

At Microsoft SharePoint Online, as a part of the validation and verification process, a tool is used: MSOCAF. “MSOCAF analysis executes a set of rules against the custom solutions, prior to submission for deployment approval into the pre-production and production environments. The MSOCAF application is built using an extensible framework so that the SharePoint Online… Read More »

Enterprise Search query giving FaultException when using an ORDER BY

Ran into this on a project when using the “FullTextSqlQuery” object to query against the Enterprise Search Service of SharePoint 2010. Had a query that included an Order By clause on my own Managed property other than the normal RANK.

I kept getting an exception: “System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]” The problem was my Managed Property could not… Read More »

Custom SPJobDefinition and “Access denied” error

If you create a custom SPJobDefinition and use a Feature Event Receiver to deploy and install this (Timer) SPJobDefinition you receive an error when you call the Update() method: “Access Denied” How to code and install a SPJobDefinition Paul Kotlyar found this on the subject: “Upon detailed investigation of Microsoft.SharePoint.dll  I discovered that SharePoint guys added a… Read More »

Claims Based authentication and the PublishingCache

If you are using Claims Based Authentication on your WebApplication then the Publishing Cache doesn’t work properly. Have a look into your Developer Dashboard to see what is going on: The warning and critical error are: 7362 – Warning Publishing Cache 7363 – Critical Publishing Cache Why is this? Because with Claims Based Authentication the Cache… Read More »

Powershell and SP2010 (2) – Installing a solution

After reading this blogpost: WaitForWSPJob tool by MIchel Barneveld i had an idea, in SP2010 we can use Powershell to do the waiting because we can access the OM directly.

The script will wait for any execution jobs: Download the powershell script solution.ps1 Update (newer version) : Download the powershell script solution.ps1 Some more powershell