Really don't do that. There's a MS KB that says you shouldn't use Office components like that on a server (i.e. without an interactive session). Lots of alternatives here: stackoverflow.com/questions/151005/…
–
RupNov 8 '11 at 13:12