What happens when you try it?

Does it connect?

You may notice there are a lot of lines with -
;? "Create Connection object " + @ERROR + ": " + @SERROR Get $x

For example..

Uncomment them and re-run the script.. You should be able to debug it..

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's