Tracking scroll depth to reveal content engagement in Google Analytics

Posted on: Saturday, 20 March 2010 19:45

This article investigates a way to track content engagement on your site. By monitoring how far down the page a visitor to your site travels and then recording the data in Google Analytics you can discover how many of your visitors are reading your content all the way to the end.

SOLVED: Error 1 Ticks must be between DateTime.MinValue.Ticks and DateTime.MaxValue.Ticks

Posted on: Thursday, 11 March 2010 00:30

This is a simple looking error message that is deceptively hard to track down. Thankfully if you're having this problem then this article should get you back on track without spending hours scratching your head.

SOLVED: Could not load type 'System.Web.UI.ScriptReferenceBase'

Posted on: Wednesday, 3 March 2010 20:23

Getting problems when you upload your Ajax Control Toolkit powered website up to your server? Read on for a quick and easy solution!

Scenario

If you have added some of the Ajax Control Toolkit extenders into your website you will have probably tested them out on your local dev computer and marvelled at how easy it was to add some impressive eye candy to your site. Then, just when you think your work is done for the day and its time to put your new creation online you are hit with an error:

Could not load type 'System.Web.UI.ScriptReferenceBase' from assembly 'System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.

Well you don't need to worry too much because this time it is a really simple fix.

SOLVED: "Visual Studio setup cannot run in compatibility mode." error when attempting to uninstall Visual Studio 2010 Beta 2

Posted on: Friday, 19 February 2010 16:21

If you are having problems upgrading from Visual Studio 2010 Beta 2 to Release Candidate (RC1) then hopefully this will get you back on your way.

SOLVED: Error 1053 / EventType clr20r3 when trying to start a Windows Service

Posted on: Saturday, 6 February 2010 20:43

If you have seen errors when trying to deploy your Windows Service that have error 1053 and cryptic codes starting with EventType clr20r3 in your Event Log then this is your solution!

SOLVED: Compiler error CS1519: Invalid token 'void' in class, struct, or interface member declaration

Posted on: Wednesday, 23 December 2009 17:00

This one has cropped up a couple of times in my development activities recently, but with just enough of a gap for me to have forgotten the solution and I had to figure it out again.

It happens in situations where the project worked fine a minute ago and then all of a sudden the project wont run. It has also happened in situations where I have made a small update and then some seemingly unrelated part of the site has broken.

Firefox - Clear Recent History

Posted on: Tuesday, 22 December 2009 19:07

I just accidentally stumbled upon a new feature / keyboard shortcut that I didn't know about in Mozilla Firefox. Its called Clear Recent History and it is a way for you to clear only a short range of your recent browser history.

If you press ctrl-shift-del then the following window is displayed:

firefox-clear-recent-history

Reading the ProviderUserKey when using the SqlMembershipProvider

Posted on: Monday, 21 December 2009 21:55

The ProviderUserKey gives access to a unique identifier for each of the members in your membership data store. If you're doing a large amount of lookup's or want to cross link to another table you will find this technique will give you better performance than using the UserName property.