have you checked the eventlog (if nt machine)?

what it gives if you insert these three simple lines in your script:
Code:

? @userid ?
@error chr(9) @serror ?
get $

_________________________
!

download KiXnet