This message is generated by an attempt to set the value of $RandomState to an invalid value.
The purpose of $RandomState is to allow the restoration of a previous state of the pseudorandom number generator used by Random. This can be done by saving a value of $RandomState and later reassigning that value to $RandomState.
Off[message] switches off the message; On[message] switches it on. For example: Off[$RandomState::rndst].
Examples
Basic Examples(1)
Zero is not a valid value for $RandomState. When this error occurs, the value of $RandomState is left unchanged: