May 20

SharePoint 2010 – Class to Hold ListItem Information

In order to avoid excessive memory leaks when coding for SharePoint 2010 I have used the following class:-

This avoids the need to parse the heavyweight SPWeb object between the routines. There is a slight overhead in re-creating the SPWeb objects when necessary, but this is outweighed by the ease of use.  The class and routines here can also be used to delay operations by running them on a separate thread.

 1,686 total views,  1 views today

Jan 21



Seen hugging a bush in Markfield, Leicestershire

 1,324 total views,  2 views today

Jan 10

SharePoint 2010 – DataSheet View not working

How to Use Datasheet view in 64-bit Office 2010 See Full article

Quick answer download and install 2007 Office System Driver: Data Connectivity Components

 871 total views,  1 views today

Jan 10

SharePoint 2010 – Site Actions – Click not working

My site action menu was having problems. The menu was dropping down; however when I clicked the links nothing happened. I was having the same issue with modifying the site settings – basically very few links work. They are all visible but didn’t open when I click on them – nothing happened.

After a bit of Googling found some posts suggesting that disabling “DivX Plus Web Player” does the trick.

Tried it :-
Tools –> Internet Options
Programs Tab –> Manage Add-ons
Find “DivX Plus Web Player HTML5 <video>” and disable it

Site Actions menu clicks now work.

 1,172 total views

Dec 04

Kill Ad Choices

Kill MS AdChoices

Ad Choices

 1,414 total views

Nov 28

Change FireFox address bar search engine

In Firefox type about:config in the address bar and press ENTER.

Search for Keyword

Locate and double-click the entry for keyword.URL

Modify it by add the below set of values :





 1,209 total views,  2 views today

Nov 23

On-Line multi AV Scanners

 1,181 total views

Sep 21

SharePoint 2010 Central Administration – Timer Jobs showing incorrect percentage

In the SharePoint 2010 Central Administration – Running Jobs were showing with an incorrect percentage (half what it should have been).

Debugging showed that the job was running twice.  Searching for why TimerJobs might be running more than once I found that the job’s Lock Type is important.  Could find no documentation to support my theory below.

  • The Percentage complete reported in “Central Administration” –> “Running Jobs” is the value set via UpdateProgress (in my code) divided by the number of Content Databases in the WebApp.

Turned out we had an orphan Content Database, which is why the job was running twice.

The Job Lock type of our job is set to SPJobLockType.ContentDatabaseJob, if you want the code to run ONLY once use SPJobLockType.Job

See documentation on MSDN for all possible values of this enumeration.

Deleting the orphan Content Database solved my issue.

 1,231 total views,  2 views today

Aug 07

Using your router to protect the family

This is a guide to setting up OpenDNS and DNS-O-Matic to filter Web Traffic for free using a Buffalo ADSL2+ Router [WBMR-HP-G300H] running DD-WRT v24-sp2 (12/21/11) std – build 18026.


Sign up for an account with OpenDNS, open your email client (or web mail) and Confirm your account, add the network ip address listed and give it an alias i.e. “Home”

Goto your OpenDNS Dashboard click on Advanced Settings to ensure Dynamic IP Update is checked

STEP 2 DNS-O-Matic

Goto DNS-O-Matic and sign in with the same login as OpenDNS and set up a service link to OpenDNS ensirinmg that the Network Label is that used as your OpenDNS alias

STEP 3 Your Router

Log in to your router and Set the DNS Servers to IP address:

Set up DDNS in router as follows
DDNS Service: Custom
DYNDNS Server:
User Name: ********@***.***.**
Password: ********
Host Name: ******** -a Home
URL: /nic/update?hostname=

Note in may case I also have a dyndns name which I use, so I think the hostname for you to use would be simly “Home” without the quotes.

STEP 4 – Tweaking

Goto OpenDNS Dashboard –> Settings and set the filtering level you desire in the Web Content Filtering section.  Here you can also set up your exceptions as a black list (Always Block) and white list (Never Block)

 1,326 total views

Jul 13

CodeRush XPress Menu Item Missing

Developing on Visual Studio 2010 on Windows Server 2008 R2.
I downloaded and installed CodeRush XPress 11.2 and found the DevExpress menu missing.

The final post in the following forum lead me down the right path.

“This is actually an issue with the express version of CodeRush DevExpress where Microsoft requested the menu to not show with the express version. Thank you Microsoft Monopoly!!! But there is always a way around the system. You can force the menu to show by adding the following DWORD in the registry and restarting visual studio.

[HKEY_LOCAL_MACHINE\SOFTWARE\Developer Express\CodeRush for VS\10.1]
If it does not already exist, add the “HideMenu” there:

HideMenu = 0 (DWORD)”

This lead me down the right path, with a small change to the registry key as shown below, I was in business.

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Developer Express\CodeRush for VS\11.2]

 1,726 total views

Older posts «

» Newer posts