When I try to run the script through controller I am getting the following error and not able to proceed further. I am able to run the script successfully from the client in command line.
I have followed all the instructions that was given in the user guide.
02/16/2013 21:10:39:702:INF::0064: CRemoteControl::TSConnect:Starting TSConnect Funtion
02/16/2013 21:10:39:702:INF::0099: CRemoteControl::TSConnect:MSTSC Version: 6.1.7601
02/16/2013 21:10:39:702:INF::0171: CRemoteControl::TSConnect:Calling Connect()
02/16/2013 21:10:39:748:INF::0022:CMsTscAxEventHandler::OnConnecting:Connecting event received
02/16/2013 21:10:42: 42:WRN::0038:CMsTscAxEventHandler::OnDisconnected:Disconnected event received: 260
02/16/2013 21:10:42: 42:ERR::0134:CRUISessionSyncer::WaitForLogon:AutoEvent::MultipleWait returned incorrect index. Index: 0
02/16/2013 21:10:42: 42:ERR::0182: CRemoteControl::TSConnect:Failed in waiting for logon
02/16/2013 21:10:42: 42:ERR::0182: CRemoteControl::TSConnect:hr:8000ffff