Developer Day Scotland

Thanks to everyone who attended my session in Glasgow yesterday, I hope you found it useful. The slides will appear on the DDS site at some point but you can find them now on the Black Marble site. There is also a web cast of a virtual identical presentation on the Extreme Programming Club site. The noticeable difference at this event from DDD in Reading was what was going on at lunch time. The grok talks seemed far better attended than at TVP, also there was interesting Alt.Net Open Spaces style session where we had a general chat on tools and libraries which I attended. ...

May 11, 2008 · 1 min · Richard Fennell

Fixed Sprint Burndown chart for eScrum on TFS 2008

Since updating to TFS 2008 we have lost our Sprint Burndown chart in eScrum, not a major problem as we use the cumulative flow in its place. However, I have eventually got round to fixing it. It turns out the problem is down to the the way the dates for the start and end of the Sprint are converted to measure names for the main MDX query. There were both regional date format issues (mm/dd/yy as opposed to dd/mm/yy) and the fact that the MDX query was very particular over leading zeros for the end date of the range e.g. 14/4/2008 did not work but 14/04/2008 did (but this was not the case for the start date!) ...

May 9, 2008 · 1 min · Richard Fennell

Registry Access Errors with the TFS API

If you are using the TFS API within a WebApp with impersonation there is a good chance you will see the error below when you run the web site on IIS System.Security.SecurityException: Requested registry access is not allowed. at System.ThrowHelper.ThrowSecurityException(ExceptionResource resource) at Microsoft.Win32.RegistryKey.OpenSubKey(String name, Boolean writable) at Microsoft.TeamFoundation.Client.RegisteredServers.OpenCurrentUser(Boolean writable, Boolean shouldCreate) at Microsoft.TeamFoundation.Client.RegisteredServers.GetUriForServer(String serverName) at Microsoft.TeamFoundation.Client.RegisteredServers.GetServerKeyForServer(String serverName, String subKey, Boolean writable, Boolean shouldCreate) If you google for this forums tells you to add read access for the impersonated user to ...

May 9, 2008 · 1 min · Richard Fennell

PerformanceCounters not showing up in PerfMon

I have just adding some Performance Counters to instrument some code and had a few issues that are worth knowing about. I created two categories of counters using the following code: //Create a category with a single counter PerformanceCounterCategory.Create( “categoryName”, “categoryDescription”, PerformanceCounterCategoryType.SingleInstance, “counterName”, “counterDescription”); //Create a category with more than one counter System.Diagnostics.CounterCreationDataCollection counterCollection System.Diagnostics.CounterCreationDataCollection(); counterCollection.Add(new System.Diagnostics.CounterCreationData( “Name1, “Description1”, PerformanceCounterType.NumberOfItems64)); counterCollection.Add(new System.Diagnostics.CounterCreationData( “Name2, “Description2”, PerformanceCounterType.NumberOfItems64)); // Create the category and pass the collection to it. System.Diagnostics.PerformanceCounterCategory.Create( “multicategoryName”, “multicategoryDescription”, PerformanceCounterCategoryType.SingleInstance, counterCollection); ...

May 8, 2008 · 1 min · Richard Fennell

Why aren't there more plays about quantum physics?

Saw an excellent play last night, Hapgood at the West Yorkshire Playhouse. For those who have no heard if it, it is a Tom Stoppard play about spies and physics set in the late 80s. I know of two plays that take their theme from quantum uncertainly, this one and Copenhagen, both nights out I have really enjoyed. They are plays that keep you guessing all the way as to what is really the truth (if such a thing can ever be known). ...

May 4, 2008 · 1 min · Richard Fennell

I want a TFS 64bit API

The lack of 64Bit TFS API DLLs is becoming a real pain for me. We have committed to a 64Bit server architecture for all our IIS and hence MOSS servers; both of these seem unable to WOW64 the 32bit TFS DLLs (though Cassini can!) so I cannot load any web front ends that use TFS such as eScrum or anything home grown on my main servers. My only option is to run 32it servers as well for the primary systems. This is not too bad for IIS/ASP.NET bits, but it is not recommended to have a mixed 32/64bit frontend for MOSS. ...

April 29, 2008 · 2 min · Richard Fennell

First Release of BlogWriter for Smart Devices

I have just uploaded the first release of my BlogWriter for Smart Devices which allows you to post new messages to blog servers that uses the MetaBlog API. My aim was to provide a LiveWriter like application for devices like my HTC PDA. In the zip file you will find these instructions and a .CAB file. The installation process is as follows: Make sure you Smart Device has .NET Compact Framework 3.5 installed Copy the the CAB file to your smart device On the smart device double click on the CAB – you will get a message about unknown publisher, say OK. The EXE and the CAB are digitally signed but Black Marble is not a known publisher (we don’t have Mobile2Market certificate which is the only type that the installer can check publishers against). Answer the questions as to where you want to install the application. Once the program has been installed there should be a icon on program menu for Blog Writer, click it to run You see a splash screen, this should disappear after a short while and leave an empty page (this is because the blog server has not been configured yet) ...

April 29, 2008 · 3 min · Richard Fennell

Enigma & Friends

I went to very interesting IET meeting last night entitled ‘Enigma & Friends’ given by John Alexander. He is a private collector of encryption machines; the bulk of his collection is currently house in the Block-B exhibit at Bletchley Park and is open to the public. The difference between going to the museum and seeing his presentation is threefold. Firstly the you get his extensive knowledge of the subject, but I think even more interestingly hear of the adventures it takes to obtain what must be remembered were (or still are) top secret machines. And finally you get a chance to handle the machines, probably something I will not get the chance to do again. ...

April 24, 2008 · 1 min · Richard Fennell

Smart Device Blog Writer

This post has been written with a blog writer (same idea as Live Writer) that I have written for a Smart Device using the .NET Compact Framework 3.5 The reason I wrote it was I find Community Server a bit awkward to use in a web browser on a small form factor device like my HTC Cruise phone. Being able to create a post offiline just seemed an easier option. ...

April 20, 2008 · 1 min · Richard Fennell

Outlook Mobile Sync Issues over 3G

I posted a while ago about my new HTC Cruise, well I am still really happy with it but I have come across a problem. I have found that from time to time I get problems trying to do a Send/Receive in Outlook Mobile via the 3G mobile phone network. Well today after a chat with Tom I spotted the pattern. ...

April 17, 2008 · 1 min · Richard Fennell