Ok, here's me being thickheaded.
I want to make sure that you ran that code through a web-server. The code runs fine from the command line -- but it dies going through IIS. If I remove this section, it runs fine. However, on XP, using IIS 5.1, it runs fine.
I'll definitely try using the variants, thank you both for your suggestions!