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,122 total views, no views today

Jan 21

SnowBear

SnowBear

Seen hugging a bush in Markfield, Leicestershire

976 total views, no 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

592 total views, no 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.

897 total views, no views today

Dec 04

Kill Ad Choices

Kill MS AdChoices

Ad Choices

1,149 total views, no views today

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 :

Yahoo: http://search.yahoo.com/search?p=

Ask: http://www.ask.com/web?q=

Bing: http://www.bing.com/search?ie=UTF-8&oe=UTF-8&sourceid=navclient&gfns=1&q=

Google: http://www.google.com/search?&q=

888 total views, no views today

Nov 23

On-Line multi AV Scanners

https://www.virustotal.com/
http://virusscan.jotti.org/en
https://www.metascan-online.com/
http://virscan.org/

920 total views, no views today

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,023 total views, no 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.

STEP 1 OpenDNS

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: 208.67.222.222 208.67.220.220

Set up DDNS in router as follows
DDNS Service: Custom
DYNDNS Server: updates.dnsomatic.com
User Name: ********@***.***.**
Password: ********
Host Name: ********.dyndns.org -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,057 total views, no views today

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.
http://community.devexpress.com/forums/p/28346/28346.aspx

“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]
“HideMenu”=dword:00000000

1,153 total views, no views today

Older posts «

» Newer posts