Can you provide us with the @ERROR number and @SERROR text from Execute ? (if you haven't done so already). Put this at the top of your script so that the entire message is displayed on your console:

$= SetOption("WrapAtEol","On")