AA Rates

Submitted by Robert MacLean on Sat, 03/01/2008 - 21:05
NOTE: This was developed in March 2008 and the calculations are no longer accurate. They are close but not exactly right.
Update 11 August 2011: Want this as an app for your smartphone? Click here

A personal annoyance at the moment is the use of the term AA rates. It seems companies love to tell employees they pay at AA rates or charge customers at AA Rates. However due to a recent annoying experence I decided to read up on this, and to findout what the AA rate actually is.

Well imagine my surprise when I didn't find one magic overall AA rate! What I did find is there is a AA rate per vehicle, so how you get one rate is beyond me (I guess you could take the avg value of everyone in the company, but that sounds like too much work for admin/financial staff who need to update it each time someone joins/leaves).

Anyway I decided to take that and some of the Excel skills I have been taught recently and build a nice Excel speadsheet (2007 version) which works it out for you (download below). You can get the details on the rules and the fuel price (which you will need) from the AA site.

Not have enough privilege to complete Create operation for an Sdk entity.

Submitted by Robert MacLean on Mon, 01/21/2008 - 15:31
The following error message is likely the least thought out requirement of MSCRM 4.0 and a common cause of frustration for developers in enterprise customers who are using the multi-tenancy features.
 Not have enough privilege to complete Create operation for an Sdk entity.

You get this error during an attempt to register a workflow activity or plug-in into MSCRM 4.0, and you may think that to do this customisation you need atleast the System Customizer role. Well you are wrong, you need higher than that. In fact the highest role for an organisation (System Administrator) isn't even enough. You need to be Deployment Administrator. This role is assigned on a server level, in the Deployment Manager tool and gives that user full powers on all organisations!
The reason I think this is badly thought out, is three fold. Firstly, I do not want to enable developers to see certain things in MSCRM in live enviroments (thus the great System Customizer role) but I want them to do the customisations. The second is if I have a developer working in a certain division or group company with it's own MSCRM organisation, I really don't want to let that developer loose on other organisations on the server (security and stability reasons). Lastly I don't want to have to give access to the server to more people than absolutely needed, and as I now need to be able to set people up to be Deployment Administrators from time to time it means extending that group of people. Anyway heres hoping MSCRM 5.0 will fix it ;)

Microsoft Live Support = Worst Support: The Issue

Submitted by Robert MacLean on Fri, 12/28/2007 - 08:49

So I have a problem, just a small one, when I go to any Passport/Live site and sign in, it fails. Only the first time, second time always in. Nothing serious I can work, but I thought maybe I should log this with Microsoft and maybe they can fix it? Since it is happening across multiple machines I am sure it's an account issue.

So off I log the call with all kinds of info (including I use Vista solely now on my work and home machines) and go though a few simple check emails. Annoyingly I get a new person on each email. Maybe I am spoilt from partner based support where the same person responds and they know whats going on, but getting a new person who is obviously not checking what has been done before and simply sending crap is getting too much. The last email broke the camels back. Why?

THEY TOLD ME TO UNINSTALL IE7! I mean for fucks sake, it's been out for year and is a flag ship product for Microsoft and support thinks it's the cause!?!? Worst is (and bonus points for you if you picked this up) Vista ships with it, there is no uninstall back to IE 6!?!I've attached a screenshot of the email in case you think I am crazy.


RegularExpressionValidator Designer Will Die

Submitted by Robert MacLean on Tue, 11/13/2007 - 18:55

Working with Microsoft software is often a ride of highs and lows. Highs caused by a tiny feature which changes your life. These tiny features are the spark of genius from some lowly dev in Redmond which makes the magic happen (my favorite is the fact you can copy and paste the MSCRM license code into the installer and fills in all the blocks at once, not just the first block like other installers. Office 2007 has a similar good idea).

However there is the other side, the lows of the idiot. The people think about problems so much they forget how the rest of the world works/sees there item and thus makes it work in odd ways (MSCRM team bastardizing relationships in 3.0 to build certain things. Thankfully fixed in 4.0).

Today though I met another one of these issues, the RegularExpressionValidator in ASP.NET. You give it a RegEx to validate against and guess what it validates against that. Good, expected, normal. Here's the issue, leave the field blank or put only spaces in the field and BOOM! No validation! The workaround, and it is a workaround since this is supposedly by-design, is two validators per field (RegEx and Required!). I mean for heaven sake this is retarded. There is no reason why it should be like that, and if there is WHY OH WHY is there no property to make it work logically/illogically.

Let it be said that if I find you, Mr RegularExpressionValidator Designer Guy/Girl, you will pain for the torture you have caused me to go back through every field in my app and add another validator!

Office could not create the work file error

Submitted by Robert MacLean on Mon, 08/27/2007 - 15:32

Suddenly today both outlook and word decided to start giving a new error message when I tried to launch: "could not create the work file. check the temp environment variable". After hitting OK it would launch. This is an odd one, and I am not sure of the cause (I have a theory I'll ponder below) but the solution was to run a check disk (chkdsk c: /F). Which fixed it nicely. I saw a number of security descriptor (AFAIK it was that, not an MCSE here) issues during the chkdsk, so I suspect something got corrupted.

The cause of the corruption may have been that over the weekend the IT team where I worked migrated everyone to a new domain via profile copy (doubt thats it) and deactivated UAC on the Vista users (think thats it). I am a UAC fan and turned it on again (using the msconfig tool) this morning and I think somewhere between being non-UAC admin and UAC admin the security catalog got confused causing the error. Just my pondering and I have no proof or way to test it (or interest in trying to get it to happen again) so take it with the pinch (handful, bucket, truck) of salt as needed.

Horrible web UI

Submitted by Robert MacLean on Mon, 08/06/2007 - 20:54
I really don't get to use the annoyances tag enough :) For some reason despite the fact I am annoyed almost daily I don't blog about it. But this sort of justified it! It's from the Unreal Tournament 3 site. When you get to the site you get presented with 3 drop downs and no explanation for what they are for.

system32:huy32.sys - the bsod strikes back

Submitted by Robert MacLean on Fri, 02/09/2007 - 13:38

So the huy32.sys was not removed by Nod32 (what was removed then?! More reason to kill this XP installation and install Vista), so I started searching again and found a great post which refers to a nice application which runs very quickly, does two reboots and provides a report. The report clearly stated it found the huy32.sys and removed it :) We shall see if this is the end of saga...


Submitted by Robert MacLean on Thu, 02/08/2007 - 20:39

So my work machine just magically started rebooting recently, great fun. Big project + tight deadlines + all source code on my machine + random blue screens = me losing my mind in panic

Today I actually read the blue screen of death out of deperation, had an odd line in it: system:huy32.sys

After a few searches I found out this precious little file (which is well hidden thanks to the ":") is part of a trojen. YEAH!! Like I don't have enough to think about.
The current supplied anti-virus at work is "Office Scan" which I would have thought would pick it up. I think I know why it is not (virus definations aren't 100% fresh right now, or maybe it's just crap). So after a call to Nic-Nap (the trusty office admin) to get the admin password for the Office Scan anti-virus, an uninstall of Office Scan and an install of the 30 day trial of Nod32 and a reboot. Nod32 picked it up, deleted it and the blue screen hasn't returned.....yet ;)

UPDATE: See the followup for more information on the return of the BSOD

94.7 Highveld Stereo Audio Streaming

Submitted by Robert MacLean on Wed, 02/07/2007 - 14:16

If you are annoyned with having to go to then click listern now then get stuck with the floating window while you listern to the radio this may help. Open media player (I'm using version 11 but it should work with all versions from 7) and hit Ctrl+U and put in the following URL:

And enjoy the ability to minimize media player to the task bar, or select it using recent items without having to browse to it etc...