The script code cannot be added. The session must be active
before adding the script code.
A method specification has been added to the code
sequence that is being generated. The session must be active before
script code can be added. Attempts to add a code sequence for an inactive sessionEnsure that the session is active when adding a code
sequence to the script.