on 06-27-2014 5:40 AM
I have a script which terminates on a certain users machine with error 617 : SAP Frontend Server : The virtual key is not enabled.
They have encountered this error after nearly 100 previous iterations without error. The data set is functionally identical to previous iterations.
I run in debug & do not encounter the error, & Google isnt helpful so far.
Any ideas?
Cheers
Daniel
Hi Daniel,
I would try it with a small pause before the special command.
for example:
wscript.sleep 500 '= 0,5 s
Regards,
ScriptMan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Alas, I misrepresented the issue. The reported error was a red herring as the data was not in fact the same as the previous iterations.
It was special & unique & could be detected with
'Error Area = Session.findById("wnd[0]/sbar/").MessageId
'Error Number = Session.findById("wnd[0]/sbar/").MessageNumber
'Error Type = Session.findById("wnd[0]/sbar/").MessageType
to find the error.
I shouldn't have assumed it was a timing issue.
Thanks nonetheless
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.