Can you please try posting the code so that we can see what is really being done.

If it is a connectivity issue you might trying installing the latest DCOM from Microsoft

Maybe also try KIX32.EXE /D yourscript.kix
from a DOS command prompt and see if it gives any more information on the problem.