Archive for General

Paymo

Today, we have a non SharePoint related post to start June with.

I’ve been using various time tracking systems over the past while and have had varied success with them. Some I’ve loved certain features but hated others parts of their offering. I’ve been on the lookout for a system that “just does it” and lets me get on with the important stuff, like actually working 🙂

Recently, I found a free, yes free, online time tracking and billing system which ticks all of my boxes. OK, I said free, well it’s only free if you are happy to have a single user. As I’m a freelancer this suits me perfectly. Not that it’s that expensive if you do need to scale up. Two users is a mere £6.5/month with additional users costing about £3 each.

What is it? It’s from a company called Paymo and their website is www.paymo.biz
Read more

Trim Sound File

Totally off-topic post today.

I was looking for a quick and easy way of trimming an MP3 yesterday on my Mac (yes, I use a Mac for SharePoint dev) and stumbled across a free way of doing this with QuickTime.

Open the sound file you want to trim in QuickTime and then press Ctrl+T (or Cmd-T on the Mac) and you’re able to mark the segment you want to trim, then just save the new version, et voilà.

Oz

My blog’s been fairly quiet lately, this is all down to some pretty big changes in my personal life.

I’ve recently accepted a SharePoint Architect role in Melbourne, Australia and things have been pretty hectic of late, to put it mildly!

Once we’ve moved and settled my blog will be back up and running with more SharePointy goodness.

Debugging SharePoint Timer Service Assemblies

If you’re creating your own workflows and want to be able to debug into your code using the timer service (OWSTIMER.EXE) deploying your assembly to the GAC won’t normally be enough for the correct symbols to be loaded. This is due to the SharePoint timer service keeping a cached version of the assemblies it uses.

To force the service to refresh the assemblies it uses you need to restart the SharePoint 2010 Timer service from the services snap-in before attaching the debugger.

Alternatively, you could add the following to the post-build event of the project you want to be able to debug:

net stop SPTimerV4
“C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\gacutil” /i “$(TargetPath)” /f
net start SPTimerV4

This will stop the SharePoint timer service, copy the updated assembly to the GAC before restarting the service again.

Where’s the location of the gacutil program? Gacutil comes with version 1 and 1.1 of the .Net framework (not 2 or above) and Visual Studio. So it should be in at least one of these locations:

%windir%\Microsoft.NET\Framework\v1.0.3705\
%windir%\Microsoft.NET\Framework\v1.1.4322\
%programfiles%\Microsoft Visual Studio .NET 2003\SDK\v1.1\Bin\
%programfiles%\Microsoft SDKs\Windows\v6.0\Bin\
%programfiles%\Microsoft SDKs\Windows\v6.0A\Bin\
%programfiles%\Microsoft SDKs\Windows\v7.0\Bin\
%programfiles%\Microsoft SDKs\Windows\v7.0A\Bin\

For reference, here is the Gacutil MSDN page: http://msdn.microsoft.com/en-us/library/ex0ss12c(VS.80).aspx

Long time

I’ve just realised that it’s exactly one year since I last posted here…. I promise to post more often from now on, although I don’t think that will be too difficult! 🙂

Follow

Get every new post delivered to your Inbox

Join other followers: