This has happened to me when I had an express install with tools on the machine already. I think you might want to start by upgrading that install via...
Doesnt that site you linked state that the writelog will take much longer if commit each transaction within the loop, versus comitting them all as a single transaction at the...