Place error checking in your script in an effort to determine why it is failing.

Add:
? "@error @serror"

after the put and setinfo lines. What is printed?
_________________________
Home page: http://www.kixhelp.com/hb/