Hi,

I'm getting an error at the end of a long script that disables a user
account and finally sends out an email about actions taken.

DisableUser.vbs(212, 13) (null): There is no such object on the server.

However, when the same script is run again - it runs successfully with no
errors!

Line 212: objEmail.Textbody = "Date Action Taken " & Date & " | Account
Name:" & objUser.displayName & VbCrlf &

But the objEmail has been created, the box has CDO installed (Exchange Sytem
Admin tools installed), and the script wouldn't get this far if the user
object - objUser - wasn't created and acted upon repeatedly in different
earlier statements in the script.

Any clues on what to look for?

Thanks,
Bharat Suneja