I'm running a 32 bit processor so i don't think that's relevant. From what i've read it seems maybe a dll needs to be re-registered but i don't know which one. It's strange how it runs fine as a command line batch job but as an agent job it fails. "Invalid Class String" seems to point to a dll i think?