Updated to BlogEngine 1.4

Yesterday a new version of BlogEngine was released, grab it here. For instructions on how to upgrade you should visit this site and since I’m not running under the default settings there was some extra work to do.

My host still runs MS SQL 2000 and the default BE script is for MS SQL 2005. I’ve edited both the upgrade and full install script so they run on the older version, you can download them here.

MSSQL 2000 Setup1.4.0.0.sql (22.15 kb)

MSSQL 2000 Upgrade1.4.0.0.sql (7.18 kb)

Also if you are running SQL Membership and SQL Role Provider don’t forget to change the default provider in your web.config to SQLMembershipProvider and SQLRoleProvider respectively, you should also change the applicationName in these providers to BlogEngine.NET. For some reason the developers changed this, which will lead to problems.

Alternatively, if you want to keep the new name BlogEngine instead of the old BlogEngine.NET you should edit the row in the aspnet_Applications table where the application name is BlogEngine.NET. Change the value of the ApplicationName to BlogEngine and the LoweredApplicationName to blogengine.

WWDC 2008 Keynote Aftermath

In the wake of Steve’s keynote, there’s one feature which I definitely like. MobileMe.

MobileMe is .Mac upgraded to the needs of your current digital life. It allows you to synch wirelessly, meaning, without the need to dock your iPhone to your Mac, or PC, or any combination of those. Isn’t that great?

In the past I’ve run Exchange for a while on a machine at home, one of the benefits of being an IT student. But that was just overkill and not maintainable, since I also needed a domain controller for this to operate. I briefly investigated writing a synchronization program, but Outlook couldn’t not be accessed via remoting. There were commercial alternatives but none appealed to me.

That is before monday and the introduction of MobileMe, for more information visit the official site.

Was the keynote only about this new product? No. The iPhone 3G was officially announced and this time it’ll be available in most parts of the world, including Belgium, yippee. But the distributor here, Mobistar, fails to give any specific launch date. For the rest, not much exciting news. Yes the App Store for the iPhone and iPod touch was announced, yes there were demos of custom applications, no nothing we didn’t know already.

Select boot type

Got a new desktop at work (a massive quad core !) and during the installation I was greeted by the following message.

Mac keyboard and mouse

I wanted to use my PC screen when I’m sitting behind my “desk” and working on the MacBook, choosing between 13″ and 22″ display is easy. The side effect of that was that my head is constantly on a 45 degree angle compared to my body which tends to be less than comfortable after a while. I couldn’t connect my keyboard with a PS2 connector since there is no port of that type on the MacBook or for that matter any laptop I know of. So the Apple stakeholders just got a bit richer and I now have a wireless Apple mouse and keyboard.

Installation is child’s play, unbox the items, add the included batteries in their container, set up the bluetooth devices (can be found on the upper right corner of your desktop), turn the device on and you are done.

Bluetooth Configuration

The keyboard is the same as the one on the MacBook so I’m loving it. The MightyMouse does it job (even right clicking yay!) but the buttons on the side are a bit harder to work with. I don’t think I’ll ever use them.

A nice side effect of the size of the keyboard is that your desk seems to have grown.

Mac setup

Updated BlogEngine.NET scripts

It was brought to my attention that the next release of BE will have some changes in the database scheme. I’ve compared the new script with the old one and the only changes, at the moment of this writing, are two new tables. Since the tables both use varbinary(max) they are not compatible with MS SQL 2000. I’ve changed the script to use image instead and briefly tested it. Seems to work like a charm. I’ve also looked at the code which retrieves the values and I don’t think there will be problems except hitting the maximum amount that can be stored in the image datatype, which is unlikely.

So if you check out the code from codeplex and want to use it with a MS SQL 2000 database use this file: BE_SQL2000_Dev.sql (15.07 kb) .

If you download the latest release of BE (1.3.*) you can still use the script I posted in a previous post and for your convenience I’ve added it here: BE_SQL2000_1.3.0.0.sql (14.23 kb) .

SVN on a Mac

With my ongoing adventure of getting myself to develop on my MacBook instead of my Windows machine, I was now trying to checkout the source code which I had checked in on Google. Since MonoDevelop was not working along I had to find another solution.

It appears that SVN is available via the terminal but like any lazy user I want a GUI. The Windows world is blessed with TortoiseSVN and there is a similar program for the Mac called SCPlugin. It integrates the SVN commands in the Finder but for some reason it just doesn’t want to download code hosted by Google. So for now I use SmartSVN , it’s pretty easy to use.

Vista OS X

Kids, don’t try this at home. Errr let me rephrase that, don’t try this at work.

While on my lunch break browsing the Internet I found the site of Vista OS X . Cool ! The site states that it runs on all Vista 32 bit editions with SP1, just disable the UAC and you are good to go.

One install later, mayhem strikes. I didn’t take a screen shot of the end result but believe me it did not look like Leopard or any of the pictures on the site. Oh well, probably this Vista Business edition doesn’t have some necessary component so let’s just uninstall it again. Hmmm, strange the uninstall utility says it’s removed but the dialog box asking if I’d like to uninstall still stares me in the face. On to the control panel ! Hmm, that doesn’t load anymore. Ok, a more drastic option is required, to the restore utility ! Ohw, that doesn’t show up as well. Oops! Another way to get to the system restore options is via Accessories and System Tools, that did open up the screen. The install had stated that a restore point would automatically be created, but it hadn’t. Fortunately for me another program, that I installed earlier that day had, so I was able to reverse the changes.

Lessons learned: make a restore point before installing programs that have a big impact on your system. Some voice inside my head did warn me before I clicked the install button but I chose to ignore it. It’s nice to be reminded the hard way some times ;).

Open source 1 – Benny 0

Pffff, it seems like everybody has a different 1.0 release of MonoDevelop compared to mine. Where’s the version control stuff? Where’s Gtk# under the C# tab? Screenshots and screencasts show stuff that just isn’t in my version yet they are all talking about 1.0. Where’s the documentation, guides, blogposts, anything? This is so strange, seems I’m the only one trying to get this working under Leopard.

Just had to complain about it, to be continued for sure.