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....

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....

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....

April 29, 2008 · 2 min · Richard Fennell