SharePoint 2010 Licensing – Standard, Enterprise, FAST Search

It’s not always clear how licensing works with Microsoft, even when you visit the product page and compare editions for SharePoint 2010 you’re still left with scratching your head. To help, here’s a bullet list of things to keep in mind -

SharePoint 2010 Foundation (previously known as WSS 3.0) comes included with Windows 2008 Server [...]

Extract WSP from SharePoint MOSS Solution Store

Need to deploy a WSP to a new SharePoint 2007 server but don’t have an archive of it? The following utility allows you to extract a specific or all WSPs packages installed on a SharePoint farm and save them to disk where you can redeploy it to another server. Very useful -
http://code.msdn.microsoft.com/SPSolutionExtractor
Be wary though – [...]

Global Assembly Cache (GAC) Compare

If you’re doing SharePoint development then you’ve no doubt heard of the GAC, or Global Assembly Cache (c:\windows\assembly) where compiled assemblies are deployed. In a SharePoint farm with several front-ends, you may occasionally find a server with a missing DLL or the wrong version of the assembly.
The following tool makes quick work of trying to [...]

SharePoint Error Delete Site WebDeleted.aspx File Not Found

We had several  users reporting an error when deleting a SharePoint team site. The error appears as a “File Not Found.” on the WebDeleted.aspx layout page along with a stack trace. It appears that the problem stems from our custom master page. For our implementation we use a custom HttpModule that redirects incoming requests for [...]

SharePoint CAML Query Date

For the past two SharePoint implementations that I’ve worked with, it was a common business requirement to query from a list to retrieve items that should be displayed on a “scheduled” basis. Think along the lines of an alert or announcement. Typically what I end doing is create a custom list and add the following [...]

Determine if SPListItem belongs to a document library

So you have an instance of a SPListItem and want to know whether this item belongs to a Document Library or if it came from a list (such as an Event Calender, Survey, or Custom List). A quick way to distinguish a document library item is to access the ParentList property of the SPListItem class and examine [...]

SharePoint Custom Datasheet Mode – IE Crash

There is a known SharePoint customization bug that under certain circumstances, modifications to a master page (ie, use of a doctype or margin/padding) will cause the “Edit in Datasheet” mode to crash Internet Explorer.
The underlying problem is caused by a poorly written function called GCComputeSizing within Core.js The common fix is to override this function [...]

SPListItem Url

So you need to get a url reference to a SharePoint list item? Use SPListItem.Url right?
http://www.sharepointsecurity.com/sharepoint/sharepoint-development/splistitemurl-funky-return-fiesta/

Useless SharePoint Error – SPQuery / Caml

Came across this error while trying to execute a Caml query through the SPQuery object:
One or more field types are not installed properly. Go to the list settings page to delete these fields.
Don’t believe it, you don’t need to delete any fields. You more than likely have a misspelled column or a column name that [...]

SharePoint List Querying – Linq vs. CAML

One of the nice features of SharePoint 2007 development is the ability to use the latest release of the .NET framework and  its concomitant language features – including Linq. This in and of itself it a huge benefit as the inherit query mechanism within SharePoint – CAML is woefully terrible.
What is CAML? Officially, it stands for Collaborative [...]