While browsing Sharepoint newsgroups, I found a very useful reply from Eddy Blanco which provides excellent information to estimate your SharePoint site and structure. Following is the information, all credit goes to Eddy Blanco:

While exploring Sharepoint utility classes, I found an excellent class which deserve more credit then it currently enjoys. It is SPDiffUtility. This class has only one static method called Diff which determines the text differences between two strings. It takes three parameters:

str1: The original string

str2: The changed string

maxDifferences: A 32-bit integer representing the maximum number of differences to find.

The beauty of this function lies in its return value which is a merged version of the specified strings that contain HTML tags indicating inserted, deleted, or changed text.

This returned string contains HTML tags to highlight the changes, insertions and deletions. The best part is that you can set these tags with your HTML tags if you want. Following is the sample usage of this class.

using System;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using Microsoft.SharePoint.Utilities;
using System.Diagnostics;

Sharepoint recurring events are similar to Outlook recurring events and provides several options to specify End Date pattern. If you find the type of End Date pattern in a recurring event you can find it in AfterProperties field of SPItemEventProperties object. Just check following

AfterProperties[“RecurrencePattern#EndDateRangeType:fRecurrence”]

Following are possible outputs and their meaning

0 No end date.

1 End after a specified number of occurrences. Requires that RecurrencePattern#repeatInstances:fRecurrence be specified.

2 End by a specified date. Requires that RecurrencePattern#windowEnd:fRecurrence be specified.

It is really frustrating if you see the error “Cannot start service SPAdmin on computer” after running Sharepoint Product and Technologies Wizard when you know that there is nothing wrong from your side. After researching on internet I found an article here which describes four possible solutions. In my opinion, the fourth solution is the best and works 90% of the time. Following is the solution (All credit goes to original author):

Step 1

On the machine where psconfig failed to start the SPAdmin service run:

Visual Studio 2008 Item Templates (items that can be added into an existing project)

Web Part

Custom Field

List Definition (with optional Event Receiver)

Content Type (with optional Event Receiver)

Module

List Instance

List Event Handler

Template

SharePoint Solution Generator

This stand-alone program generates a Site Definition project from an existing SharePoint site. The program enables developers to use the browser and Microsoft Office SharePoint Designer to customize the content of their sites before creating code by using Visual Studio.