iPod Mini

Claire's Birthday Present, A Blue iPod Mini!Yesterday was Claire’s birthday, so after considering a few different things that I knew she’d love; I ended up getting her a blue iPod Mini. Today, she took it for her first outing to the gym; she was most impressed with it!

I have to throw some thanks out to Ian at work for helping me out. I needed a way to pay for it without Claire noticing it on our bank statement(s) or in our netbank interface. I asked Ian and he was more than happy to help out, thanks mate – it made Claire’s day when I gave it to her as a total surprise! I had teed it up with Liam about 4-6 weeks earlier, however he just paid bond. I asked Conrad, however like always, he likes shares and girls far too much ;)-

Studio 60

As I had previously stated, Claire and I have been looking for a photographer. After some discussion, we decided to go with the fabulous Brisbane photographer Jason Starr. When we met with Jason at the Studio 60 office, Jason was nothing but fantastic. He showed us through a variety of different wedding folios, portrait folios and general shots/prints. Claire and I were nothing short of totally impressed and absolutely can’t wait to see how it all turns out post 24th September 2005!

ASP Error ‘ASP 0104: 80004005’

As a follow up to the new hardware added the other day, I had to fix a problem in an administration section of a site. The page in this case, allowed you to upload files (images and so forth) to the server and manage the files. This was all working as expected on the existing box (Windows 2000 Server/IIS5), however after moving to a new one (Windows 2003 Server/IIS6), we had some problems.

What follows is the short error message:

  1. Request object error 'ASP 0104 : 80004005'

After inspecting and changing some code, the error was caused by invalid permissions on the file system where the files where being written to. At some point, the previous servers directory permissions had been changed to allow the IIS user writing permissions to that directory.

The solution was simple and fast, change the permissions and allow IIS write/create type permissions on that particular folder.

Moranbah Road Trip

Since we had a few days off over the Easter period, Claire and I thought it would be awesome if we could get up to North Queensland to see Wayne & Rosie. Claire already had a few extra days off over the period as a result of the school break, so I took two extra days off in annual leave as well.

We left on our ‘road trip’ at about 7am on Friday morning and after a few tanks of fuel, about twelve and a half hours in the car seat, we arrived in Moranbah. To give you a guide of just how far that is, we drove from the Gold Coast to roughly parallel to Mackay, however about 2 hours West from there.

Which ever way you look at it, it is a very long drive to do in one day and I was so happy when we finally arrived. The first 800km just flew by. However the last 200-250km were just please hurry up and finish already!.

Here now, eating lots, sleeping lots, keeping out of the heat of the day and catching up with close friends; doesn’t get a whole lot better than that.

ASP Error ‘800a000d’

We recently purchased new hardware at work (2x IBM eServers) for the pending rollout of our new software. The new software went live on Monday and as a by product of the change, some of our existing sites in ASP3 also had to be moved around.

Before the move, all the sites were functioning error free on a Windows 2000 Server platform with IIS5. Once moved onto the new servers, which were Windows 2003 Server and IIS6 – some of them started throwing errors in various places. These sites were initially written between 12 and 18 months ago now; so the code was capable of working fine if the initial programmer had taken some care.

The error I received was:

  1. Microsoft VBScript runtime error '800a000d'
  2. Type mismatch
  3. /default.asp, line 518

Line #518 had this to reveal:

  1. If Session("GreatDealID")=52 Then

So the error is clear, Session("GreatDealID") was being stored as a string in the Session. It was compared to a numeric type and failed. The solution would be either of the following lines:

  1. If Session("GreatDealID")="52" Then
  2. If CInt(Session("GreatDealID"))=52 Then

What I find interesting, is that in IIS5, it was more than happy to automatically cast the Session("GreatDealID") from a VBString into a VBInteger, yet IIS6 threw an error. I initially thought it might have had something to do with IIS6 enforcing an Option Explicit for ASP. However if it did that, all of the undefined variables used through the site (I know) would have also thrown errors, yet they didn’t.

I haven’t bothered looking to find out exactly why the error suddenly appeared. For the moment, “the code was poor, it then errored”, will do. Anyone else come across it or know why it changed in IIS6, if that is infact the cause?