I found the problem. I was using a non-patched version of ArcMap (v9.0), and when I updated to sp3 it worked fine.

Thanks for the nifty tool!