Is this on 2005 or 2003? In 2005 the GetObject function is flakey at best.

Edit: I see it is 2005. I may have to update the article for 2005