Random thoughts of wisdom - the personal blog of Michael Holm Andersen

Got my FR60 today!


Got my cool Garmin Forerunner 60 today.

I bought it at which sold it at a fair price of 899,- DKK

The cool thing about this watch is that a wireless heartbeat monitor is included along with the awesome Garmin Connect software (you can choose between the online and the desktop version).

Anyways.. I’m planning to use the watch together with my new Wii board and my “personal” (game) trainer and during swimming - wish me luck :-)


C64 Music Library

If you’re – like me – is a huge fan of old C64 (SID) music, then direct your browser over to the Stone Oakvalley's Authentic SID Collection (SOASC=) and browse / download just about any tune ever released for the C64 in MP3 format:

..and ohh – I you’re into Amiga music – check out this link:

TortoiseSVN (x64) not showing icon overlays

After upgrading to version “TortoiseSVN-1.6.5” (x64) all my icons was gone!! I surfed the net for answers and found out that a lot of people are experiencing this issue.

Luckily I found an older install (TortoiseSVN- in my download folder. This is what I did to make it work again:

  1. Uninstalled my current version (1.6.5)
  2. Reboot
  3. Installed TortoiseSVN-
  4. Reboot

And now all my icon overlays are working again. I was unable to find the old x64 version of TortoiseSVN on the main website – so I’ve included the download in this post. You can download it right here:

1 week to TRSAC

Yeay, just one week to TRSAC – looking forward to geekin’ with the dudes from LiteWerx, meeting all the other sceners and taking a trip down memory lane back to the (good old) Amiga and Commodore 64 days when I did all my “demos” coding as part of DGS (more info: here and here) :-)

Don’t know what TRSAC is all about – check it out:

MS SQL Server 2008 Express (x64) memory leak?

I’ve been using MS SQL Server 2008 Express edition (x64) on Vista Ultimate SP2 quite a lot the last month and was running out of memory almost every day (the SQL Engine using +1GB of Memory!!)

Today I updated my SQL Instance to SQL Server 2008 Service Pack 1 and now it only uses between 100-150MB of memory .. So it seems that there might be a memory leak in the “prior SP1 version”

Download SQL Server 2008 Service Pack 1

CultureInfo – National Language Support (NLS) API Reference

I’m working on a web-portal kind of system, which will support multiple languages and needed to find a table with all the CultureName etc.

After finding different tables which was lacking the information I needed, I came across this one which have everything you need to start Localizing :)

Update: I’ve made a SQL table to store all the above information. No need for anyone else to do this, so here’s the SQL scripts to create table and insert data:

Could not load file or assembly 'name' or one of its dependencies (VS2010, ASP.NET 4.0 beta 1)

Setting up my VS2010 Beta 1 environment and a website running against IIS 7, I encountered this error:

Could not load file or assembly 'Name' or one of its dependencies. An attempt was made to load a program with an incorrect format.

After a bit of research it turns out that this is caused by the fact that I’m running a 64bit version of Vista, my DLL’s is compiled to x86 .. and the IIS applicationpool does not allow execution of 32bit (x86) code!!

My DLL was (by default) compiled to x86 (32 bit) code by VS2010:


.. and my ASP.NET 4.0 (integrated mode) ApplicationPool did not allow 32bit code to execute:


(Note that in the above screenshot I’ve turned on the ability to run 32bit code within the ApplicationPool)

I could of course have changed the DLL to compile x64 code instead.

EF4.0 – Model First video

If you’re looking at/using VS2010 and “playing around” with EF4.0, take a look at this video about “Model First” (a new feature in EF4.0):

Data Driven ASP.NET Localization Resource Provider

Rick Strahl has put together a real nice blog post about Creating a Data Driven ASP.NET Localization Resource Provider and Editor, complete with free code sample and everything :-)

It’s part of his West Wind Web & Ajax Toolkit for ASP.NET which is free for personal and non-commercial use.

If you planning to use a data driven Localization resource provider then you should definitely take a look at Ricks article.

Maintain debug information while in release mode

REL (René) showed me a very interesting link the other day that I think I’ll share (as some of you probably already have guessed, I sometime uses this blogs as a means of remembering great articles/links :-)

Anyway here’s the link, which shows how to maintain debug information (and get information about the exact line of code that caused the exception) while running in release mode (this is really awesome):