BROKER_NOT_A_WRITEABLE_VARIABLE(-310) Error executing Application Definition line X.

  • 7940429
  • 19-Aug-2009
  • 26-Apr-2012

Environment

Novell SecureLogin

Situation

Custom application definition
BROKER_NOT_A_WRITEABLE_VARIABLE(-310)
Error executing Application Definition line X.

Resolution

This message is typically caused by Invalid Syntax.  Some common errors are as follows:

Example 1: As per the application definition manual, the –DefaultNo switch must appear after the ?Result.

The following syntax is incorrect:

MessageBox “Do you want to start Lotus Notes?” –YesNo –DefaultNo ?Result 
Edit the line as follows:

MessageBox “Do you want to start Lotus Notes?” –YesNo ?Result –DefaultNo

Example 2: A missing "$" from the Password variable ($ denotes a stored variable).

Set $Password ?NewPass