Random Thoughts of a Scatterbrain.
 Tuesday, May 06, 2008

Buy This Book!

5/6/2008 7:15:31 PM (Eastern Daylight Time, UTC-04:00)

This is quite exciting: my wife is now a published author (with her own ISBN and everything :-D)!

Check out her book The Parent Connection for Singapore Math.

:-D She's also got a media set, you know, if you've got $459 and nothing better to spend it on :-P

SharePoint "Unknown Error" Quirk

5/6/2008 3:16:53 PM (Eastern Daylight Time, UTC-04:00)

Anyone who's done any bit of SharePoint development is probably familiar with the completely useless "Unknown Error" view.  Well, in fact, SharePoint actually knows what the error is, it just doesn't want to tell you (okay, it's really just disabled for users).

In ASP.NET, you can usually get error messages to show up by setting <customErrors="Off"/>

However, this is not sufficient with SharePoint. As Stefan Keir Gordan points out, to get the nitty gritty details, you also need to set <SafeMode CallStack="True""/>

 Monday, May 05, 2008

MbUnit And TestDriven.NET On x64

5/5/2008 12:23:45 PM (Eastern Daylight Time, UTC-04:00)

I came across an interesting issue while trying to run some MbUnit RowTests this morning.

Namely, it seemed that the rows being passed in contained all null values.  It left me scratching my head.  I ran the tests using MbUnit console and it worked fine but didn't work as expected from TestDriven.NET in VS2005.

Well, it turns out that (I think) the install for MbUnit does not create the requisite registry keys in an x64 environment.  It properly creates the keys under the Wow6432Node, but it does not create the keys under the path:

HKEY_LOCAL_MACHINE\SOFTWARE\MutantDesign\TestDriven.NET\TestRunners

So to make it work, all you have to do is to copy the string values from the Wow6432Node to the key above and restart VS.

Hope this saves some headaches for other developers working in an x64 environment!

Update: Jeff Brown notes in the comments that this should be fixed with future releases so that x64 environment registry keys are properly generated.

RSS 2.0 Atom 1.0 CDF